Re: [PATCH v2 1/3] dt-bindings: leds: rt8515: Support single-GPIO flash ICs with vin supply

From: Linus Walleij

Date: Thu Mar 19 2026 - 08:40:53 EST


On Wed, Mar 18, 2026 at 7:34 PM Rudraksha Gupta via B4 Relay
<devnull+guptarud.gmail.com@xxxxxxxxxx> wrote:

> From: Rudraksha Gupta <guptarud@xxxxxxxxx>
>
> Some flash ICs use the same one-wire pulse-count protocol as the RT8515
> but have only a single enable line for both flash and torch modes, plus
> an optional input voltage supply (e.g. a GPIO-controlled fixed
> regulator) that gates power to the chip.
>
> Make ent-gpios optional and add a vin-supply property to support these
> variants. Add a oneOf constraint requiring exactly one of ent-gpios or
> vin-supply. Add a binding example showing the single-GPIO configuration
> with an input supply.
>
> Signed-off-by: Rudraksha Gupta <guptarud@xxxxxxxxx>

This looks right to me!
Reviewed-by: Linus Walleij <linusw@xxxxxxxxxx>

Yours,
Linus Walleij