Helmut Grohne edecfa98f6 net: dsa: microchip: look for phy-mode in port nodes
Documentation/devicetree/bindings/net/dsa/dsa.txt says that the phy-mode
property should be specified on port nodes. However, the microchip
drivers read it from the switch node.

Let the driver use the per-port property and fall back to the old
location with a warning.

Fix in-tree users.

Signed-off-by: Helmut Grohne <helmut.grohne@intenta.de>
Link: https://lore.kernel.org/netdev/20200617082235.GA1523@laureti-dev/
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-09-10 12:32:37 -07:00
..
2020-08-14 14:26:08 -07:00
2020-08-07 13:00:53 -07:00
2020-08-07 13:00:53 -07:00
2020-05-15 23:04:40 +02:00
2020-05-15 23:04:40 +02:00
2020-07-21 16:33:35 +01:00
2020-08-06 10:17:00 -07:00
2020-08-06 10:17:00 -07:00