[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <9b9bb222-7545-4dd7-9233-fe5122b44d40@kernel.org>
Date: Tue, 11 Feb 2025 20:11:58 +0100
From: Krzysztof Kozlowski <krzk@...nel.org>
To: j.ne@...teo.net, Pavel Machek <pavel@....cz>, Lee Jones <lee@...nel.org>,
Rob Herring <robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, Andrew Davis <afd@...com>
Cc: linux-leds@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] dt-bindings: leds: Allow differently named multicolor
leds
On 09/02/2025 23:06, J. Neuschäfer via B4 Relay wrote:
> From: "J. Neuschäfer" <j.ne@...teo.net>
>
> In some cases, a board may have multiple multi-leds, which can't be
> distinguished by unit address. In such cases it should be possible to
> name them differently, for example multi-led-a and multi-led-b.
> This patch adds another node name pattern to leds-class-multicolor.yaml
> to allow such names.
>
> Signed-off-by: J. Neuschäfer <j.ne@...teo.net>
> ---
> Documentation/devicetree/bindings/leds/leds-class-multicolor.yaml | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/leds/leds-class-multicolor.yaml b/Documentation/devicetree/bindings/leds/leds-class-multicolor.yaml
> index bb40bb9e036ee00e06d21e2321ecd5a7d471c408..c22af25b6430be71300c0e37f696cd61112ea190 100644
> --- a/Documentation/devicetree/bindings/leds/leds-class-multicolor.yaml
> +++ b/Documentation/devicetree/bindings/leds/leds-class-multicolor.yaml
> @@ -21,7 +21,9 @@ description: |
>
> properties:
> $nodename:
> - pattern: "^multi-led(@[0-9a-f])?$"
> + oneOf:
> + - pattern: "^multi-led(@[0-9a-f])?$"
> + - pattern: "^multi-led-.*$"
I don't see any bindings using this or allowing this. If this is because
of some new binding, it is supposed to be part of that patchset.
Otherwise please provide reference which binding needs this.
Best regards,
Krzysztof
Powered by blists - more mailing lists