diff options
author | Sanchayan Maity <maitysanchayan@gmail.com> | 2016-09-19 10:41:53 +0530 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2016-10-22 11:27:20 +0800 |
commit | ebedca04ec6fe9805f5824093b60c7a94478cb1f (patch) | |
tree | fa9f73c922039efee152fd150f6a208bffdcc7dd /arch/arm/boot/dts/imx6qdl-apalis.dtsi | |
parent | aacf62465acac596a323c193ca49e06418498c98 (diff) | |
download | blackbird-op-linux-ebedca04ec6fe9805f5824093b60c7a94478cb1f.tar.gz blackbird-op-linux-ebedca04ec6fe9805f5824093b60c7a94478cb1f.zip |
ARM: dts: imx6qdl-apalis: Use enable-gpios property for backlight
Use enable-gpios property of PWM backlight driver for backlight
control.
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/imx6qdl-apalis.dtsi')
-rw-r--r-- | arch/arm/boot/dts/imx6qdl-apalis.dtsi | 9 |
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 99e323b57261..8c8a049eb3d0 100644 --- a/arch/arm/boot/dts/imx6qdl-apalis.dtsi +++ b/arch/arm/boot/dts/imx6qdl-apalis.dtsi @@ -49,7 +49,10 @@ backlight: backlight { compatible = "pwm-backlight"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpio_bl_on>; pwms = <&pwm4 0 5000000>; + enable-gpios = <&gpio3 13 GPIO_ACTIVE_HIGH>; status = "disabled"; }; @@ -620,6 +623,12 @@ >; }; + pinctrl_gpio_bl_on: gpioblon { + fsl,pins = < + MX6QDL_PAD_EIM_DA13__GPIO3_IO13 0x1b0b0 + >; + }; + pinctrl_gpio_keys: gpio1io04grp { fsl,pins = < /* Power button */ |