On Tue, 30 Aug 2022, ChiaEn Wu wrote:
From: ChiaEn Wu <redacted>
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 <redacted>
Signed-off-by: ChiaEn Wu <redacted>
---
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 [李琼斯]
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel