diff options
author | Mike Looijmans <mike.looijmans@topic.nl> | 2017-05-09 07:44:17 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2017-05-15 15:28:10 +0200 |
commit | c94d4ed017ae6e2630647b917e775ab2fd8ea0f3 (patch) | |
tree | d54fd9ab36ab451cdd727df265efbf88ec42e808 /drivers/power/supply/Kconfig | |
parent | 9d556bb4ad51b2fa3ba30cda93b419b71c98ce33 (diff) | |
download | linux-c94d4ed017ae6e2630647b917e775ab2fd8ea0f3.tar.bz2 |
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/Kconfig | 7 |
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 |