summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2018-05-08 13:04:33 +0300
committerTony Lindgren <tony@atomide.com>2018-05-15 11:13:51 -0700
commit2a9fb4aad3ec587e2223cd669e4a2e7c7dbc9e6e (patch)
tree02b51a552f95c35960ec85a3f81ec361eb854d25
parent22f5941fd24d91e0a1d8dfd0a8f1558cd97757c4 (diff)
downloadop-kernel-dev-2a9fb4aad3ec587e2223cd669e4a2e7c7dbc9e6e.zip
op-kernel-dev-2a9fb4aad3ec587e2223cd669e4a2e7c7dbc9e6e.tar.gz
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: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r--arch/arm/boot/dts/am335x-evmsk.dts3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts
index d0d6bac..0c096a7 100644
--- a/arch/arm/boot/dts/am335x-evmsk.dts
+++ b/arch/arm/boot/dts/am335x-evmsk.dts
@@ -137,7 +137,7 @@
};
};
- backlight {
+ lcd_bl: backlight {
compatible = "pwm-backlight";
pwms = <&ecap2 0 50000 PWM_POLARITY_INVERTED>;
brightness-levels = <0 58 61 66 75 90 125 170 255>;
@@ -172,6 +172,7 @@
pinctrl-names = "default", "sleep";
pinctrl-0 = <&lcd_pins_default>;
pinctrl-1 = <&lcd_pins_sleep>;
+ backlight = <&lcd_bl>;
status = "okay";
panel-info {
ac-bias = <255>;
OpenPOWER on IntegriCloud