power_supply: wilco_ec: Add charging config driver
authorNick Crews <ncrews@chromium.org>
Wed, 8 May 2019 20:38:25 +0000 (14:38 -0600)
committerSebastian Reichel <sre@kernel.org>
Thu, 4 Jul 2019 22:54:36 +0000 (00:54 +0200)
commit3f57fe28f84d636ca6238f33afe8b88d27c34d1b
tree100b61b903f393fbc63ce161d4238c849f38a8b8
parent1e10694d535fd1158c4ff16a841c23400af4d01e
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>
Documentation/ABI/testing/sysfs-class-power-wilco [new file with mode: 0644]
drivers/power/supply/Kconfig
drivers/power/supply/Makefile
drivers/power/supply/wilco-charger.c [new file with mode: 0644]