Skip to content

Commit 843735b

Browse files
Ramakrishna Pallalasre
authored andcommitted
power: axp288_charger: axp288 charger driver
This patch adds new power supply charger driver support for X-Power AXP288 PMIC integrated charger. This driver interfaces with the axp20x mfd driver as a cell and listens to extcon cable events for setting up charging. Signed-off-by: Ramakrishna Pallala <[email protected]> Acked-by: Lee Jones <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
1 parent edd4ab0 commit 843735b

File tree

4 files changed

+956
-0
lines changed

4 files changed

+956
-0
lines changed

drivers/power/Kconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,13 @@ config CHARGER_DA9150
204204
This driver can also be built as a module. If so, the module will be
205205
called da9150-charger.
206206

207+
config AXP288_CHARGER
208+
tristate "X-Powers AXP288 Charger"
209+
depends on MFD_AXP20X && EXTCON_AXP288
210+
help
211+
Say yes here to have support X-Power AXP288 power management IC (PMIC)
212+
integrated charger.
213+
207214
config AXP288_FUEL_GAUGE
208215
tristate "X-Powers AXP288 Fuel Gauge"
209216
depends on MFD_AXP20X && IIO

drivers/power/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,4 @@ obj-$(CONFIG_CHARGER_SMB347) += smb347-charger.o
6666
obj-$(CONFIG_CHARGER_TPS65090) += tps65090-charger.o
6767
obj-$(CONFIG_POWER_RESET) += reset/
6868
obj-$(CONFIG_AXP288_FUEL_GAUGE) += axp288_fuel_gauge.o
69+
obj-$(CONFIG_AXP288_CHARGER) += axp288_charger.o

0 commit comments

Comments
 (0)