]> git.dujemihanovic.xyz Git - u-boot.git/commit
led: Implement software led blinking
authorMichael Polyntsov <michael.polyntsov@iopsys.eu>
Fri, 19 Jul 2024 09:12:12 +0000 (13:12 +0400)
committerTom Rini <trini@konsulko.com>
Tue, 30 Jul 2024 18:35:23 +0000 (12:35 -0600)
commitb557f55e90f087ec310592b833441cd326206f61
treea7d3ee88851b7f242eb24dedfe2115e5fe7a395b
parent2a15c676fa3413e7995e2a8b47e8932300e9e70b
led: Implement software led blinking

If hardware (or driver) doesn't support leds blinking, it's
now possible to use software implementation of blinking instead.
This relies on cyclic functions.

Signed-off-by: Michael Polyntsov <michael.polyntsov@iopsys.eu>
Signed-off-by: Mikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/led/Kconfig
drivers/led/Makefile
drivers/led/led-uclass.c
drivers/led/led_sw_blink.c [new file with mode: 0644]
include/led.h