* [PATCH 1/2] ARM: dts: mx53: Remove 'enable-active-low' property
@ 2014-02-05 13:10 Fabio Estevam
2014-02-05 13:10 ` [PATCH 2/2] ARM: dts: imx28-tx28: " Fabio Estevam
2014-02-10 3:21 ` [PATCH 1/2] ARM: dts: mx53: " Shawn Guo
0 siblings, 2 replies; 3+ messages in thread
From: Fabio Estevam @ 2014-02-05 13:10 UTC (permalink / raw)
To: linux-arm-kernel
'enable-active-low' is not a valid property for a GPIO controlled regulator.
According to Documentation/devicetree/bindings/regulator/gpio-regulator.txt:
"Optional properties:
...
- enable-active-high : Polarity of GPIO is active high (default is low)."
,so the correct way to define an active-low GPIO controlled regulator is to
simply not pass 'enable-active-high'.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
arch/arm/boot/dts/imx53-m53evk.dts | 1 -
arch/arm/boot/dts/imx53-mba53.dts | 1 -
arch/arm/boot/dts/imx53-tx53.dtsi | 1 -
3 files changed, 3 deletions(-)
diff --git a/arch/arm/boot/dts/imx53-m53evk.dts b/arch/arm/boot/dts/imx53-m53evk.dts
index 7100d08..e8d11e2 100644
--- a/arch/arm/boot/dts/imx53-m53evk.dts
+++ b/arch/arm/boot/dts/imx53-m53evk.dts
@@ -103,7 +103,6 @@
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&gpio1 2 0>;
- enable-active-low;
};
};
diff --git a/arch/arm/boot/dts/imx53-mba53.dts b/arch/arm/boot/dts/imx53-mba53.dts
index 0358366..55af110 100644
--- a/arch/arm/boot/dts/imx53-mba53.dts
+++ b/arch/arm/boot/dts/imx53-mba53.dts
@@ -46,7 +46,6 @@
regulator-name = "lcd-supply";
gpio = <&gpio2 5 0>;
startup-delay-us = <5000>;
- enable-active-low;
};
reg_3p2v: regulator at 1 {
diff --git a/arch/arm/boot/dts/imx53-tx53.dtsi b/arch/arm/boot/dts/imx53-tx53.dtsi
index a44403a..e348796 100644
--- a/arch/arm/boot/dts/imx53-tx53.dtsi
+++ b/arch/arm/boot/dts/imx53-tx53.dtsi
@@ -96,7 +96,6 @@
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_can_xcvr>;
gpio = <&gpio4 21 GPIO_ACTIVE_HIGH>;
- enable-active-low;
};
reg_usbh1_vbus: regulator at 3 {
--
1.8.1.2
^ permalink raw reply related [flat|nested] 3+ messages in thread* [PATCH 2/2] ARM: dts: imx28-tx28: Remove 'enable-active-low' property
2014-02-05 13:10 [PATCH 1/2] ARM: dts: mx53: Remove 'enable-active-low' property Fabio Estevam
@ 2014-02-05 13:10 ` Fabio Estevam
2014-02-10 3:21 ` [PATCH 1/2] ARM: dts: mx53: " Shawn Guo
1 sibling, 0 replies; 3+ messages in thread
From: Fabio Estevam @ 2014-02-05 13:10 UTC (permalink / raw)
To: linux-arm-kernel
'enable-active-low' is not a valid property for a GPIO controlled regulator.
According to Documentation/devicetree/bindings/regulator/gpio-regulator.txt:
"Optional properties:
...
- enable-active-high : Polarity of GPIO is active high (default is low)."
,so the correct way to define an active-low GPIO controlled regulator is to
simply not pass 'enable-active-high'.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
arch/arm/boot/dts/imx28-tx28.dts | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/boot/dts/imx28-tx28.dts b/arch/arm/boot/dts/imx28-tx28.dts
index 3c54e8d..e14bd86 100644
--- a/arch/arm/boot/dts/imx28-tx28.dts
+++ b/arch/arm/boot/dts/imx28-tx28.dts
@@ -91,7 +91,6 @@
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
gpio = <&gpio1 0 0>;
- enable-active-low;
pinctrl-names = "default";
pinctrl-0 = <&tx28_flexcan_xcvr_pins>;
};
--
1.8.1.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 1/2] ARM: dts: mx53: Remove 'enable-active-low' property
2014-02-05 13:10 [PATCH 1/2] ARM: dts: mx53: Remove 'enable-active-low' property Fabio Estevam
2014-02-05 13:10 ` [PATCH 2/2] ARM: dts: imx28-tx28: " Fabio Estevam
@ 2014-02-10 3:21 ` Shawn Guo
1 sibling, 0 replies; 3+ messages in thread
From: Shawn Guo @ 2014-02-10 3:21 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Feb 05, 2014 at 11:10:09AM -0200, Fabio Estevam wrote:
> 'enable-active-low' is not a valid property for a GPIO controlled regulator.
>
> According to Documentation/devicetree/bindings/regulator/gpio-regulator.txt:
>
> "Optional properties:
> ...
> - enable-active-high : Polarity of GPIO is active high (default is low)."
>
> ,so the correct way to define an active-low GPIO controlled regulator is to
> simply not pass 'enable-active-high'.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Applied both, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-02-10 3:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-05 13:10 [PATCH 1/2] ARM: dts: mx53: Remove 'enable-active-low' property Fabio Estevam
2014-02-05 13:10 ` [PATCH 2/2] ARM: dts: imx28-tx28: " Fabio Estevam
2014-02-10 3:21 ` [PATCH 1/2] ARM: dts: mx53: " Shawn Guo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox