MLK-11318-2 ARM: dts: imx7d-sdb: add dts support for pwm backlight
authorFancy Fang <chen.fang@freescale.com>
Tue, 4 Aug 2015 07:51:54 +0000 (15:51 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:46:53 +0000 (14:46 -0500)
Add dts support for pwm backlight on imx_4.1.y branch.

Signed-off-by: Fancy Fang <chen.fang@freescale.com>
arch/arm/boot/dts/imx7d-sdb.dts

index 43c264d..b55ba3c 100644 (file)
                        regulator-min-microvolt = <1800000>;
                        regulator-max-microvolt = <1800000>;
                };
+
+       };
+
+       backlight {
+               compatible = "pwm-backlight";
+               pwms = <&pwm1 0 5000000>;
+               brightness-levels = <0 4 8 16 32 64 128 255>;
+               default-brightness-level = <6>;
+               status = "okay";
        };
 
        spi4 {