Commit ebedca04 authored by Sanchayan Maity's avatar Sanchayan Maity Committed by 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: default avatarSanchayan Maity <maitysanchayan@gmail.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 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 @@ MX6QDL_PAD_KEY_ROW4__FLEXCAN2_RX 0x1b0b0 ...@@ -620,6 +623,12 @@ MX6QDL_PAD_KEY_ROW4__FLEXCAN2_RX 0x1b0b0
>; >;
}; };
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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment