1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-01-07 01:49:18 +01:00
Files
u-boot-megous/drivers
Christian Marangi aad8cfa3ca led: implement LED activity API
Implement LED activity API similar to BOOT LED API.

Usual activity might be a file transfer with TFTP, a flash write...

User of this API will call led_activity_on/off/blink() to signal these
kind of activity.

New Kconfig is implemented similar to BOOT LED, LED_ACTIVITY to
enable support for it.

It's introduced a new /options/u-boot property "activity-led" and
"activity-led-period" to define the activity LED label and the
default period when the activity LED is set to blink mode.

If "activity-led-period" is not defined, the value of 250 (ms) is
used by default.

If CONFIG_LED_BLINK or CONFIG_LED_SW_BLINK is not enabled,
led_boot_blink call will fallback to simple LED ON.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2024-10-10 16:02:20 -06:00
..
2024-08-19 18:24:58 -06:00
2024-09-16 14:48:13 -06:00
2024-09-19 00:12:41 -03:00
2024-09-13 17:41:18 +02:00
2024-09-12 17:35:37 +02:00
2024-08-19 18:24:58 -06:00
2024-10-10 16:02:20 -06:00
2024-06-24 13:34:52 -06:00
2024-09-30 17:48:12 -06:00
2023-11-07 14:50:51 -05:00
2024-09-30 17:48:12 -06:00
2024-09-16 14:48:13 -06:00
2024-04-26 08:28:35 +03:00
2024-09-30 17:48:12 -06:00
2024-07-31 16:51:54 +02:00