Skip to contentSkip to conversation

ARM: dts: imx7d-mba7: Remove unsupported property

PATCH Superseded Fabio Estevam 4 participants 5 messages Mar 3, 2021 – Mar 8, 2021

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/2 ARM: dts: imx7d-mba7: Remove unsupported property

'disable-gpio' is not a valid property according to Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt.

Remove the unsupported property.

---
 arch/arm/boot/dts/imx7d-mba7.dts | 1 -
 1 file changed, 1 deletion(-)
arch/arm/boot/dts/imx7d-mba7.dts +0 -1
index 5ef86de53013..ebdf9b8efeb3 100644
@@ -99,7 +99,6 @@ &pcie {
 	/* probe deferral not supported */
 	/* pcie-bus-supply = <&reg_mpcie_1v5>; */
 	reset-gpio = <&gpio5 12 GPIO_ACTIVE_LOW>;
-	disable-gpio = <&gpio2 29 GPIO_ACTIVE_LOW>;
 	power-on-gpio = <&gpio2 30 GPIO_ACTIVE_LOW>;
 	status = "okay";
 };
Signature · 7 lines
2.25.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
author reviewer
#1 lore raw

PATCH 2/2 ARM: dts: imx6qdl-emcon: Remove unsupported property

'disable-gpio' is not a valid property according to Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt.

Remove the unsupported property.

---
 arch/arm/boot/dts/imx6qdl-emcon.dtsi | 1 -
 1 file changed, 1 deletion(-)
arch/arm/boot/dts/imx6qdl-emcon.dtsi +0 -1
index 7228b894a763..1c903257ed32 100644
@@ -733,7 +733,6 @@ &pcie {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_pcie_ctrl>;
 	reset-gpio = <&gpio7 12 GPIO_ACTIVE_LOW>;
-	disable-gpio = <&gpio2 22 GPIO_ACTIVE_LOW>;
 };
 
 &pwm1 {
Signature · 7 lines
2.25.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Reviewed-by on v1 1/2
#2 lore raw
In reply to Fabio Estevam

Den tir. 2. mar. 2021 kl. 15.54 skrev Fabio Estevam <[email protected]>:

Quoted 7 lines

'disable-gpio' is not a valid property according to Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt.

Remove the unsupported property.

Quoted 17 lines
---
 arch/arm/boot/dts/imx7d-mba7.dts | 1 -
 1 file changed, 1 deletion(-)
arch/arm/boot/dts/imx7d-mba7.dts +0 -2
index 5ef86de53013..ebdf9b8efeb3 100644
@@ -99,7 +99,6 @@ &pcie {
        /* probe deferral not supported */
        /* pcie-bus-supply = <&reg_mpcie_1v5>; */
        reset-gpio = <&gpio5 12 GPIO_ACTIVE_LOW>;
-       disable-gpio = <&gpio2 29 GPIO_ACTIVE_LOW>;
        power-on-gpio = <&gpio2 30 GPIO_ACTIVE_LOW>;
        status = "okay";
 };
--
Quoted 2 lines

2.25.1

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

Reviewed-by on v1 1/2
#3 lore raw
In reply to Fabio Estevam
Quoted 6 lines · Fabio Estevam

'disable-gpio' is not a valid property according to Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt.

Remove the unsupported property.

This is a remnant of linux-imx, which supports the property. On the MBa7x (and likely other boards in linux-imx that use this), the GPIO is connected to mPCIe pin 20 (wireless_disable#). Is there an intended way to control this pin, or should it just be left unconfigured or hogged?

power-on-gpio seems to be obsolete too, I can't even find it in current linux-imx, except for one other i.MX7D-based DTS. I can send a patch to remove that as well, but it might take a while until I get to it.

Quoted 9 lines
---
 arch/arm/boot/dts/imx7d-mba7.dts | 1 -
 1 file changed, 1 deletion(-)
arch/arm/boot/dts/imx7d-mba7.dts +0 -0
index 5ef86de53013..ebdf9b8efeb3 100644

arch/arm/boot/dts/imx7d-mba7.dts &pcie { · line 104

Quoted 7 lines
arch/arm/boot/dts/imx7d-mba7.dts +0 -1
@@ -99,7 +99,6 @@ &pcie {
 	/* probe deferral not supported */
 	/* pcie-bus-supply = <&reg_mpcie_1v5>; */
 	reset-gpio = <&gpio5 12 GPIO_ACTIVE_LOW>;
-	disable-gpio = <&gpio2 29 GPIO_ACTIVE_LOW>;
 	power-on-gpio = <&gpio2 30 GPIO_ACTIVE_LOW>;
 	status = "okay";
 };

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

#4 lore raw
Quoted 11 lines · Matthias Schiffer
Quoted 6 lines · Fabio Estevam

'disable-gpio' is not a valid property according to Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt.

Remove the unsupported property.

Quoted 8 lines

This is a remnant of linux-imx, which supports the property. On the MBa7x (and likely other boards in linux-imx that use this), the GPIO is connected to mPCIe pin 20 (wireless_disable#). Is there an intended way to control this pin, or should it just be left unconfigured or hogged?

power-on-gpio seems to be obsolete too, I can't even find it in current linux-imx, except for one other i.MX7D-based DTS. I can send a patch to remove that as well, but it might take a while until I get to it.

Fabio,

While we are at it, could you resend to include 'power-on-gpio' cleanup as well?

Shawn

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