diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2017-12-15 14:09:41 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2017-12-15 08:42:10 -0800 |
commit | dc5eedd359e446996ce1d7b41c34b304f774b12a (patch) | |
tree | 6a7435332ea4ee33e4cec16020394e05afce1e05 /arch/arm/boot/dts/am437x-sk-evm.dts | |
parent | fdc223c8f163d6b80dba0c56e34170f61586d3a5 (diff) | |
download | lwn-dc5eedd359e446996ce1d7b41c34b304f774b12a.tar.gz lwn-dc5eedd359e446996ce1d7b41c34b304f774b12a.zip |
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: Peter Ujfalusi <peter.ujfalusi@ti.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/am437x-sk-evm.dts')
-rw-r--r-- | arch/arm/boot/dts/am437x-sk-evm.dts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/am437x-sk-evm.dts b/arch/arm/boot/dts/am437x-sk-evm.dts index 2c6bf0684f50..3fa3b226995d 100644 --- a/arch/arm/boot/dts/am437x-sk-evm.dts +++ b/arch/arm/boot/dts/am437x-sk-evm.dts @@ -35,7 +35,7 @@ clock-frequency = <32768>; }; - backlight { + lcd_bl: backlight { compatible = "pwm-backlight"; pwms = <&ecap0 0 50000 PWM_POLARITY_INVERTED>; brightness-levels = <0 51 53 56 62 75 101 152 255>; @@ -132,6 +132,8 @@ pinctrl-names = "default"; pinctrl-0 = <&lcd_pins>; + backlight = <&lcd_bl>; + enable-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>; panel-timing { |