diff mbox series

[v3,4/9] dt-bindings: leds: Add multicolor ID to the color ID list

Message ID 20190523190820.29375-5-dmurphy@ti.com
State New
Headers show
Series [v3,1/9] leds: multicolor: Add sysfs interface definition | expand

Commit Message

Dan Murphy May 23, 2019, 7:08 p.m. UTC
Add a new color ID that is declared as MULTICOLOR as with the
multicolor framework declaring a definitive color is not accurate
as the node can contain multiple colors.

Signed-off-by: Dan Murphy <dmurphy@ti.com>

---
 include/dt-bindings/leds/common.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

-- 
2.21.0.5.gaeb582a983

Comments

Rob Herring June 14, 2019, 5 p.m. UTC | #1
On Thu, 23 May 2019 14:08:15 -0500, Dan Murphy wrote:
> Add a new color ID that is declared as MULTICOLOR as with the

> multicolor framework declaring a definitive color is not accurate

> as the node can contain multiple colors.

> 

> Signed-off-by: Dan Murphy <dmurphy@ti.com>

> ---

>  include/dt-bindings/leds/common.h | 3 ++-

>  1 file changed, 2 insertions(+), 1 deletion(-)

> 


Reviewed-by: Rob Herring <robh@kernel.org>
diff mbox series

Patch

diff --git a/include/dt-bindings/leds/common.h b/include/dt-bindings/leds/common.h
index d8c8c38700bd..259cea653844 100644
--- a/include/dt-bindings/leds/common.h
+++ b/include/dt-bindings/leds/common.h
@@ -65,6 +65,7 @@ 
 #define LED_COLOR_ID_VIOLET	5
 #define LED_COLOR_ID_YELLOW	6
 #define LED_COLOR_ID_IR		7
-#define LED_COLOR_ID_COUNT	8
+#define LED_COLOR_ID_MULTI	8
+#define LED_COLOR_ID_COUNT	9
 
 #endif /* __DT_BINDINGS_LEDS_H */