summaryrefslogtreecommitdiffstats
path: root/drivers/power/supply/Kconfig
diff options
context:
space:
mode:
authorNick Crews <ncrews@chromium.org>2019-05-08 14:38:25 -0600
committerSebastian Reichel <sre@kernel.org>2019-07-05 00:54:36 +0200
commit3f57fe28f84d636ca6238f33afe8b88d27c34d1b (patch)
tree100b61b903f393fbc63ce161d4238c849f38a8b8 /drivers/power/supply/Kconfig
parent1e10694d535fd1158c4ff16a841c23400af4d01e (diff)
downloadlinux-stable-3f57fe28f84d636ca6238f33afe8b88d27c34d1b.tar.gz
linux-stable-3f57fe28f84d636ca6238f33afe8b88d27c34d1b.tar.bz2
linux-stable-3f57fe28f84d636ca6238f33afe8b88d27c34d1b.zip
power_supply: wilco_ec: Add charging config driver
Add a driver to control the charging algorithm used on Wilco devices. See Documentation/ABI/testing/sysfs-class-power-wilco for the userspace interface and other info. Signed-off-by: Nick Crews <ncrews@chromium.org> Reviewed-by: Enric Balletbo i Serra <enric.balletbo@collabora.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/power/supply/Kconfig')
-rw-r--r--drivers/power/supply/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/power/supply/Kconfig b/drivers/power/supply/Kconfig
index 1f2252cb95fd..4c01598f5ccb 100644
--- a/drivers/power/supply/Kconfig
+++ b/drivers/power/supply/Kconfig
@@ -702,4 +702,13 @@ config CHARGER_UCS1002
Say Y to enable support for Microchip UCS1002 Programmable
USB Port Power Controller with Charger Emulation.
+config CHARGER_WILCO
+ tristate "Wilco EC based charger for ChromeOS"
+ depends on WILCO_EC
+ help
+ Say Y here to enable control of the charging routines performed
+ by the Embedded Controller on the Chromebook named Wilco. Further
+ information can be found in
+ Documentation/ABI/testing/sysfs-class-power-wilco
+
endif # POWER_SUPPLY