ARM: dts: am437x-sk-evm: Add phandle for the backlight for the panel
PATCH 1/1 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 <[email protected]>
Reviewed-by Tomi Valkeinen <[email protected]>
--- arch/arm/boot/dts/am437x-sk-evm.dts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
arch/arm/boot/dts/am437x-sk-evm.dts +3 -1
@@ -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 {
Signature · 4 lines
Peter Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
PATCH 1/1 ARM: dts: am437x-sk-evm: Add phandle for the backlight for the panel
Quoted 2 lines · Peter Ujfalusi
With the backlight phandle the driver can manage the backlight on/off in sync with the panel enable/disable.
Applying into omap-for-v4.16/dt thanks,
Tony