Skip to contentSkip to conversation

arm64: dts: marvell: mcbin: fix PCIe reset property

PATCH In review Jenishkumar Maheshbhai Patel 2 participants 2 messages Nov 12, 2024

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

PATCH 1/1 arm64: dts: marvell: mcbin: fix PCIe reset property

Set reset gpio to active high

Fixes b83e1669adce ("arm64: dts: marvell: mcbin: add support for PCIe")
---
 arch/arm64/boot/dts/marvell/armada-8040-mcbin.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/marvell/armada-8040-mcbin.dtsi +1 -1
index c864df9ec84d..a8c732a47360 100644
@@ -181,7 +181,7 @@ &cp0_pcie0 {
 	pinctrl-0 = <&cp0_pcie_pins>;
 	num-lanes = <4>;
 	num-viewport = <8>;
-	reset-gpios = <&cp0_gpio2 20 GPIO_ACTIVE_LOW>;
+	reset-gpios = <&cp0_gpio2 20 GPIO_ACTIVE_HIGH>;
 	ranges = <0x82000000 0x0 0xc0000000 0x0 0xc0000000 0x0 0x20000000>;
 	phys = <&cp0_comphy0 0>, <&cp0_comphy1 0>,
 	       <&cp0_comphy2 0>, <&cp0_comphy3 0>;
Signature · 1 line
2.25.1
#1 lore raw
Quoted 14 lines · Jenishkumar Maheshbhai Patel

Set reset gpio to active high

Fixes b83e1669adce ("arm64: dts: marvell: mcbin: add support for PCIe")
---
 arch/arm64/boot/dts/marvell/armada-8040-mcbin.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/marvell/armada-8040-mcbin.dtsi +0 -0
index c864df9ec84d..a8c732a47360 100644

arch/arm64/boot/dts/marvell/armada-8040-mcbin.dtsi &cp0_pcie0 { · line 184

Quoted 5 lines
arch/arm64/boot/dts/marvell/armada-8040-mcbin.dtsi +1 -1
@@ -181,7 +181,7 @@ &cp0_pcie0 {
 	pinctrl-0 = <&cp0_pcie_pins>;
 	num-lanes = <4>;
 	num-viewport = <8>;
-	reset-gpios = <&cp0_gpio2 20 GPIO_ACTIVE_LOW>;
+	reset-gpios = <&cp0_gpio2 20 GPIO_ACTIVE_HIGH>;

Is this change due to switching the driver to use the reset controller? If so, NAK to all the changes - DT files are meant to be forwards compatible (older DT are supposed to work with newer kernels) and it would seem this would break that rule.

Signature · 2 lines
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!