From: Fancy Fang Date: Tue, 4 Aug 2015 07:51:54 +0000 (+0800) Subject: MLK-11318-2 ARM: dts: imx7d-sdb: add dts support for pwm backlight X-Git-Tag: C0P2-H0.0--20200415~4754 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=f8dd9ab064c342d471d737149a85866e29f383cf;p=linux.git MLK-11318-2 ARM: dts: imx7d-sdb: add dts support for pwm backlight Add dts support for pwm backlight on imx_4.1.y branch. Signed-off-by: Fancy Fang --- diff --git a/arch/arm/boot/dts/imx7d-sdb.dts b/arch/arm/boot/dts/imx7d-sdb.dts index 43c264d27110..b55ba3c70d95 100644 --- a/arch/arm/boot/dts/imx7d-sdb.dts +++ b/arch/arm/boot/dts/imx7d-sdb.dts @@ -93,6 +93,15 @@ 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 {