All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: dts: imx7d-mba7: Remove unsupported property
@ 2021-03-02 14:53 Fabio Estevam
  2021-03-02 14:53 ` [PATCH 2/2] ARM: dts: imx6qdl-emcon: " Fabio Estevam
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Fabio Estevam @ 2021-03-02 14:53 UTC (permalink / raw)
  To: shawnguo
  Cc: robh+dt, matthias.schiffer, bruno.thomsen, jan.tuerk,
	linux-arm-kernel, Fabio Estevam

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

Remove the unsupported property.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
 arch/arm/boot/dts/imx7d-mba7.dts | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm/boot/dts/imx7d-mba7.dts b/arch/arm/boot/dts/imx7d-mba7.dts
index 5ef86de53013..ebdf9b8efeb3 100644
--- a/arch/arm/boot/dts/imx7d-mba7.dts
+++ b/arch/arm/boot/dts/imx7d-mba7.dts
@@ -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";
 };
-- 
2.25.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* [PATCH 2/2] ARM: dts: imx6qdl-emcon: Remove unsupported property
  2021-03-02 14:53 [PATCH 1/2] ARM: dts: imx7d-mba7: Remove unsupported property Fabio Estevam
@ 2021-03-02 14:53 ` Fabio Estevam
  2021-03-02 19:55 ` [PATCH 1/2] ARM: dts: imx7d-mba7: " Bruno Thomsen
  2021-03-03  9:38 ` Matthias Schiffer
  2 siblings, 0 replies; 5+ messages in thread
From: Fabio Estevam @ 2021-03-02 14:53 UTC (permalink / raw)
  To: shawnguo
  Cc: robh+dt, matthias.schiffer, bruno.thomsen, jan.tuerk,
	linux-arm-kernel, Fabio Estevam

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

Remove the unsupported property.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
 arch/arm/boot/dts/imx6qdl-emcon.dtsi | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm/boot/dts/imx6qdl-emcon.dtsi b/arch/arm/boot/dts/imx6qdl-emcon.dtsi
index 7228b894a763..1c903257ed32 100644
--- a/arch/arm/boot/dts/imx6qdl-emcon.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-emcon.dtsi
@@ -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 {
-- 
2.25.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH 1/2] ARM: dts: imx7d-mba7: Remove unsupported property
  2021-03-02 14:53 [PATCH 1/2] ARM: dts: imx7d-mba7: Remove unsupported property Fabio Estevam
  2021-03-02 14:53 ` [PATCH 2/2] ARM: dts: imx6qdl-emcon: " Fabio Estevam
@ 2021-03-02 19:55 ` Bruno Thomsen
  2021-03-03  9:38 ` Matthias Schiffer
  2 siblings, 0 replies; 5+ messages in thread
From: Bruno Thomsen @ 2021-03-02 19:55 UTC (permalink / raw)
  To: Fabio Estevam
  Cc: Shawn Guo, Rob Herring, matthias.schiffer, jan.tuerk,
	moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE

Den tir. 2. mar. 2021 kl. 15.54 skrev Fabio Estevam <festevam@gmail.com>:
>
> 'disable-gpio' is not a valid property according to
> Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt.
>
> Remove the unsupported property.
>
> Signed-off-by: Fabio Estevam <festevam@gmail.com>

Reviewed-by: Bruno Thomsen <bruno.thomsen@gmail.com>

> ---
>  arch/arm/boot/dts/imx7d-mba7.dts | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/imx7d-mba7.dts b/arch/arm/boot/dts/imx7d-mba7.dts
> index 5ef86de53013..ebdf9b8efeb3 100644
> --- a/arch/arm/boot/dts/imx7d-mba7.dts
> +++ b/arch/arm/boot/dts/imx7d-mba7.dts
> @@ -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";
>  };
> --
> 2.25.1
>

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH 1/2] ARM: dts: imx7d-mba7: Remove unsupported property
  2021-03-02 14:53 [PATCH 1/2] ARM: dts: imx7d-mba7: Remove unsupported property Fabio Estevam
  2021-03-02 14:53 ` [PATCH 2/2] ARM: dts: imx6qdl-emcon: " Fabio Estevam
  2021-03-02 19:55 ` [PATCH 1/2] ARM: dts: imx7d-mba7: " Bruno Thomsen
@ 2021-03-03  9:38 ` Matthias Schiffer
  2021-03-08  1:11   ` Shawn Guo
  2 siblings, 1 reply; 5+ messages in thread
From: Matthias Schiffer @ 2021-03-03  9:38 UTC (permalink / raw)
  To: Fabio Estevam, shawnguo
  Cc: robh+dt, bruno.thomsen, jan.tuerk, linux-arm-kernel, Markus Niebel

On Tue, 2021-03-02 at 11:53 -0300, Fabio Estevam wrote:
> 'disable-gpio' is not a valid property according to
> Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt.
> 
> Remove the unsupported property.
> 
> Signed-off-by: Fabio Estevam <festevam@gmail.com>

Reviewed-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>


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.


> ---
>  arch/arm/boot/dts/imx7d-mba7.dts | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/arch/arm/boot/dts/imx7d-mba7.dts b/arch/arm/boot/dts/imx7d-mba7.dts
> index 5ef86de53013..ebdf9b8efeb3 100644
> --- a/arch/arm/boot/dts/imx7d-mba7.dts
> +++ b/arch/arm/boot/dts/imx7d-mba7.dts
> @@ -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
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH 1/2] ARM: dts: imx7d-mba7: Remove unsupported property
  2021-03-03  9:38 ` Matthias Schiffer
@ 2021-03-08  1:11   ` Shawn Guo
  0 siblings, 0 replies; 5+ messages in thread
From: Shawn Guo @ 2021-03-08  1:11 UTC (permalink / raw)
  To: Matthias Schiffer
  Cc: Fabio Estevam, robh+dt, bruno.thomsen, jan.tuerk,
	linux-arm-kernel, Markus Niebel

On Wed, Mar 03, 2021 at 10:38:08AM +0100, Matthias Schiffer wrote:
> On Tue, 2021-03-02 at 11:53 -0300, Fabio Estevam wrote:
> > 'disable-gpio' is not a valid property according to
> > Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt.
> > 
> > Remove the unsupported property.
> > 
> > Signed-off-by: Fabio Estevam <festevam@gmail.com>
> 
> Reviewed-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
> 
> 
> 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
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2021-03-08  1:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-02 14:53 [PATCH 1/2] ARM: dts: imx7d-mba7: Remove unsupported property Fabio Estevam
2021-03-02 14:53 ` [PATCH 2/2] ARM: dts: imx6qdl-emcon: " Fabio Estevam
2021-03-02 19:55 ` [PATCH 1/2] ARM: dts: imx7d-mba7: " Bruno Thomsen
2021-03-03  9:38 ` Matthias Schiffer
2021-03-08  1:11   ` Shawn Guo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.