[PATCH] dt-bindings: leds: Last color id is now 14 (LED_COLOR_ID_LIME)

Ondřej Jirman posted 1 patch 2 years, 4 months ago
Documentation/devicetree/bindings/leds/common.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] dt-bindings: leds: Last color id is now 14 (LED_COLOR_ID_LIME)
Posted by Ondřej Jirman 2 years, 4 months ago
From: Ondrej Jirman <megi@xff.cz>

Increase the limit to match available values in dt-bindings/leds/common.h

Signed-off-by: Ondrej Jirman <megi@xff.cz>
---
 Documentation/devicetree/bindings/leds/common.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/leds/common.yaml b/Documentation/devicetree/bindings/leds/common.yaml
index 5fb7007f3618..8bb8a519ed28 100644
--- a/Documentation/devicetree/bindings/leds/common.yaml
+++ b/Documentation/devicetree/bindings/leds/common.yaml
@@ -43,7 +43,7 @@ properties:
       LED_COLOR_ID available, add a new one.
     $ref: /schemas/types.yaml#/definitions/uint32
     minimum: 0
-    maximum: 9
+    maximum: 14
 
   function-enumerator:
     description:
-- 
2.42.0
Re: [PATCH] dt-bindings: leds: Last color id is now 14 (LED_COLOR_ID_LIME)
Posted by Lee Jones 2 years, 3 months ago
On Sun, 08 Oct 2023 16:21:00 +0200, Ondřej Jirman wrote:
> Increase the limit to match available values in dt-bindings/leds/common.h
> 
> 

Applied, thanks!

[1/1] dt-bindings: leds: Last color id is now 14 (LED_COLOR_ID_LIME)
      commit: fdb7bb34af8b063b5a8bb1290af4252c38d935ea

--
Lee Jones [李琼斯]

Re: [PATCH] dt-bindings: leds: Last color id is now 14 (LED_COLOR_ID_LIME)
Posted by Krzysztof Kozlowski 2 years, 4 months ago
On 08/10/2023 16:21, Ondřej Jirman wrote:
> From: Ondrej Jirman <megi@xff.cz>
> 
> Increase the limit to match available values in dt-bindings/leds/common.h
> 
> Signed-off-by: Ondrej Jirman <megi@xff.cz>

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

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>


Best regards,
Krzysztof