Re: [RESEND PATCH] net: dsa: microchip: look for phy-mode in port nodes

2020-08-24 Thread David Miller
From: Helmut Grohne Date: Thu, 20 Aug 2020 08:03:33 +0200 > diff --git a/drivers/net/dsa/microchip/ksz_common.c > b/drivers/net/dsa/microchip/ksz_common.c > index 8d53b12d40a8..d96b7ab6bb15 100644 > --- a/drivers/net/dsa/microchip/ksz_common.c > +++ b/drivers/net/dsa/microchip/ksz_common.c > @@

[RESEND PATCH] net: dsa: microchip: look for phy-mode in port nodes

2020-08-19 Thread Helmut Grohne
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-o