linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* DP83867 ethernet PHY regression
@ 2023-05-22 14:58 Francesco Dolcini
  2023-05-22 15:15 ` Andrew Lunn
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Francesco Dolcini @ 2023-05-22 14:58 UTC (permalink / raw)
  To: Andrew Lunn, Praneeth Bajjuri, Geet Modi, David S. Miller
  Cc: Heiner Kallweit, Russell King, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, netdev, linux-kernel, Grygorii Strashko, Dan Murphy

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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2023-06-15 20:46 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-22 14:58 DP83867 ethernet PHY regression Francesco Dolcini
2023-05-22 15:15 ` Andrew Lunn
2023-05-22 15:35   ` Francesco Dolcini
2023-05-22 16:15     ` Andrew Lunn
2023-05-25  8:18       ` Alexander Stein
2023-05-24 12:13 ` Andrew Lunn
2023-05-24 12:51 ` Bagas Sanjaya
2023-05-25  6:31   ` Johannes Pointner
2023-05-25  7:33     ` Francesco Dolcini
2023-05-25  8:18       ` Bajjuri, Praneeth
2023-06-15 20:46         ` Francesco Dolcini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).