[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <408851bb-5245-7a10-3335-c475d4d1ca0f@prevas.dk>
Date: Thu, 18 Aug 2022 13:03:13 +0200
From: Rasmus Villemoes <rasmus.villemoes@...vas.dk>
To: Network Development <netdev@...r.kernel.org>
Cc: Arun Ramadoss <arun.ramadoss@...rochip.com>,
Vladimir Oltean <olteanv@...il.com>,
Florian Fainelli <f.fainelli@...il.com>,
"David S. Miller" <davem@...emloft.net>
Subject: commit 65ac79e181 breaks our ksz9567
We have a board in development which includes a ksz9567 switch, whose
cpu port is connected to a lan7801 usb chip. This works fine up until
5.18, but is broken in 5.19. The kernel log contains
ksz9477-switch 4-005f lan1 (uninitialized): validation of gmii with
support 00000000,00000000,000062ff and advertisement
00000000,00000000,000062ff failed: -EINVAL
ksz9477-switch 4-005f lan1 (uninitialized): failed to connect to PHY:
-EINVAL
ksz9477-switch 4-005f lan1 (uninitialized): error -22 setting up PHY
for tree 0, switch 0, port 0
and similar lines for the other four ports.
Bisecting points at
commit 65ac79e1812016d7c5760872736802f985ec7455
Author: Arun Ramadoss <arun.ramadoss@...rochip.com>
Date: Tue May 17 15:13:32 2022 +0530
net: dsa: microchip: add the phylink get_caps
Our DT is, I think, pretty standard, and as I said works fine with 5.18:
ksz9567: switch@5f {
compatible = "microchip,ksz9567";
reg = <0x5f>;
status = "okay";
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
label = "lan1";
};
....
port@6 {
reg = <6>;
label = "cpu";
ethernet = <ðernet3>;
fixed-link {
speed = <1000>;
full-duplex;
};
};
};
...
ethernet3: ethernet@2 {
compatible = "usb424,7801";
reg = <2>;
phy-mode = "rgmii-id";
mdio {
compatible = "lan78xx-mdiobus";
#address-cells = <1>;
#size-cells = <0>;
};
fixed-link {
speed = <1000>;
full-duplex;
};
};
Any clues?
Thanks,
Rasmus
Powered by blists - more mailing lists