net: dsa: Allow DSA and CPU ports to have a phy-mode property
authorAndrew Lunn <andrew@lunn.ch>
Mon, 31 Aug 2015 13:56:50 +0000 (15:56 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 31 Aug 2015 21:48:02 +0000 (14:48 -0700)
commite44853466844c20d8b5b16de187f63ddc50710dd
tree1266f92e283bb7d5300504cc3f764c2cb8d06e89
parent39b0c705195e9409dc8a40cc82b11d81405a4a4b
net: dsa: Allow DSA and CPU ports to have a phy-mode property

It can be useful for DSA and CPU ports to have a phy-mode property, in
particular to specify RGMII delays. Parse the property and set it in
the fixed-link phydev.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/dsa.c