diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2018-01-09 18:57:59 +0100 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2018-10-11 19:40:10 +0200 |
commit | c5031bf841e08976e4c6db8b694367dd03b168d4 (patch) | |
tree | 488e77041838cb05af9cf0e248687520076af850 /arch | |
parent | e16fc7956009d421de4780e2dca0ad55275b375f (diff) |
apalis-imx8qm: use GPIO backlight driver
Use GPIO backlight driver and specify for BKL1_ON and BKL1_PWM
as a GPIO for now. There seem to be no driver for the LVDS PWM
currently.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
(cherry picked from commit 38f04eea77266fd8edeac5817484507468deac56)
(cherry picked from commit 37a75ecefd92d3a696bc5485aa0870206f71b33d)
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm64/boot/dts/freescale/fsl-imx8qm-apalis.dts | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8qm-apalis.dts b/arch/arm64/boot/dts/freescale/fsl-imx8qm-apalis.dts index cb4f48ebafd9..80817892c265 100644 --- a/arch/arm64/boot/dts/freescale/fsl-imx8qm-apalis.dts +++ b/arch/arm64/boot/dts/freescale/fsl-imx8qm-apalis.dts @@ -27,10 +27,12 @@ }; backlight: backlight { - compatible = "pwm-backlight"; + compatible = "gpio-backlight"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gpio_bl_on>; - enable-gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>; + gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>, /* BKL1_ON */ + <&gpio1 10 GPIO_ACTIVE_HIGH>; /* BKL1_PWM */ + default-on; status = "okay"; }; }; @@ -73,6 +75,7 @@ pinctrl_gpio_bl_on: gpio-bl-on { fsl,pins = < SC_P_LVDS0_GPIO00_LSIO_GPIO1_IO04 0x00000021 + SC_P_LVDS1_GPIO00_LSIO_GPIO1_IO10 0x00000021 >; }; |