OSDN Git Service

ARM: dts: omap3-gta04: declare backlight in lcd node
authorAndreas Kemnade <andreas@kemnade.info>
Mon, 11 Feb 2019 16:20:07 +0000 (17:20 +0100)
committerTony Lindgren <tony@atomide.com>
Tue, 12 Feb 2019 18:52:25 +0000 (10:52 -0800)
The lcd display of the gta04 has a backlight but the backlight
was not referenced in the lcd node, so screen blanking did
not turn off the backlight. Fix that.

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Tested-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/omap3-gta04.dtsi

index 843d879..2a8fcc0 100644 (file)
                        spi-cpol;
                        spi-cpha;
 
+                       backlight= <&backlight>;
                        label = "lcd";
                        port {
                                lcd_in: endpoint {
                };
        };
 
-       backlight {
+       backlight: backlight {
                compatible = "pwm-backlight";
                pwms = <&pwm11 0 12000000 0>;
                pwm-names = "backlight";