From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: "Abdel Alkuor" <alkuor@gmail.com>, "Pavel Machek" <pavel@ucw.cz>,
"Lee Jones" <lee@kernel.org>, "Rob Herring" <robh+dt@kernel.org>,
"Krzysztof Kozlowski" <krzysztof.kozlowski+dt@linaro.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Jean-Jacques Hiblot" <jjhiblot@traphandler.com>,
"Jacek Anaszewski" <jacek.anaszewski@gmail.com>,
"Alice Chen" <alice_chen@richtek.com>,
"ChiaEn Wu" <chiaen_wu@richtek.com>,
"ChiYuan Huang" <cy_huang@richtek.com>,
"André Apitzsch" <git@apitzsch.eu>,
"Lukas Bulwahn" <lukas.bulwahn@gmail.com>
Cc: linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org,
devicetree@vger.kernel.org
Subject: Re: [PATCH 1/2] dt: bindings: leds: Add NCP5623 multi-LED Controller
Date: Mon, 5 Feb 2024 09:39:59 +0100 [thread overview]
Message-ID: <abe2930b-8fd0-4fa7-8abe-a036525a21ce@linaro.org> (raw)
In-Reply-To: <20240203175910.301099-1-alkuor@gmail.com>
On 03/02/2024 18:58, Abdel Alkuor wrote:
> NCP5623 is DC-DC multi-LED controller which can be used for
> RGB illumination or backlight LCD display. NCP5623
> provides 94% peak efficiency.
Drop marketing.
Please use subject prefixes matching the subsystem. You can get them for
example with `git log --oneline -- DIRECTORY_OR_FILE` on the directory
your patch is touching.
It's dt-bindings.
>
> Signed-off-by: Abdel Alkuor <alkuor@gmail.com>
> ---
> .../bindings/leds/onnn,ncp5623.yaml | 98 +++++++++++++++++++
> 1 file changed, 98 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/leds/onnn,ncp5623.yaml
>
> diff --git a/Documentation/devicetree/bindings/leds/onnn,ncp5623.yaml b/Documentation/devicetree/bindings/leds/onnn,ncp5623.yaml
> new file mode 100644
> index 000000000000..696bc7d8c8f9
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/leds/onnn,ncp5623.yaml
> @@ -0,0 +1,98 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/leds/onnn,ncp5623.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: ON Semiconductor NCP5623 multi-LED Driver
> +
> +maintainers:
> + - Abdel Alkuor <alkuor@gmail.com>
> +
> +description: |
Do not need '|' unless you need to preserve formatting.
> + NCP5623 Triple Output I2C Controlled LED Driver.
> + https://www.onsemi.com/pdf/datasheet/ncp5623-d.pdf
> +
> +properties:
> + compatible:
> + enum:
> + - onnn,ncp5623
> +
> + reg:
> + enum:
Instead "const", or just maxItems: 1
> + - 0x38
> +
> + multi-led:
> + type: object
> + $ref: leds-class-multicolor.yaml#
> + unevaluatedProperties: false
> +
> + properties:
> + "#address-cells":
> + const: 1
> +
> + "#size-cells":
> + const: 0
> +
> + patternProperties:
> + "^led@[0-2]$":
> + type: object
> + $ref: common.yaml#
> + unevaluatedProperties: false
> +
> + properties:
> + reg:
> + description: Index of the LED.
Drop description, it is obvious.
> + minimum: 0
> + maximum: 2
> +
> + required:
> + - reg
> + - color
> +
> + required:
> + - "#address-cells"
> + - "#size-cells"
Best regards,
Krzysztof
prev parent reply other threads:[~2024-02-05 8:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-03 17:58 [PATCH 1/2] dt: bindings: leds: Add NCP5623 multi-LED Controller Abdel Alkuor
2024-02-03 17:58 ` [PATCH 2/2] leds: Add NCP5623 multi-led driver Abdel Alkuor
2024-02-08 13:01 ` Lee Jones
2024-02-11 12:29 ` Abdel Alkuor
2024-02-23 16:20 ` Lee Jones
2024-02-13 9:18 ` Pavel Machek
2024-02-17 21:49 ` Abdel Alkuor
2024-02-05 8:39 ` Krzysztof Kozlowski [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=abe2930b-8fd0-4fa7-8abe-a036525a21ce@linaro.org \
--to=krzysztof.kozlowski@linaro.org \
--cc=alice_chen@richtek.com \
--cc=alkuor@gmail.com \
--cc=chiaen_wu@richtek.com \
--cc=conor+dt@kernel.org \
--cc=cy_huang@richtek.com \
--cc=devicetree@vger.kernel.org \
--cc=git@apitzsch.eu \
--cc=jacek.anaszewski@gmail.com \
--cc=jjhiblot@traphandler.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=lee@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=lukas.bulwahn@gmail.com \
--cc=pavel@ucw.cz \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).