On Tue, Mar 31, 2026 at 7:08 PM Rudraksha Gupta via B4 Relay <[email protected]> wrote:
> From: Rudraksha Gupta <[email protected]> > > Extend the RT8515 driver to support flash ICs that use only a single > GPIO for both flash and torch modes (no separate ENT pin), with an > optional vin regulator that gates power to the flash IC. > > When vin-supply is provided, the driver enables the regulator before > activating the LED and disables it when turning off. > > Make ent-gpios optional and validate at probe time that exactly one of > ent-gpios or vin-supply is provided. When ent-gpios is absent, the > driver uses enf-gpios for both flash and torch brightness control. > > Assisted-by: Claude:claude-opus-4.6 > Signed-off-by: Rudraksha Gupta <[email protected]> Excellent this looks good to me! Reviewed-by: Linus Walleij <[email protected]> Yours, Linus Walleij

