Netdev List
 help / color / mirror / Atom feed
* [PATCH 0/3] Some improve for STM32MP2X
@ 2026-08-10 13:10 Christophe Roullier
  2026-08-10 13:10 ` [PATCH 1/3] arm64: dts: st: add 3v3 regulator to ethernet on stm32mp235f-dk Christophe Roullier
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Christophe Roullier @ 2026-08-10 13:10 UTC (permalink / raw)
  To: Andrew Lunn, David S . Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, Maxime Coquelin, Alexandre Torgue, Russell King,
	linusw, antonio.borneo, Maxime Chevallier, Vladimir Oltean,
	Christophe Roullier
  Cc: netdev, linux-stm32, linux-arm-kernel, linux-kernel

Add PHY Regu for MP23/MP25-DK
Increase deassert value for PHY Reset for MP25-EV1
Remove commit "net: stmmac: manage error case during stmmac_dvr_probe" 
from my series to push in net-next networking tree

Christophe Roullier (3):
  arm64: dts: st: add 3v3 regulator to ethernet on stm32mp235f-dk
  arm64: dts: st: add 3v3 regulator to ethernet on stm32mp257f-dk
  arm64: dts: st: increase deassert of PHY reset in stm32mp257f-ev1

 arch/arm64/boot/dts/st/stm32mp235f-dk.dts  | 1 +
 arch/arm64/boot/dts/st/stm32mp257f-dk.dts  | 1 +
 arch/arm64/boot/dts/st/stm32mp257f-ev1.dts | 2 +-
 3 files changed, 3 insertions(+), 1 deletion(-)

-- 
2.43.0


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

* [PATCH 1/3] arm64: dts: st: add 3v3 regulator to ethernet on stm32mp235f-dk
  2026-08-10 13:10 [PATCH 0/3] Some improve for STM32MP2X Christophe Roullier
@ 2026-08-10 13:10 ` Christophe Roullier
  2026-08-10 13:10 ` [PATCH 2/3] arm64: dts: st: add 3v3 regulator to ethernet on stm32mp257f-dk Christophe Roullier
  2026-08-10 13:10 ` [PATCH 3/3] arm64: dts: st: increase deassert of PHY reset in stm32mp257f-ev1 Christophe Roullier
  2 siblings, 0 replies; 4+ messages in thread
From: Christophe Roullier @ 2026-08-10 13:10 UTC (permalink / raw)
  To: Andrew Lunn, David S . Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, Maxime Coquelin, Alexandre Torgue, Russell King,
	linusw, antonio.borneo, Maxime Chevallier, Vladimir Oltean,
	Christophe Roullier
  Cc: netdev, linux-stm32, linux-arm-kernel, linux-kernel

The Ethernet PHY is supplied by 3v3 PMIC regulator, add it to Ethernet
node.

Signed-off-by: Christophe Roullier <christophe.roullier@foss.st.com>
---
 arch/arm64/boot/dts/st/stm32mp235f-dk.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/st/stm32mp235f-dk.dts b/arch/arm64/boot/dts/st/stm32mp235f-dk.dts
