u-boot/arch/sandbox
Heiko Schocher 592b6f394a led: add function naming option from linux
in linux we have the option to create the name of a led
optionally through the following properties:

- function
- color
- function-enumerator

This patch adds support for parsing this properties if there
is no label property.

The led name is created in led_post_bind() and we need some
storage place for it. Currently this patch prevents to use
malloc() instead it stores the name in new member :

        char name[LED_MAX_NAME_SIZE];

of struct led_uc_plat. While at it append led tests for the
new feature.

Signed-off-by: Heiko Schocher <hs@denx.de>
Reviewed-by: Tom Rini <trini@konsulko.com>
2025-02-07 10:53:39 -06:00
..
cpu test: Move stat-printing into its own function 2025-01-24 14:34:41 -06:00
dts led: add function naming option from linux 2025-02-07 10:53:39 -06:00
include/asm Merge patch series "Select CONFIG_64BIT for sandbox64 and x86_64" 2024-12-31 10:58:36 -06:00
lib acpi: x86: Move MADT to common code 2024-10-27 17:12:44 -06:00
config.mk Makefile: Make sure all linker input objects exist 2025-01-18 08:28:16 -06:00
Kconfig x86: select CONFIG_64BIT for X86_64 2024-12-31 10:58:30 -06:00
Makefile sandbox: fix build failure with musl and SDL 2022-02-09 12:26:12 -07:00