You've already forked linux-rockchip
mirror of
https://github.com/armbian/linux-rockchip.git
synced 2026-01-06 11:08:10 -08:00
power: supply: mt6360_charger: add MT6360 charger support
Add basic support for the battery charger for MT6360 PMIC Signed-off-by: Gene Chen <gene_chen@richtek.com> Reviewed-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
This commit is contained in:
committed by
Sebastian Reichel
parent
23531eec79
commit
0402e8ebb8
@@ -577,6 +577,17 @@ config CHARGER_MP2629
|
||||
Battery charger. This driver provides Battery charger power management
|
||||
functions on the systems.
|
||||
|
||||
config CHARGER_MT6360
|
||||
tristate "Mediatek MT6360 Charger Driver"
|
||||
depends on MFD_MT6360
|
||||
depends on REGULATOR
|
||||
select LINEAR_RANGES
|
||||
help
|
||||
Say Y here to enable MT6360 Charger Part.
|
||||
The device supports High-Accuracy Voltage/Current Regulation,
|
||||
Average Input Current Regulation, Battery Temperature Sensing,
|
||||
Over-Temperature Protection, DPDM Detection for BC1.2.
|
||||
|
||||
config CHARGER_QCOM_SMBB
|
||||
tristate "Qualcomm Switch-Mode Battery Charger and Boost"
|
||||
depends on MFD_SPMI_PMIC || COMPILE_TEST
|
||||
|
||||
@@ -78,6 +78,7 @@ obj-$(CONFIG_CHARGER_MAX77693) += max77693_charger.o
|
||||
obj-$(CONFIG_CHARGER_MAX8997) += max8997_charger.o
|
||||
obj-$(CONFIG_CHARGER_MAX8998) += max8998_charger.o
|
||||
obj-$(CONFIG_CHARGER_MP2629) += mp2629_charger.o
|
||||
obj-$(CONFIG_CHARGER_MT6360) += mt6360_charger.o
|
||||
obj-$(CONFIG_CHARGER_QCOM_SMBB) += qcom_smbb.o
|
||||
obj-$(CONFIG_CHARGER_BQ2415X) += bq2415x_charger.o
|
||||
obj-$(CONFIG_CHARGER_BQ24190) += bq24190_charger.o
|
||||
|
||||
867
drivers/power/supply/mt6360_charger.c
Normal file
867
drivers/power/supply/mt6360_charger.c
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user