]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: am437x-gp-evm: Add phandle for the backlight for the panel
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Fri, 15 Dec 2017 12:09:32 +0000 (14:09 +0200)
committerTony Lindgren <tony@atomide.com>
Fri, 15 Dec 2017 16:40:42 +0000 (08:40 -0800)
With the backlight phandle the driver can manage the backlight on/off in
sync with the panel enable/disable.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am437x-gp-evm.dts

index afb8eb0a0a16ee63ea1ece64e694ac847c249067..c3b1a3fb5a2eef84741be4914a6e24d3f2992141 100644 (file)
@@ -55,7 +55,7 @@ vmmcwl_fixed: fixedregulator-mmcwl {
                enable-active-high;
        };
 
-       backlight {
+       lcd_bl: backlight {
                compatible = "pwm-backlight";
                pwms = <&ecap0 0 50000 PWM_POLARITY_INVERTED>;
                brightness-levels = <0 51 53 56 62 75 101 152 255>;
@@ -86,6 +86,8 @@ lcd0: display {
                compatible = "osddisplays,osd057T0559-34ts", "panel-dpi";
                label = "lcd";
 
+               backlight = <&lcd_bl>;
+
                panel-timing {
                        clock-frequency = <33000000>;
                        hactive = <800>;