Commit fdc223c8 authored by Peter Ujfalusi's avatar Peter Ujfalusi Committed by Tony Lindgren

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: default avatarPeter Ujfalusi <peter.ujfalusi@ti.com>
Reviewed-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 9b490b3d
...@@ -55,7 +55,7 @@ vmmcwl_fixed: fixedregulator-mmcwl { ...@@ -55,7 +55,7 @@ vmmcwl_fixed: fixedregulator-mmcwl {
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 @@ lcd0: display { ...@@ -86,6 +86,8 @@ lcd0: display {
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>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment