mirror of
https://github.com/armbian/linux-cix.git
synced 2026-01-06 12:30:45 -08:00
power: Add support for DA9150 Charger
This patch adds support for DA9150 Charger & Fuel-Gauge IC Charger. Signed-off-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com> Signed-off-by: Sebastian Reichel <sre@kernel.org>
This commit is contained in:
committed by
Sebastian Reichel
parent
867fe7c31d
commit
c1a281e34d
@@ -192,6 +192,18 @@ config BATTERY_DA9052
|
||||
Say Y here to enable support for batteries charger integrated into
|
||||
DA9052 PMIC.
|
||||
|
||||
config CHARGER_DA9150
|
||||
tristate "Dialog Semiconductor DA9150 Charger support"
|
||||
depends on MFD_DA9150
|
||||
depends on DA9150_GPADC
|
||||
depends on IIO
|
||||
help
|
||||
Say Y here to enable support for charger unit of the DA9150
|
||||
Integrated Charger & Fuel-Gauge IC.
|
||||
|
||||
This driver can also be built as a module. If so, the module will be
|
||||
called da9150-charger.
|
||||
|
||||
config BATTERY_MAX17040
|
||||
tristate "Maxim MAX17040 Fuel Gauge"
|
||||
depends on I2C
|
||||
|
||||
@@ -32,6 +32,7 @@ obj-$(CONFIG_BATTERY_SBS) += sbs-battery.o
|
||||
obj-$(CONFIG_BATTERY_BQ27x00) += bq27x00_battery.o
|
||||
obj-$(CONFIG_BATTERY_DA9030) += da9030_battery.o
|
||||
obj-$(CONFIG_BATTERY_DA9052) += da9052-battery.o
|
||||
obj-$(CONFIG_CHARGER_DA9150) += da9150-charger.o
|
||||
obj-$(CONFIG_BATTERY_MAX17040) += max17040_battery.o
|
||||
obj-$(CONFIG_BATTERY_MAX17042) += max17042_battery.o
|
||||
obj-$(CONFIG_BATTERY_Z2) += z2_battery.o
|
||||
|
||||
688
drivers/power/da9150-charger.c
Normal file
688
drivers/power/da9150-charger.c
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user