summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx23-sansa.dts
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@nxp.com>2017-05-23 12:32:43 -0300
committerShawn Guo <shawnguo@kernel.org>2017-05-25 15:52:01 +0800
commit71ba49902d35d025b3810d6f19028eff624c67a7 (patch)
treefe017515aad310371b408be17ea7a5964f79cd69 /arch/arm/boot/dts/imx23-sansa.dts
parentbdc111bd50cc1378e113647dc251689636986d84 (diff)
downloadlwn-71ba49902d35d025b3810d6f19028eff624c67a7.tar.gz
lwn-71ba49902d35d025b3810d6f19028eff624c67a7.zip
ARM: dts: imx23-sansa: Remove 'enable-active-low' property
Property 'enable-active-low' does not exist. Only 'enable-active-high' is valid, and when this property is absent the gpio regulator will act as active low by default. So remove the unexisting 'enable-active-low' property. Currently the GPIO flag is 0, which means active-high. In order to make the dts description accurate, pass the GPIO_ACTIVE_LOW flag instead. This change is safe because the gpio regulator driver does not take the GPIO flag polarity into account. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/imx23-sansa.dts')
-rw-r--r--arch/arm/boot/dts/imx23-sansa.dts7
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/imx23-sansa.dts b/arch/arm/boot/dts/imx23-sansa.dts
index 4ec32f4c7885..221fd55e967e 100644
--- a/arch/arm/boot/dts/imx23-sansa.dts
+++ b/arch/arm/boot/dts/imx23-sansa.dts
@@ -42,6 +42,7 @@
*/
/dts-v1/;
+#include <dt-bindings/gpio/gpio.h>
#include "imx23.dtsi"
/ {
@@ -149,9 +150,8 @@
regulator-name = "vdd-touchpad0";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
- gpio = <&gpio0 26 0>;
+ gpio = <&gpio0 26 GPIO_ACTIVE_LOW>;
regulator-always-on;
- enable-active-low;
};
reg_vdd_tuner: regulator-vdd-tuner0 {
@@ -159,9 +159,8 @@
regulator-name = "vdd-tuner0";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
- gpio = <&gpio0 29 0>;
+ gpio = <&gpio0 29 GPIO_ACTIVE_LOW>;
regulator-always-on;
- enable-active-low;
};
backlight {