I want to control PWM brightness with boot

hello.

I want to control the PWM brightness during boot. Is there any way?
Is it possible to modify the device tree for boot or the source code of uboot?

Thanks.

HI,

If you want to control it “during boot”, then maybe you need to write your own driver and use the pwm API to control it.

https://www.kernel.org/doc/html/latest/driver-api/pwm.html