[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250605-poised-furry-elephant-cadd08@kuoka>
Date: Thu, 5 Jun 2025 08:21:41 +0200
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Lukas Timmermann <linux@...mermann.space>
Cc: lee@...nel.org, pavel@...nel.org, robh@...nel.org, krzk+dt@...nel.org,
conor+dt@...nel.org, linux-leds@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 2/2] dt-bindings: leds: Add new as3668 support
On Thu, Jun 05, 2025 at 12:58:38AM GMT, Lukas Timmermann wrote:
> Document Osram as3668 LED driver devicetree bindings.
>
> Signed-off-by: Lukas Timmermann <linux@...mermann.space>
Please organize the patch documenting compatible (DT bindings) before their user.
See also: https://elixir.bootlin.com/linux/v6.14-rc6/source/Documentation/devicetree/bindings/submitting-patches.rst#L46
> ---
> .../devicetree/bindings/leds/leds-as3668.yaml | 76 +++++++++++++++++++
> 1 file changed, 76 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/leds/leds-as3668.yaml
>
> diff --git a/Documentation/devicetree/bindings/leds/leds-as3668.yaml b/Documentation/devicetree/bindings/leds/leds-as3668.yaml
> new file mode 100644
> index 000000000000..a9d698eb87d2
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/leds/leds-as3668.yaml
Filename matching compatible. ams,as3668.yaml
> @@ -0,0 +1,76 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/leds/leds-as3668.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Osram 4-channel i2c LED driver.
Drop full stop
> +
> +maintainers:
> + - Lukas Timmermann <linux@...mermann.space>
> +
> +description: |
Drop |, Do not need '|' unless you need to preserve formatting.
> + This IC can drive up to four separate LEDs.
> + Having four channels suggests it could be used with a single RGBW LED.
> +
> +properties:
> + compatible:
> + const: ams,as3668
> +
> + reg:
> + maxItems: 1
> + description:
> + I2C slave address
Drop description, obvious.
> +
> + "#address-cells":
> + const: 1
> +
> + "#size-cells":
> + const: 0
Missing gpio / pwm / audio input. I guess you omitted it because you do
not know how to implement the audio input part? Bindings should be
complete, so at least mention this in commit msg.
Best regards,
Krzysztof
Powered by blists - more mailing lists