summaryrefslogtreecommitdiffstats
path: root/drivers/power/supply/Kconfig
diff options
context:
space:
mode:
authorMike Looijmans2017-05-09 07:44:17 +0200
committerSebastian Reichel2017-05-15 15:28:10 +0200
commitc94d4ed017ae6e2630647b917e775ab2fd8ea0f3 (patch)
treed54fd9ab36ab451cdd727df265efbf88ec42e808 /drivers/power/supply/Kconfig
parentdt-bindings: power: supply: New bindings for ltc3651-charger (diff)
downloadkernel-qcow2-linux-c94d4ed017ae6e2630647b917e775ab2fd8ea0f3.tar.gz
kernel-qcow2-linux-c94d4ed017ae6e2630647b917e775ab2fd8ea0f3.tar.xz
kernel-qcow2-linux-c94d4ed017ae6e2630647b917e775ab2fd8ea0f3.zip
power: supply: Add ltc3651-charger driver
The LTC3651 reports its status via GPIO lines. This driver translates the GPIO levels to battery charger status information via sysfs. It relies on devicetree to supply the IO configuration. Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Diffstat (limited to 'drivers/power/supply/Kconfig')
-rw-r--r--drivers/power/supply/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/power/supply/Kconfig b/drivers/power/supply/Kconfig
index 86f40bf37c34..30598aa05e21 100644
--- a/drivers/power/supply/Kconfig
+++ b/drivers/power/supply/Kconfig
@@ -408,6 +408,13 @@ config CHARGER_MANAGER
runtime and in suspend-to-RAM by waking up the system periodically
with help of suspend_again support.
+config CHARGER_LTC3651
+ tristate "LTC3651 charger"
+ depends on GPIOLIB
+ help
+ Say Y to include support for the LTC3651 battery charger which reports
+ its status via GPIO lines.
+
config CHARGER_MAX14577
tristate "Maxim MAX14577/77836 battery charger driver"
depends on MFD_MAX14577