diff options
author | Ramakrishna Pallala <ramakrishna.pallala@intel.com> | 2015-05-04 22:16:07 +0530 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2015-05-24 10:32:24 +0200 |
commit | 843735b788a4e49c453f4aefdae80e6dfbe9ee85 (patch) | |
tree | 07f78ff4e44bf8f6ffdca5ab18e2a89f5a890d79 /drivers/power/Kconfig | |
parent | edd4ab0559316a1efe0881a4e2ccaeb4fec73142 (diff) | |
download | op-kernel-dev-843735b788a4e49c453f4aefdae80e6dfbe9ee85.zip op-kernel-dev-843735b788a4e49c453f4aefdae80e6dfbe9ee85.tar.gz |
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 <ramakrishna.pallala@intel.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'drivers/power/Kconfig')
-rw-r--r-- | drivers/power/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig index 0fe5b08..a848b1a 100644 --- a/drivers/power/Kconfig +++ b/drivers/power/Kconfig @@ -204,6 +204,13 @@ config CHARGER_DA9150 This driver can also be built as a module. If so, the module will be called da9150-charger. +config AXP288_CHARGER + tristate "X-Powers AXP288 Charger" + depends on MFD_AXP20X && EXTCON_AXP288 + help + Say yes here to have support X-Power AXP288 power management IC (PMIC) + integrated charger. + config AXP288_FUEL_GAUGE tristate "X-Powers AXP288 Fuel Gauge" depends on MFD_AXP20X && IIO |