ARM: dts: am43xx-epos-evm: Add phandle for the backlight for the panel
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Fri, 15 Dec 2017 12:09:54 +0000 (14:09 +0200)
committerTony Lindgren <tony@atomide.com>
Fri, 15 Dec 2017 16:42:33 +0000 (08:42 -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>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am43x-epos-evm.dts

index a04d79e..fdb1e2b 100644 (file)
@@ -48,6 +48,8 @@
                compatible = "osddisplays,osd057T0559-34ts", "panel-dpi";
                label = "lcd";
 
+               backlight = <&lcd_bl>;
+
                panel-timing {
                        clock-frequency = <33000000>;
                        hactive = <800>;
                        0x03030069>;    /* LEFT */
        };
 
-       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>;