mirror of https://gitee.com/openkylin/linux.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 <maitysanchayan@gmail.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
parent
aacf62465a
commit
ebedca04ec
|
@ -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 @@ 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 {
|
||||
fsl,pins = <
|
||||
/* Power button */
|
||||
|
|
Loading…
Reference in New Issue