소스 검색

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.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Peter Ujfalusi 7 년 전
부모
커밋
17543a7561
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      arch/arm/boot/dts/am43x-epos-evm.dts

+ 3 - 1
arch/arm/boot/dts/am43x-epos-evm.dts

@@ -48,6 +48,8 @@
 		compatible = "osddisplays,osd057T0559-34ts", "panel-dpi";
 		compatible = "osddisplays,osd057T0559-34ts", "panel-dpi";
 		label = "lcd";
 		label = "lcd";
 
 
+		backlight = <&lcd_bl>;
+
 		panel-timing {
 		panel-timing {
 			clock-frequency = <33000000>;
 			clock-frequency = <33000000>;
 			hactive = <800>;
 			hactive = <800>;
@@ -107,7 +109,7 @@
 			0x03030069>;	/* LEFT */
 			0x03030069>;	/* LEFT */
 	};
 	};
 
 
-	backlight {
+	lcd_bl: backlight {
 		compatible = "pwm-backlight";
 		compatible = "pwm-backlight";
 		pwms = <&ecap0 0 50000 PWM_POLARITY_INVERTED>;
 		pwms = <&ecap0 0 50000 PWM_POLARITY_INVERTED>;
 		brightness-levels = <0 51 53 56 62 75 101 152 255>;
 		brightness-levels = <0 51 53 56 62 75 101 152 255>;