Re: [PATCH v8 1/2] leds: flash: add driver to support flash LED module in QCOM PMICs

From: Lee Jones
Date: Wed Mar 15 2023 - 13:10:06 EST


On Fri, 03 Mar 2023, Fenglin Wu wrote:

> Add initial driver to support flash LED module found in Qualcomm
> Technologies, Inc. PMICs. The flash module can have 3 or 4 channels
> and each channel can be controlled indepedently and support full scale
> current up to 1.5 A. It also supports connecting two channels together
> to supply one LED component with full scale current up to 2 A. In that
> case, the current will be split on each channel symmetrically and the
> channels will be enabled and disabled at the same time.
>
> Signed-off-by: Fenglin Wu <quic_fenglinw@xxxxxxxxxxx>
> Tested-by: Luca Weiss <luca.weiss@xxxxxxxxxxxxx> # sm7225-fairphone-fp4 + pm6150l
> ---
> drivers/leds/flash/Kconfig | 15 +
> drivers/leds/flash/Makefile | 1 +
> drivers/leds/flash/leds-qcom-flash.c | 773 +++++++++++++++++++++++++++
> 3 files changed, 789 insertions(+)
> create mode 100644 drivers/leds/flash/leds-qcom-flash.c

Applied, thanks

--
Lee Jones [李琼斯]