]> git.baikalelectronics.ru Git - kernel.git/commit
video: backlight: mt6370: Add MediaTek MT6370 support
authorChiaEn Wu <chiaen_wu@richtek.com>
Tue, 30 Aug 2022 03:40:42 +0000 (11:40 +0800)
committerLee Jones <lee@kernel.org>
Thu, 8 Sep 2022 07:50:57 +0000 (08:50 +0100)
commitb64b25b6a307a8d501e90ae44afd14d119cad70e
tree31b6453b416e98a3659c66b6fd77a94312dcf405
parente2195c7b3e560f2a243935cea03820870d55e83d
video: backlight: mt6370: Add MediaTek MT6370 support

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>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20220830034042.9354-11-peterwu.pub@gmail.com
drivers/video/backlight/Kconfig
drivers/video/backlight/Makefile
drivers/video/backlight/mt6370-backlight.c [new file with mode: 0644]