power: supply: mt6370: Add MediaTek MT6370 charger driver
authorChiaEn Wu <chiaen_wu@richtek.com>
Thu, 15 Sep 2022 09:47:35 +0000 (17:47 +0800)
committerSebastian Reichel <sre@kernel.org>
Fri, 16 Sep 2022 20:35:29 +0000 (22:35 +0200)
commit233cb8a47d65715643f7608e7130b417df115d9f
tree86348de00c2c260ec26875127b4b049507d12569
parent689af5da8543d4378aed8f74696bad59a15d5a78
power: supply: mt6370: Add MediaTek MT6370 charger driver

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 Charger driver. The charger module
of MT6370 supports High-Accuracy Voltage/Current Regulation,
Average Input Current Regulation, Battery Temperature Sensing,
Over-Temperature Protection, DPDM Detection for BC1.2.

Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: ChiaEn Wu <chiaen_wu@richtek.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/Kconfig
drivers/power/supply/Makefile
drivers/power/supply/mt6370-charger.c [new file with mode: 0644]