From: Sanchayan Maity Date: Mon, 19 Sep 2016 05:11:53 +0000 (+0530) Subject: ARM: dts: imx6qdl-apalis: Use enable-gpios property for backlight X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ebedca04ec6fe9805f5824093b60c7a94478cb1f;p=linux-beck.git 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 Signed-off-by: Shawn Guo --- 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 */