Skip to contentSkip to conversation

riscv: dts: spacemit: drop incorrect pinctrl for combo PHY

PATCH Applied Aurelien Jarno 2 participants 3 messages Mar 22 – Mar 24

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 riscv: dts: spacemit: drop incorrect pinctrl for combo PHY

The combo PHY on the Banana Pi F3 is used for the USB 3.0 port. The high speed differential lanes are always configured as such, and do not require a pinctrl entry.

The existing pinctrl entry only configures PCIe secondary pins, which are unused for USB and instead routed to the MIPI CSI1 connector.

Remove this incorrect pinctrl entry.

Fixes 0be016a4b5d1b9 ("riscv: dts: spacemit: PCIe and PHY-related updates")
---
 arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts | 2 --
 1 file changed, 2 deletions(-)
arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts +0 -2
index 404b69c47b91f..5790d927b93db 100644
@@ -81,8 +81,6 @@ usb3_hub_5v: regulator-usb3-hub-5v {
 };
 
 &combo_phy {
-	pinctrl-names = "default";
-	pinctrl-0 = <&pcie0_3_cfg>;
 	status = "okay";
 };
 
Signature · 1 line
2.51.0
maintainer Reviewed-by on v1 1/1
#1 lore raw

Hi Aurelien,

Quoted 11 lines · Aurelien Jarno

The combo PHY on the Banana Pi F3 is used for the USB 3.0 port. The high speed differential lanes are always configured as such, and do not require a pinctrl entry.

The existing pinctrl entry only configures PCIe secondary pins, which are unused for USB and instead routed to the MIPI CSI1 connector.

Remove this incorrect pinctrl entry.

Fixes 0be016a4b5d1b9 ("riscv: dts: spacemit: PCIe and PHY-related updates")

Thanks for doing this, I thought Chukun was planing to submit a fix, CC him

Quoted 20 lines
---
 arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts | 2 --
 1 file changed, 2 deletions(-)
arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts +0 -2
index 404b69c47b91f..5790d927b93db 100644
@@ -81,8 +81,6 @@ usb3_hub_5v: regulator-usb3-hub-5v {
 };
 
 &combo_phy {
-	pinctrl-names = "default";
-	pinctrl-0 = <&pcie0_3_cfg>;
 	status = "okay";
 };
 
Signature · 1 line
2.51.0
Signature · 1 line
Yixun Lan (dlan)
maintainer Applied
#2 lore raw
In reply to Aurelien Jarno
Quoted 8 lines · Aurelien Jarno

The combo PHY on the Banana Pi F3 is used for the USB 3.0 port. The high speed differential lanes are always configured as such, and do not require a pinctrl entry.

The existing pinctrl entry only configures PCIe secondary pins, which are unused for USB and instead routed to the MIPI CSI1 connector.

[...]

Applied, thanks!

[1/1] riscv: dts: spacemit: drop incorrect pinctrl for combo PHY

      https://github.com/spacemit-com/linux/commit/c68360c0d636dae71f766b7b296ddfcf2827ccc7

Best regards,

Signature · 1 line
Yixun Lan <[email protected]>