From: Krzysztof Kozlowski <krzk@kernel.org>
To: Rillian Grant <rillian.grant@gmail.com>
Cc: Lee Jones <lee@kernel.org>, Pavel Machek <pavel@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Ruslan Koreev <koreev.r@gmail.com>,
linux-leds@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 1/4] dt-bindings: leds: Document TI LM3643 dual LED flash driver
Date: Thu, 1 Oct 2026 08:34:28 +0200 [thread overview]
Message-ID: <20261001-humble-gray-aardvark-ae01ce@quoll> (raw)
In-Reply-To: <20260928094302.86966-2-rillian.grant@gmail.com>
On Mon, Sep 28, 2026 at 10:42:34AM +0100, Rillian Grant wrote:
> +properties:
> + compatible:
> + enum:
> + - ti,lm3643
> +
> + reg:
> + maxItems: 1
> +
Missing supply, enable-gpios.
> + "#address-cells":
> + const: 1
> +
> + "#size-cells":
> + const: 0
> +
> +patternProperties:
> + "^led@[0-1]$":
> + type: object
> + $ref: common.yaml#
> + unevaluatedProperties: false
> +
> + properties:
> + reg:
> + description: Index of the LED.
> + minimum: 0
Drop, that's alerady minimum.
> + maximum: 1
> +
> + led-sources:
> + minItems: 1
> + maxItems: 2
> + items:
> + minimum: 0
As well
> + maximum: 1
> +
> + flash-max-microamp:
> + description: |
> + Maximum flash current through this LED. Each high-side current source
> + can provide up to 1.5A. The maximum current the boost can deliver is
> + 1.5A across both sources.
> +
> + Valid values for an LED connected to one source:
> + 10900 - 1500000, step by 11725 (rounded down)
> + Valid values for an LED connected to both sources:
> + 21800 - 1500000, step by 23450 (rounded down)
> +
> + minimum: 10900
> + maximum: 1500000
> +
> + led-max-microamp:
> + description: |
> + Maximum torch current through this LED. In torch mode each high-side
> + current source can provide up to 179mA.
> +
> + Valid values for an LED connected to one source:
> + 977 - 179000, step by 1400 (rounded down)
> + Valid values for an LED connected to both sources:
> + 1954 - 358000, step by 2800 (rounded down)
> +
> + minimum: 977
> + maximum: 358000
> +
> + flash-max-timeout-us:
> + description: |
Drop |
> + The chip supports timeouts from 10ms to 100ms in increments of 10ms
> + and from 100ms to 400ms in increments of 50ms. The provided value
> + will be rounded down to a supported value.
> +
Drop blank line
> + minimum: 10000
> + maximum: 400000
> +
> + required:
> + - reg
> + - led-sources
> + - flash-max-microamp
> + - led-max-microamp
> + - flash-max-timeout-us
> +
> +required:
> + - compatible
> + - reg
> + - "#address-cells"
> + - "#size-cells"
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + #include <dt-bindings/leds/common.h>
> +
> + i2c {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + flash-led-controller@63 {
led-controller@63
Best regards,
Krzysztof
next prev parent reply other threads:[~2026-10-01 6:34 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-28 9:42 [PATCH v2 0/4] leds: flash: LM3643 dual LED flash driver Rillian Grant
2026-09-28 9:42 ` [PATCH v2 1/4] dt-bindings: leds: Document TI " Rillian Grant
2026-09-28 9:49 ` sashiko-bot
2026-10-01 6:34 ` Krzysztof Kozlowski [this message]
2026-09-28 9:42 ` [PATCH v2 2/4] leds: flash: Add support for the " Rillian Grant
2026-09-28 9:54 ` sashiko-bot
2026-09-28 9:42 ` [PATCH v2 3/4] leds: flash: lm3643: Describe the LED of ACPI boards without LED nodes Rillian Grant
2026-09-28 9:50 ` sashiko-bot
2026-09-28 10:08 ` Rillian Grant
2026-09-28 9:42 ` [PATCH v2 4/4] leds: flash: lm3643: Describe the LED on the Lenovo ThinkPad X9-15 Gen 1 Rillian Grant
2026-09-28 9:49 ` sashiko-bot
2026-09-29 9:29 ` [PATCH v2 0/4] leds: flash: LM3643 dual LED flash driver Ruslan Koreev
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=20261001-humble-gray-aardvark-ae01ce@quoll \
--to=krzk@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=koreev.r@gmail.com \
--cc=krzk+dt@kernel.org \
--cc=lee@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=pavel@kernel.org \
--cc=rillian.grant@gmail.com \
--cc=robh@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