Skip to contentSkip to conversation

ARM: dts: am43xx-epos-evm: Add phandle for the backlight for the panel

PATCH New Peter Ujfalusi 2 participants 2 messages Dec 15, 2017 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: am43xx-epos-evm: Add phandle for the backlight for the panel

With the backlight phandle the driver can manage the backlight on/off in sync with the panel enable/disable.

---
 arch/arm/boot/dts/am43x-epos-evm.dts | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
arch/arm/boot/dts/am43x-epos-evm.dts +3 -1
index a04d79ec212a..fdb1e2bbab9c 100644
@@ -48,6 +48,8 @@
 		compatible = "osddisplays,osd057T0559-34ts", "panel-dpi";
 		label = "lcd";
 
+		backlight = <&lcd_bl>;
+
 		panel-timing {
 			clock-frequency = <33000000>;
 			hactive = <800>;
@@ -107,7 +109,7 @@
 			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>;
Signature · 4 lines
Peter

Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
#1 lore raw

PATCH 1/1 ARM: dts: am43xx-epos-evm: Add phandle for the backlight for the panel

Quoted 2 lines · Peter Ujfalusi

With the backlight phandle the driver can manage the backlight on/off in sync with the panel enable/disable.

Applying into omap-for-v4.16/dt thanks,

Tony