index dd4efbe5a46e..fb49cd2da2c6 100644
--- a/arch/arm64/boot/dts/st/stm32mp235f-dk.dts
+++ b/arch/arm64/boot/dts/st/stm32mp235f-dk.dts
@@ -137,6 +137,7 @@ &ethernet1 {
 	pinctrl-names = "default", "sleep";
 	phy-handle = <&phy1_eth1>;
 	phy-mode = "rgmii-id";
+	phy-supply = <&scmi_v3v3>;
 	status = "okay";
 
 	mdio {
-- 
2.43.0


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

* [PATCH 2/3] arm64: dts: st: add 3v3 regulator to ethernet on stm32mp257f-dk
  2026-08-10 13:10 [PATCH 0/3] Some improve for STM32MP2X Christophe Roullier
  2026-08-10 13:10 ` [PATCH 1/3] arm64: dts: st: add 3v3 regulator to ethernet on stm32mp235f-dk Christophe Roullier
@ 2026-08-10 13:10 ` Christophe Roullier
  2026-08-10 13:10 ` [PATCH 3/3] arm64: dts: st: increase deassert of PHY reset in stm32mp257f-ev1 Christophe Roullier
  2 siblings, 0 replies; 4+ messages in thread
From: Christophe Roullier @ 2026-08-10 13:10 UTC (permalink / raw)
  To: Andrew Lunn, David S . Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, Maxime Coquelin, Alexandre Torgue, Russell King,
	linusw, antonio.borneo, Maxime Chevallier, Vladimir Oltean,
	Christophe Roullier
  Cc: netdev, linux-stm32, linux-arm-kernel, linux-kernel

The Ethernet PHY is supplied by 3v3 PMIC regulator, add it to Ethernet
node.

Signed-off-by: Christophe Roullier <christophe.roullier@foss.st.com>
---
 arch/arm64/boot/dts/st/stm32mp257f-dk.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/st/stm32mp257f-dk.dts b/arch/arm64/boot/dts/st/stm32mp257f-dk.dts
index 8daf3dfd5133..e98a773448ee 100644
--- a/arch/arm64/boot/dts/st/stm32mp257f-dk.dts
+++ b/arch/arm64/boot/dts/st/stm32mp257f-dk.dts
@@ -144,6 +144,7 @@ &ethernet1 {
 	pinctrl-names = "default", "sleep";
 	phy-handle = <&phy1_eth1>;
 	phy-mode = "rgmii-id";
+	phy-supply = <&scmi_v3v3>;
 	status = "okay";
 
 	mdio {
-- 
2.43.0


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

* [PATCH 3/3] arm64: dts: st: increase deassert of PHY reset in stm32mp257f-ev1
  2026-08-10 13:10 [PATCH 0/3] Some improve for STM32MP2X Christophe Roullier
  2026-08-10 13:10 ` [PATCH 1/3] arm64: dts: st: add 3v3 regulator to ethernet on stm32mp235f-dk Christophe Roullier
  2026-08-10 13:10 ` [PATCH 2/3] arm64: dts: st: add 3v3 regulator to ethernet on stm32mp257f-dk Christophe Roullier
@ 2026-08-10 13:10 ` Christophe Roullier
  2 siblings, 0 replies; 4+ messages in thread
From: Christophe Roullier @ 2026-08-10 13:10 UTC (permalink / raw)
  To: Andrew Lunn, David S . Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, Maxime Coquelin, Alexandre Torgue, Russell King,
	linusw, antonio.borneo, Maxime Chevallier, Vladimir Oltean,
	Christophe Roullier
  Cc: netdev, linux-stm32, linux-arm-kernel, linux-kernel

The RTL8211F has a PHYRSTB pin to reset the chip.
For a complete PHY reset, this pin must be asserted low for
at least 10ms for the internal regulator.
Wait for at least 80ms (for internal circuits setting time) before
accessing the PHY register.
All registers will return to default values after a hardware reset

Signed-off-by: Christophe Roullier <christophe.roullier@foss.st.com>
---
 arch/arm64/boot/dts/st/stm32mp257f-ev1.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts b/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts
index b5db62a0a550..0c7c29f4b71e 100644
--- a/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts
+++ b/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts
@@ -247,7 +247,7 @@ phy0_eth2: ethernet-phy@1 {
 			compatible = "ethernet-phy-id001c.c916";
 			reg = <1>;
 			reset-assert-us = <10000>;
-			reset-deassert-us = <300>;
+			reset-deassert-us = <80000>;
 			reset-gpios = <&gpiog 6 GPIO_ACTIVE_LOW>;
 		};
 	};
-- 
2.43.0


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

end of thread, other threads:[~2026-08-10 13:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-10 13:10 [PATCH 0/3] Some improve for STM32MP2X Christophe Roullier
2026-08-10 13:10 ` [PATCH 1/3] arm64: dts: st: add 3v3 regulator to ethernet on stm32mp235f-dk Christophe Roullier
2026-08-10 13:10 ` [PATCH 2/3] arm64: dts: st: add 3v3 regulator to ethernet on stm32mp257f-dk Christophe Roullier
2026-08-10 13:10 ` [PATCH 3/3] arm64: dts: st: increase deassert of PHY reset in stm32mp257f-ev1 Christophe Roullier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox