Re: [PATCH v9 10/10] video: backlight: mt6370: Add MediaTek MT6370 support

Lee Jones
2022-09-05T15:18:02Z

On Tue, 30 Aug 2022, ChiaEn Wu wrote:

> From: ChiaEn Wu <chiaen_wu@richtek.com>
>
> MediaTek MT6370 is a SubPMIC consisting of a single cell battery charger
> with ADC monitoring, RGB LEDs, dual channel flashlight, WLED backlight
> driver, display bias voltage supply, one general purpose LDO, and the
> USB Type-C & PD controller complies with the latest USB Type-C and PD
> standards.
>
> Add support for the MediaTek MT6370 backlight driver.
> It controls 4 channels of 8 series WLEDs in
> 2048 (only for MT6370/MT6371) / 16384 (only for MT6372)
> current steps (30 mA) in exponential or linear mapping curves.
>
> Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
> Signed-off-by: ChiaEn Wu <chiaen_wu@richtek.com>
> ---
>
> v9
> - Revise the format of the comments.
> ---
> drivers/video/backlight/Kconfig | 13 ++
> drivers/video/backlight/Makefile | 1 +
> drivers/video/backlight/mt6370-backlight.c | 351 +++++++++++++++++++++++++++++
> 3 files changed, 365 insertions(+)
> create mode 100644 drivers/video/backlight/mt6370-backlight.c

Applied, thanks.

--
Lee Jones [李琼斯]