Re: [PATCH RFC 1/3] dt-bindings: leds: aw2013: Add aw2027 compatible and rename to aw20xx
From: Conor Dooley
Date: Tue Sep 08 2026 - 16:33:26 EST
On Mon, Sep 07, 2026 at 04:47:51PM -0700, Paul Sajna wrote:
> Document the awinic,aw2027, which is very similar to aw2013.
> Rename the driver to support all of the 20xx series.
>
> Signed-off-by: Paul Sajna <sajattack@xxxxxxxxxxxxxxxx>
> ---
> .../bindings/leds/{leds-aw2013.yaml => leds-aw20xx.yaml} | 10 ++++++----
> 1 file changed, 6 insertions(+), 4 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/leds/leds-aw2013.yaml b/Documentation/devicetree/bindings/leds/leds-aw20xx.yaml
> similarity index 91%
> rename from Documentation/devicetree/bindings/leds/leds-aw2013.yaml
> rename to Documentation/devicetree/bindings/leds/leds-aw20xx.yaml
> index 26238446f2bd..f20b5344e3e1 100644
> --- a/Documentation/devicetree/bindings/leds/leds-aw2013.yaml
> +++ b/Documentation/devicetree/bindings/leds/leds-aw20xx.yaml
Please retain a filename matching a compatible. IOW, leave this alone.
pw-bot: changes-requested
The rest of this is fine, but please note in your commit message what
makes this device different to the existing one.
Thanks,
Conor.
> @@ -1,21 +1,23 @@
> # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> %YAML 1.2
> ---
> -$id: http://devicetree.org/schemas/leds/leds-aw2013.yaml#
> +$id: http://devicetree.org/schemas/leds/leds-aw20xx.yaml#
> $schema: http://devicetree.org/meta-schemas/core.yaml#
>
> -title: AWINIC AW2013 3-channel LED Driver
> +title: AWINIC AW20XX 3-channel LED Driver
>
> maintainers:
> - Nikita Travkin <nikitos.tr@xxxxxxxxx>
>
> description: |
> - The AW2013 is a 3-channel LED driver with I2C interface. It can control
> + The AW20XX is a 3-channel LED driver with I2C interface. It can control
> LED brightness with PWM output.
>
> properties:
> compatible:
> - const: awinic,aw2013
> + enum:
> + - awinic,aw2013
> + - awinic,aw2027
>
> reg:
> maxItems: 1
>
> --
> 2.55.0
>
Attachment:
signature.asc
Description: PGP signature