From: Conor Dooley <conor@kernel.org>
To: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Cc: Pavel Machek <pavel@ucw.cz>, Lee Jones <lee@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Steffen Trumtrar <kernel@pengutronix.de>,
linux-leds@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] dt-bindings: leds: add lp5860 LED controller
Date: Thu, 20 Feb 2025 17:03:41 +0000 [thread overview]
Message-ID: <20250220-gab-bagful-ce588df069d2@spud> (raw)
In-Reply-To: <20250220-v6-14-topic-ti-lp5860-v1-1-42874bdc7513@pengutronix.de>
[-- Attachment #1: Type: text/plain, Size: 2485 bytes --]
On Thu, Feb 20, 2025 at 01:57:56PM +0100, Steffen Trumtrar wrote:
> The lp5860 is a LED matrix driver with 18 constant current sinks and 11
> scan switches for 198 LED dots:
> * Supply range from 2.7 V to 5.5 V
> * 0.1mA - 50mA per current sink
> * 1MHz I2C and 12MHz SPI control interface
> * 8-bit analog dimming
> * 8/16-bit PWM dimming
> * individual ON and OFF control for each LED dot
> * globat 3-bit Maximum Current setting for all LED dots
> * individual LED dot open/short detection
>
> Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
> ---
> .../devicetree/bindings/leds/leds-lp5860.yaml | 112 +++++++++++++++++++++
> 1 file changed, 112 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/leds/leds-lp5860.yaml b/Documentation/devicetree/bindings/leds/leds-lp5860.yaml
> new file mode 100644
> index 0000000000000000000000000000000000000000..a4e39fd843f3f260ee9c1103e2cb27dcb230608c
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/leds/leds-lp5860.yaml
> @@ -0,0 +1,112 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/leds/leds-lp5860.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: LED driver for LP5860 RGB LED from Texas Instruments.
> +
> +maintainers:
> + - Steffen Trumtrar <kernel@pengutronix.de>
> +
> +description: |
> + The LP5860 is multi-channel, I2C and SPI RGB LED Driver that can group RGB LEDs
> + into a LED group or control them individually.
> +
> + For more product information please see the link below:
> + https://www.ti.com/lit/ds/symlink/lp5860.pdf
> +
> +properties:
> + compatible:
> + enum:
> + - ti,lp5860
> +
> + reg:
> + maxItems: 1
> +
> + spi-max-frequency:
> + maximum: 12000000
> +
> + '#address-cells':
> + const: 1
> +
> + '#size-cells':
> + const: 0
> +
> +patternProperties:
> + '^multi-led@[0-9a-f]$':
> + type: object
> + $ref: leds-class-multicolor.yaml#
> + unevaluatedProperties: false
> +
> + properties:
> + reg:
> + minItems: 1
> + maxItems: 12
> + description:
> + This property denotes the LED module number(s) that is used
> + for the child node.
I'm not really sure what you're attmpting here with the minItems: 1, maxItems: 12.
Are you sure you didn't mean maxItems: 1, minimum: 1, maximum: 12?
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
next prev parent reply other threads:[~2025-02-20 17:03 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-20 12:57 [PATCH 0/2] LED: Add basic LP5860 LED matrix driver Steffen Trumtrar
2025-02-20 12:57 ` [PATCH 1/2] dt-bindings: leds: add lp5860 LED controller Steffen Trumtrar
2025-02-20 17:03 ` Conor Dooley [this message]
2025-02-20 12:57 ` [PATCH 2/2] leds: add support for TI LP5860 LED driver chip Steffen Trumtrar
2025-02-21 8:42 ` Krzysztof Kozlowski
2025-02-20 14:11 ` [PATCH 0/2] LED: Add basic LP5860 LED matrix driver Steffen Trumtrar
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=20250220-gab-bagful-ce588df069d2@spud \
--to=conor@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=kernel@pengutronix.de \
--cc=krzk+dt@kernel.org \
--cc=lee@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=pavel@ucw.cz \
--cc=robh@kernel.org \
--cc=s.trumtrar@pengutronix.de \
/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