提交 dc5eedd3 编写于 作者: P Peter Ujfalusi 提交者: Tony Lindgren

ARM: dts: am437x-sk-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: NPeter Ujfalusi <peter.ujfalusi@ti.com>
Reviewed-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: NTony Lindgren <tony@atomide.com>
上级 fdc223c8
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
clock-frequency = <32768>; clock-frequency = <32768>;
}; };
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>;
...@@ -132,6 +132,8 @@ ...@@ -132,6 +132,8 @@
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&lcd_pins>; pinctrl-0 = <&lcd_pins>;
backlight = <&lcd_bl>;
enable-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>; enable-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
panel-timing { panel-timing {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册