summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSébastien Szymanski <sebastien.szymanski@armadeus.com>2019-10-22 16:16:54 +0300
committerShawn Guo <shawnguo@kernel.org>2019-10-28 09:48:52 +0300
commit9ce84cc667ae0efd2b4f48e97d63336b0f94b11d (patch)
tree52573cc65326169a977c59d3f9fe2f6d929ac73a /arch
parent3f52c54ecb64351b0dc81c9ebcabcf54896ff463 (diff)
downloadlinux-9ce84cc667ae0efd2b4f48e97d63336b0f94b11d.tar.xz
ARM: dts: imx6qdl-apf6dev: add backlight support
Add PWM backlight support. Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/imx6qdl-apf6dev.dtsi8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6qdl-apf6dev.dtsi b/arch/arm/boot/dts/imx6qdl-apf6dev.dtsi
index 43013fcaf864..cf118c74111a 100644
--- a/arch/arm/boot/dts/imx6qdl-apf6dev.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-apf6dev.dtsi
@@ -11,6 +11,14 @@
stdout-path = &uart4;
};
+ backlight: backlight {
+ compatible = "pwm-backlight";
+ pwms = <&pwm3 0 191000>;
+ brightness-levels = <0 4 8 16 32 64 128 255>;
+ default-brightness-level = <0>;
+ power-supply = <&reg_5v>;
+ };
+
disp0 {
compatible = "fsl,imx-parallel-display";
interface-pix-fmt = "bgr666";