diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2018-01-09 18:57:59 +0100 |
---|---|---|
committer | Stefan Agner <stefan.agner@toradex.com> | 2018-01-30 15:27:18 +0100 |
commit | 38f04eea77266fd8edeac5817484507468deac56 (patch) | |
tree | f5a73af4b7fcf7b399274cebc111e3c8660b6171 | |
parent | b7b13555c1f11b65f36493c12b9af3d8c4e89fbb (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>
-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 >; }; |