diff options
author | Tom Fitzhenry <tom@tom-fitzhenry.me.uk> | 2023-10-18 02:59:25 +1100 |
---|---|---|
committer | Kever Yang <kever.yang@rock-chips.com> | 2023-10-24 15:55:16 +0800 |
commit | 6ea2477a96d2ffa2c5f287fba51654e6a3ad8b10 (patch) | |
tree | 02d8fd9c0b16122afe6ece5cab2465ef1ab1450e /include/dt-bindings | |
parent | ad84cc8678ea7da61227f46095306aeb4720e8b5 (diff) | |
download | u-boot-6ea2477a96d2ffa2c5f287fba51654e6a3ad8b10.zip u-boot-6ea2477a96d2ffa2c5f287fba51654e6a3ad8b10.tar.gz u-boot-6ea2477a96d2ffa2c5f287fba51654e6a3ad8b10.tar.bz2 |
dt-bindings: leds: import common led bindings from linux v6.5
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>
Diffstat (limited to 'include/dt-bindings')
-rw-r--r-- | include/dt-bindings/leds/common.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/dt-bindings/leds/common.h b/include/dt-bindings/leds/common.h index 3be89a7..9a0d33d 100644 --- a/include/dt-bindings/leds/common.h +++ b/include/dt-bindings/leds/common.h @@ -33,7 +33,12 @@ #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. */ |