[PATCH v1 0/1] led: led_pwm: fix active-low behavior

Svyatoslav Ryhel clamor95 at gmail.com
Mon Feb 9 19:07:17 CET 2026


In the case of active-low behavior the Duty Cycle needs to be set to 100%.
The PWM driver takes care of this but the LED_PWM driver does not take
this into account. Adjust LED_PWM to take into account polarity of PWM.

Jonas Schwöbel (1):
  led: led_pwm: fix active-low behavior

 drivers/led/led_pwm.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
2.51.0



More information about the U-Boot mailing list