Skip to contentSkip to conversation

dt: bindings: lp55xx: Updte yaml examples with new color ID

PATCH Applied Dan Murphy 3 participants 5 messages Aug 12, 2020 – Sep 28, 2020

Subsystems (2)
lore
Share & tools
lore

Dan Murphy

author
#0 lore raw

PATCH 1/1 dt: bindings: lp55xx: Updte yaml examples with new color ID

Update the binding examples for the color ID to LED_COLOR_ID_RGB

---
 Documentation/devicetree/bindings/leds/leds-lp55xx.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/leds/leds-lp55xx.yaml +1 -1
index b1bb3feb0f4d..89f69d62493e 100644
@@ -189,7 +189,7 @@ examples:
                #address-cells = <1>;
                #size-cells = <0>;
                reg = <0x2>;
-               color = <LED_COLOR_ID_MULTI>;
+               color = <LED_COLOR_ID_RGB>;
                function = LED_FUNCTION_STANDBY;
                linux,default-trigger = "heartbeat";
 
Signature · 1 line
2.28.0
author
#1 lore raw

Pavel

Quoted 12 lines · Dan Murphy

Update the binding examples for the color ID to LED_COLOR_ID_RGB

---
  Documentation/devicetree/bindings/leds/leds-lp55xx.yaml | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/leds/leds-lp55xx.yaml +0 -0
index b1bb3feb0f4d..89f69d62493e 100644

Documentation/devicetree/bindings/leds/leds-lp55xx.yaml examples: · line 195

Quoted 8 lines
Documentation/devicetree/bindings/leds/leds-lp55xx.yaml +1 -1
@@ -189,7 +189,7 @@ examples:
                 #address-cells = <1>;
                 #size-cells = <0>;
                 reg = <0x2>;
-               color = <LED_COLOR_ID_MULTI>;
+               color = <LED_COLOR_ID_RGB>;
                 function = LED_FUNCTION_STANDBY;
                 linux,default-trigger = "heartbeat";
 

Don't forget this simple update to the LP55xx yaml file.

Dan

Applied
#3 lore raw
In reply to Dan Murphy
Quoted 3 lines · Dan Murphy

Update the binding examples for the color ID to LED_COLOR_ID_RGB

Thanks, applied.

BR,
Pavel

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
maintainer
#4 lore raw
In reply to Dan Murphy
Quoted 13 lines · Dan Murphy

Update the binding examples for the color ID to LED_COLOR_ID_RGB

---
 Documentation/devicetree/bindings/leds/leds-lp55xx.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/leds/leds-lp55xx.yaml +0 -0
index b1bb3feb0f4d..89f69d62493e 100644

Documentation/devicetree/bindings/leds/leds-lp55xx.yaml examples: · line 192

Quoted 5 lines
Documentation/devicetree/bindings/leds/leds-lp55xx.yaml +1 -1
@@ -189,7 +189,7 @@ examples:
                #address-cells = <1>;
                #size-cells = <0>;
                reg = <0x2>;
-               color = <LED_COLOR_ID_MULTI>;
+               color = <LED_COLOR_ID_RGB>;

Looks like common.yaml needs updating too:

Documentation/devicetree/bindings/leds/leds-lp55xx.example.dt.yaml:
led-controller@33: multi-led@2:color:0:0: 9 is greater than the
maximum of 8
From schema: /builds/robherring/linux-dt-bindings/Documentation/devicetree/bindings/leds/leds-lp55xx.yaml

Rob