Commit 2a9fb4aa authored by Peter Ujfalusi's avatar Peter Ujfalusi Committed by Tony Lindgren

ARM: dts: am335x-evmsk: 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>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 22f5941f
...@@ -137,7 +137,7 @@ switch4 { ...@@ -137,7 +137,7 @@ switch4 {
}; };
}; };
backlight { lcd_bl: backlight {
compatible = "pwm-backlight"; compatible = "pwm-backlight";
pwms = <&ecap2 0 50000 PWM_POLARITY_INVERTED>; pwms = <&ecap2 0 50000 PWM_POLARITY_INVERTED>;
brightness-levels = <0 58 61 66 75 90 125 170 255>; brightness-levels = <0 58 61 66 75 90 125 170 255>;
...@@ -172,6 +172,7 @@ panel { ...@@ -172,6 +172,7 @@ panel {
pinctrl-names = "default", "sleep"; pinctrl-names = "default", "sleep";
pinctrl-0 = <&lcd_pins_default>; pinctrl-0 = <&lcd_pins_default>;
pinctrl-1 = <&lcd_pins_sleep>; pinctrl-1 = <&lcd_pins_sleep>;
backlight = <&lcd_bl>;
status = "okay"; status = "okay";
panel-info { panel-info {
ac-bias = <255>; ac-bias = <255>;
......
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