ARM: dts: am437x-sk-evm: Add phandle for the backlight for the panel
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Fri, 15 Dec 2017 12:09:41 +0000 (14:09 +0200)
committerTony Lindgren <tony@atomide.com>
Fri, 15 Dec 2017 16:42:10 +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>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am437x-sk-evm.dts

index 2c6bf0684f5055bfe014bd4e433f4cd035e0924a..3fa3b226995d30549ec0477a1ba65953b7ee9319 100644 (file)
@@ -35,7 +35,7 @@
                clock-frequency = <32768>;
        };
 
-       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>;
                pinctrl-names = "default";
                pinctrl-0 = <&lcd_pins>;
 
+               backlight = <&lcd_bl>;
+
                enable-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
 
                panel-timing {