From: Tom Rini Date: Fri, 7 Feb 2025 16:53:43 +0000 (-0600) Subject: Merge patch series "led: add function naming option from linux" X-Git-Tag: v2025.04-rc2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a20c89bd05155675bd9f316c4cffc36961f1070;p=pandora-u-boot.git Merge patch series "led: add function naming option from linux" Heiko Schocher says: In linux we have the option to create the name of a led optionally through the following properties: - function - color - function-enumerator This series adds support for parsing this properties if there is no label property. Link: https://lore.kernel.org/r/20250128135246.74838-1-hs@denx.de [trini: Document name parameter in led.h] --- 7a20c89bd05155675bd9f316c4cffc36961f1070 diff --cc include/led.h index 64247cd3a70,a67db7af38d..2a7f38bf84b --- a/include/led.h +++ b/include/led.h @@@ -81,6 -86,6 +86,8 @@@ struct led_sw_blink * * @label: LED label * @default_state: LED default state ++ * @name: LED name, derived from function, color or function-enumerator ++ * property. * @sw_blink: LED software blink struct */ struct led_uc_plat {