[PATCH 02/15] arm: dts: am335x-evm: Add backlight to the panel

Kory Maincent kory.maincent at bootlin.com
Tue Nov 18 15:14:44 CET 2025


On Tue, 18 Nov 2025 11:40:22 +0100
"Markus Schneider-Pargmann (TI.com)" <msp at baylibre.com> wrote:

> Add backlight phandle reference to panel node. Without this reference,
> the display driver cannot control backlight, leaving the panel dark.

What is the point of modifying this devicetree as it will be replaced by the
Linux upstream devicetree at the last patch of your series?

> Signed-off-by: Markus Schneider-Pargmann (TI.com) <msp at baylibre.com>
> ---
>  arch/arm/dts/am335x-evm.dts | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm/dts/am335x-evm.dts b/arch/arm/dts/am335x-evm.dts
> index
> 1b5b627006822a9bb4df1c6433ce7eff114dc029..52ca4ff6809ad24fafbdd515fbcde840715cf20f
> 100644 --- a/arch/arm/dts/am335x-evm.dts +++ b/arch/arm/dts/am335x-evm.dts
> @@ -94,7 +94,7 @@
>  		};
>  	};
>  
> -	backlight {
> +	pwm_backlight: backlight {
>  		compatible = "pwm-backlight";
>  		pwms = <&ecap0 0 50000 0>;
>  		brightness-levels = <0 51 53 56 62 75 101 152 255>;
> @@ -106,6 +106,7 @@
>  		status = "okay";
>  		pinctrl-names = "default";
>  		pinctrl-0 = <&lcd_pins_s0>;
> +		backlight = <&pwm_backlight>;
>  		panel-info {
>  			ac-bias           = <255>;
>  			ac-bias-intrpt    = <0>;
> 



-- 
Köry Maincent, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com


More information about the U-Boot mailing list