summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2018-01-09 18:57:59 +0100
committerStefan Agner <stefan.agner@toradex.com>2018-01-09 18:57:59 +0100
commitb51f3981db39bc73aa29dd4ed24251c75c3714fa (patch)
tree71fd24169b2588d18c629e897922f9c76f922309
parent61aafe534476e21d58c0f7e872b6d202838d6d2a (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.dts7
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
>;
};