Skip to contentSkip to conversation

Revert "dts: phy: add GPIO number and active state used for phy reset"

PATCH In review Palmer Dabbelt 2 participants 3 messages Feb 5, 2021 – Feb 13, 2021

Subsystems (5)
lore
Share & tools
lore

Palmer Dabbelt

author maintainer
#0 lore raw

PATCH 1/1 Revert "dts: phy: add GPIO number and active state used for phy reset"

From: Palmer Dabbelt <[email protected]>

VSC8541 phys need a special reset sequence, which the driver doesn't currentlny support. As a result enabling the reset via GPIO essentially guarnteees that the device won't work correctly.

This reverts commit a0fa9d727043da2238432471e85de0bdb8a8df65.

Fixes a0fa9d727043 ("dts: phy: add GPIO number and active state used for phy reset")
---
 arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts | 1 -
 1 file changed, 1 deletion(-)
arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts +0 -1
index 24d75a146e02..60846e88ae4b 100644
@@ -90,7 +90,6 @@ &eth0 {
 	phy0: ethernet-phy@0 {
 		compatible = "ethernet-phy-id0007.0771";
 		reg = <0>;
-		reset-gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
 	};
 };
 
Signature · 7 lines
2.30.0.478.g8a0d178c01-goog


_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
#1 lore raw
Quoted 11 lines · Palmer Dabbelt

From: Palmer Dabbelt <[email protected]>

VSC8541 phys need a special reset sequence, which the driver doesn't currentlny support. As a result enabling the reset via GPIO essentially guarnteees that the device won't work correctly.

This reverts commit a0fa9d727043da2238432471e85de0bdb8a8df65.

Fixes a0fa9d727043 ("dts: phy: add GPIO number and active state used for phy reset")

This fixes ethernet on the HiFive Unleashed with 5.10.12.

Andreas.

Signature · 8 lines
Andreas Schwab, [email protected]
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."

_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
author maintainer
#2 lore raw
Quoted 8 lines · On Wed, 10 Feb 2021 04:47:34 PST (-0800), [email protected] wrote:
Quoted 6 lines · Palmer Dabbelt

From: Palmer Dabbelt <[email protected]>

VSC8541 phys need a special reset sequence, which the driver doesn't currentlny support. As a result enabling the reset via GPIO essentially guarnteees that the device won't work correctly.

Quoted 7 lines
Quoted 5 lines

This reverts commit a0fa9d727043da2238432471e85de0bdb8a8df65.

Fixes a0fa9d727043 ("dts: phy: add GPIO number and active state used for phy reset")

This fixes ethernet on the HiFive Unleashed with 5.10.12.

Thanks for testing. Looks like I forgot to reply, but it's in Linus' tree and should end up in stable.

_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv