-
- Downloads
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>
Showing
- arch/arm/boot/dts/at91-sama5d2_icp.dts 1 addition, 1 deletionarch/arm/boot/dts/at91-sama5d2_icp.dts
- drivers/net/dsa/microchip/ksz8795.c 13 additions, 5 deletionsdrivers/net/dsa/microchip/ksz8795.c
- drivers/net/dsa/microchip/ksz9477.c 19 additions, 10 deletionsdrivers/net/dsa/microchip/ksz9477.c
- drivers/net/dsa/microchip/ksz_common.c 12 additions, 1 deletiondrivers/net/dsa/microchip/ksz_common.c
- drivers/net/dsa/microchip/ksz_common.h 2 additions, 1 deletiondrivers/net/dsa/microchip/ksz_common.h
Loading
Please register or sign in to comment