]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dt-bindings: leds: import common led bindings from linux v6.5
authorTom Fitzhenry <tom@tom-fitzhenry.me.uk>
Tue, 17 Oct 2023 15:59:25 +0000 (02:59 +1100)
committerKever Yang <kever.yang@rock-chips.com>
Tue, 24 Oct 2023 07:55:16 +0000 (15:55 +0800)
This brings in more colours, e.g. ORANGE needed for the QuartzPro64 DT.

Linux commits:
472d7b9e8141 ("dt-bindings: leds: Expand LED_COLOR_ID definitions")

Signed-off-by: Tom Fitzhenry <tom@tom-fitzhenry.me.uk>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
include/dt-bindings/leds/common.h

index 3be89a7c20a9a45695e65759d01d96191f2f15f1..9a0d33d027fff4ee696d917bb0a8d59b98b2080f 100644 (file)
 #define LED_COLOR_ID_MULTI     8       /* For multicolor LEDs */
 #define LED_COLOR_ID_RGB       9       /* For multicolor LEDs that can do arbitrary color,
                                           so this would include RGBW and similar */
-#define LED_COLOR_ID_MAX       10
+#define LED_COLOR_ID_PURPLE    10
+#define LED_COLOR_ID_ORANGE    11
+#define LED_COLOR_ID_PINK      12
+#define LED_COLOR_ID_CYAN      13
+#define LED_COLOR_ID_LIME      14
+#define LED_COLOR_ID_MAX       15
 
 /* Standard LED functions */
 /* Keyboard LEDs, usually it would be input4::capslock etc. */