ARM: dts: am437x-gp-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>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:
Peter Ujfalusi 2017-12-15 14:09:32 +02:00 committed by Tony Lindgren
parent 9b490b3db5
commit fdc223c8f1
1 changed files with 3 additions and 1 deletions

View File

@ -55,7 +55,7 @@
enable-active-high; enable-active-high;
}; };
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>;
@ -86,6 +86,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>;