u-boot/arch/sandbox/dts
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
..
include Makefile: Support include files for .dts files 2014-06-20 11:55:03 -06:00
cedit.dtsi expo: Allow menu items to have values 2024-10-18 14:10:22 -06:00
cros-ec-keyboard.dtsi sandbox: avoid duplicate backslash input 2020-10-06 09:07:54 -06:00
Makefile dts: Deduplicate dtbs target 2024-10-14 19:32:04 -06:00
other.dts test: dm: Expand dm_test_ofnode_phandle(_ot) with new ofnode/tree_parse_phandle 2024-12-06 13:00:40 -06:00
overlay0.dtso sandbox: rename overlay sources to .dtso 2023-10-11 13:22:32 -04:00
overlay1.dtso sandbox: rename overlay sources to .dtso 2023-10-11 13:22:32 -04:00
sandbox64.dts sandbox64: add support for NVMXIP QSPI 2023-04-27 17:01:14 -04:00
sandbox_capsule.dtsi sandbox: capsule: binman: generate some capsules as part of build 2024-04-08 12:59:31 +02:00
sandbox_pmic.dtsi sandbox: dts: Add missing sandbox, emul phandle to sandbox-pmic 2024-10-18 14:10:22 -06:00
sandbox_vpl.dtsi sandbox: Expand size for VPL image 2023-03-02 17:45:58 -05:00
sandbox.dts sandbox: capsule: binman: generate some capsules as part of build 2024-04-08 12:59:31 +02:00
sandbox.dtsi sandbox: Fix pinmux warnings with non-test devicetrees 2024-08-27 11:17:39 -06:00
test.dts led: add function naming option from linux 2025-02-07 10:53:39 -06:00