ARM: dts: omap4-sdp: Add support for pwm-backlight
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Fri, 18 Jan 2013 14:00:47 +0000 (15:00 +0100)
committerBenoit Cousson <benoit.cousson@linaro.org>
Mon, 8 Apr 2013 22:16:52 +0000 (00:16 +0200)
Section to describe the backlight for the LCD panels.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Benoit Cousson <benoit.cousson@linaro.org>
arch/arm/boot/dts/omap4-sdp.dts

index 8101a945e7c3233f33f3f49a11ed57e6abb0d130..c2dee41eb7d74c2c0e7f1b33e674a4e7339e4e26 100644 (file)
                };
        };
 
+       backlight {
+               compatible = "pwm-backlight";
+               pwms = <&twl_pwm 1 7812500>;
+               brightness-levels = <
+                               0 10 20 30 40
+                               50 60 70 80 90
+                               100 110 120 127
+                               >;
+               default-brightness-level = <13>;
+       };
+
        sound {
                compatible = "ti,abe-twl6040";
                ti,model = "SDP4430";