From: Peter Ujfalusi Date: Fri, 15 Dec 2017 12:09:54 +0000 (+0200) Subject: ARM: dts: am43xx-epos-evm: Add phandle for the backlight for the panel X-Git-Tag: for-linus-20180210~8^2~1^2~28 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=17543a75615e46bcd5fc5fd5bcb9f8165f119a5e;p=linux-2.6-block.git ARM: dts: am43xx-epos-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 Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/boot/dts/am43x-epos-evm.dts b/arch/arm/boot/dts/am43x-epos-evm.dts index a04d79ec212a..fdb1e2bbab9c 100644 --- a/arch/arm/boot/dts/am43x-epos-evm.dts +++ b/arch/arm/boot/dts/am43x-epos-evm.dts @@ -48,6 +48,8 @@ compatible = "osddisplays,osd057T0559-34ts", "panel-dpi"; label = "lcd"; + backlight = <&lcd_bl>; + panel-timing { clock-frequency = <33000000>; hactive = <800>; @@ -107,7 +109,7 @@ 0x03030069>; /* LEFT */ }; - 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>;