On Fri, 19 Jul 2024 at 10:12, Mikhail Kshevetskiy <[email protected]> wrote: > > From: Michael Polyntsov <[email protected]> > > 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 <[email protected]> > Signed-off-by: Mikhail Kshevetskiy <[email protected]> > --- > drivers/led/Kconfig | 16 ++++- > drivers/led/Makefile | 1 + > drivers/led/led-uclass.c | 11 ++++ > drivers/led/led_sw_blink.c | 117 +++++++++++++++++++++++++++++++++++++ > include/led.h | 22 +++++++ > 5 files changed, 166 insertions(+), 1 deletion(-) > create mode 100644 drivers/led/led_sw_blink.c
Reviewed-by: Simon Glass <[email protected]>

