[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZGuDJos8D7N0J6Z2@francesco-nb.int.toradex.com>
Date: Mon, 22 May 2023 16:58:46 +0200
From: Francesco Dolcini <francesco@...cini.it>
To: Andrew Lunn <andrew@...n.ch>, Praneeth Bajjuri <praneeth@...com>,
Geet Modi <geet.modi@...com>,
"David S. Miller" <davem@...emloft.net>
Cc: Heiner Kallweit <hkallweit1@...il.com>,
Russell King <linux@...linux.org.uk>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
Grygorii Strashko <grygorii.strashko@...com>,
Dan Murphy <dmurphy@...com>
Subject: DP83867 ethernet PHY regression
Hello all,
commit da9ef50f545f ("net: phy: dp83867: perform soft reset and retain
established link") introduces a regression on my TI AM62 based board.
I have a working DTS with Linux TI 5.10 downstream kernel branch, while
testing the DTS with v6.4-rc in preparation of sending it to the mailing
list I noticed that ethernet is working only on a cold poweron.
With da9ef50f545f reverted it always works.
Here the DTS snippet for reference:
&cpsw_port1 {
phy-handle = <&cpsw3g_phy0>;
phy-mode = "rgmii-rxid";
};
&cpsw3g_mdio {
assigned-clocks = <&k3_clks 157 20>;
assigned-clock-parents = <&k3_clks 157 22>;
assigned-clock-rates = <25000000>;
cpsw3g_phy0: ethernet-phy@0 {
compatible = "ethernet-phy-id2000.a231";
reg = <0>;
interrupt-parent = <&main_gpio0>;
interrupts = <25 IRQ_TYPE_EDGE_FALLING>;
reset-gpios = <&main_gpio0 17 GPIO_ACTIVE_LOW>;
reset-assert-us = <10>;
reset-deassert-us = <1000>;
ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
};
};
Any suggestion?
Francesco
Powered by blists - more mailing lists