Re: [PATCH] dt: bindings: lp55xx: Updte yaml examples with new color ID
From: Rob Herring
Date: Mon Sep 28 2020 - 12:18:34 EST
On Wed, Aug 12, 2020 at 2:32 PM Dan Murphy <dmurphy@xxxxxx> wrote:
>
> Update the binding examples for the color ID to LED_COLOR_ID_RGB
>
> Signed-off-by: Dan Murphy <dmurphy@xxxxxx>
> ---
> Documentation/devicetree/bindings/leds/leds-lp55xx.yaml | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/leds/leds-lp55xx.yaml b/Documentation/devicetree/bindings/leds/leds-lp55xx.yaml
> index b1bb3feb0f4d..89f69d62493e 100644
> --- a/Documentation/devicetree/bindings/leds/leds-lp55xx.yaml
> +++ b/Documentation/devicetree/bindings/leds/leds-lp55xx.yaml
> @@ -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