summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBhuvanchandra DV <bhuvanchandra.dv@toradex.com>2017-01-27 13:10:28 +0530
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2017-04-03 15:10:32 +0200
commitab2e72664a18bf9b5f5e9e04acdde7bc61c51cc6 (patch)
treef8f2a4d08cc958f2196a0ad3515903248c0f2a11
parent406ccc51a087eb41d8f310d71326ccf9154b1264 (diff)
ARM: dts: imx6qdl-apalis: Use enable-gpios for BL_ON
Use pwm-backlight driver 'enable-gpios' property for backlight on/off control. Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
-rw-r--r--arch/arm/boot/dts/imx6qdl-apalis.dtsi9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6qdl-apalis.dtsi b/arch/arm/boot/dts/imx6qdl-apalis.dtsi
index 9e2b386dbf8b..1f0650802aec 100644
--- a/arch/arm/boot/dts/imx6qdl-apalis.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-apalis.dtsi
@@ -24,6 +24,9 @@
backlight: backlight {
compatible = "pwm-backlight";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_gpio_bl_on>;
+ enable-gpios = <&gpio3 13 GPIO_ACTIVE_HIGH>;
status = "disabled";
};
@@ -563,6 +566,12 @@
};
};
+ pinctrl_gpio_bl_on: gpio-bl-on {
+ fsl,pins = <
+ MX6QDL_PAD_EIM_DA13__GPIO3_IO13 PAD_CTRL_HYS_PD
+ >;
+ };
+
gpio {
pinctrl_apalis_gpio1: apalis_gpio1 {
fsl,pins = <