提交 ebedca04 编写于 作者: S Sanchayan Maity 提交者: Shawn Guo

ARM: dts: imx6qdl-apalis: Use enable-gpios property for backlight

Use enable-gpios property of PWM backlight driver for backlight
control.
Signed-off-by: NSanchayan Maity <maitysanchayan@gmail.com>
Signed-off-by: NShawn Guo <shawnguo@kernel.org>
上级 aacf6246
...@@ -49,7 +49,10 @@ ...@@ -49,7 +49,10 @@
backlight: backlight { backlight: backlight {
compatible = "pwm-backlight"; compatible = "pwm-backlight";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_gpio_bl_on>;
pwms = <&pwm4 0 5000000>; pwms = <&pwm4 0 5000000>;
enable-gpios = <&gpio3 13 GPIO_ACTIVE_HIGH>;
status = "disabled"; status = "disabled";
}; };
...@@ -620,6 +623,12 @@ ...@@ -620,6 +623,12 @@
>; >;
}; };
pinctrl_gpio_bl_on: gpioblon {
fsl,pins = <
MX6QDL_PAD_EIM_DA13__GPIO3_IO13 0x1b0b0
>;
};
pinctrl_gpio_keys: gpio1io04grp { pinctrl_gpio_keys: gpio1io04grp {
fsl,pins = < fsl,pins = <
/* Power button */ /* Power button */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册