mirror of
https://github.com/torvalds/linux.git
synced 2024-11-30 08:01:59 +00:00
power: supply: Add charger driver for Rockchip RK817
Add support for the Rockchip rk817 battery charger integrated into the rk817 PMIC. Signed-off-by: Chris Morgan <macromorgan@hotmail.com> Signed-off-by: Maya Matuszczyk <maccraft123mc@gmail.com> Acked-by: Sebastian Reichel <sebastian.reichel@collabora.com> Signed-off-by: Lee Jones <lee@kernel.org> Link: https://lore.kernel.org/r/20220827021623.23829-4-macroalpha82@gmail.com
This commit is contained in:
parent
e1f1629df9
commit
11cb8da018
@ -708,6 +708,12 @@ config CHARGER_BQ256XX
|
||||
charge management and system power path management devices for single
|
||||
cell Li-ion and Li-polymer batteries.
|
||||
|
||||
config CHARGER_RK817
|
||||
tristate "Rockchip RK817 PMIC Battery Charger"
|
||||
depends on MFD_RK808
|
||||
help
|
||||
Say Y to include support for Rockchip RK817 Battery Charger.
|
||||
|
||||
config CHARGER_SMB347
|
||||
tristate "Summit Microelectronics SMB3XX Battery Charger"
|
||||
depends on I2C
|
||||
|
@ -91,6 +91,7 @@ obj-$(CONFIG_CHARGER_BQ2515X) += bq2515x_charger.o
|
||||
obj-$(CONFIG_CHARGER_BQ25890) += bq25890_charger.o
|
||||
obj-$(CONFIG_CHARGER_BQ25980) += bq25980_charger.o
|
||||
obj-$(CONFIG_CHARGER_BQ256XX) += bq256xx_charger.o
|
||||
obj-$(CONFIG_CHARGER_RK817) += rk817_charger.o
|
||||
obj-$(CONFIG_CHARGER_SMB347) += smb347-charger.o
|
||||
obj-$(CONFIG_CHARGER_TPS65090) += tps65090-charger.o
|
||||
obj-$(CONFIG_CHARGER_TPS65217) += tps65217_charger.o
|
||||
|
1211
drivers/power/supply/rk817_charger.c
Normal file
1211
drivers/power/supply/rk817_charger.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user