summaryrefslogtreecommitdiff
path: root/include/dt-bindings/leds
diff options
context:
space:
mode:
authorDan Murphy <dmurphy@ti.com>2020-07-13 10:45:31 -0500
committerPavel Machek <pavel@ucw.cz>2020-07-15 19:33:04 +0200
commit5c7f8ffe741daae7f8d811a2037b2693f02c90c5 (patch)
tree7867364d99eeaddf997eef512bfcc777c91b78a3 /include/dt-bindings/leds
parent7105e4647bcdbdce746289c00ba0a8a0ec790d20 (diff)
dt: bindings: Add multicolor class dt bindings documention
Add DT bindings for the LEDs multicolor class framework. Add multicolor ID to the color ID list for device tree bindings. CC: Rob Herring <robh@kernel.org> Reviewed-by: Rob Herring <robh@kernel.org> Acked-by: Pavel Machek <pavel@ucw.cz> Acked-by: Jacek Anaszewski <jacek.anaszewski@gmail.com> Signed-off-by: Dan Murphy <dmurphy@ti.com> Reviewed-by: Marek BehĂșn <marek.behun@nic.cz> Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'include/dt-bindings/leds')
-rw-r--r--include/dt-bindings/leds/common.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/dt-bindings/leds/common.h b/include/dt-bindings/leds/common.h
index 0ce7dfc00dcb..a463ce6a8794 100644
--- a/include/dt-bindings/leds/common.h
+++ b/include/dt-bindings/leds/common.h
@@ -30,7 +30,8 @@
#define LED_COLOR_ID_VIOLET 5
#define LED_COLOR_ID_YELLOW 6
#define LED_COLOR_ID_IR 7
-#define LED_COLOR_ID_MAX 8
+#define LED_COLOR_ID_MULTI 8
+#define LED_COLOR_ID_MAX 9
/* Standard LED functions */
/* Keyboard LEDs, usually it would be input4::capslock etc. */