Re: [PATCH v2 1/2] dt-bindings: leds: lp50xx: correct reg/unit addresses in example

From: Rob Herring
Date: Tue May 24 2022 - 14:34:37 EST


On Tue, May 24, 2022 at 09:08:14AM +0200, Krzysztof Kozlowski wrote:
> The multi-led node defined address/size cells, so it intended to have
> children with unit addresses.
>
> The second multi-led's reg property defined three LED indexes within one
> reg item, which is not correct - these are three separate items.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
>
> ---
>
> Changes since v1:
> 1. Correct multi-led unit address as well (Rob).
>
> Cc: Kyle Swenson <kyle.swenson@xxxxxxxx>
> ---
> .../devicetree/bindings/leds/leds-lp50xx.yaml | 24 ++++++++++++-------
> 1 file changed, 15 insertions(+), 9 deletions(-)

Reviewed-by: Rob Herring <robh@xxxxxxxxxx>