]> git.baikalelectronics.ru Git - kernel.git/commit
platform/chrome: wilco_ec: Add charging config driver
authorNick Crews <ncrews@chromium.org>
Thu, 24 Oct 2019 22:28:05 +0000 (16:28 -0600)
committerEnric Balletbo i Serra <enric.balletbo@collabora.com>
Tue, 19 Nov 2019 17:12:19 +0000 (18:12 +0100)
commit5b15a61c28d734873599ef44d0cef9be95a142b9
tree55195441967aedef6db799002fa885090de0424b
parent6c3a8f4b494ac71480ff05d0ad3e9972ad917044
platform/chrome: wilco_ec: Add charging config driver

Add a device to control the charging algorithm used on Wilco devices,
which will be picked up by the drivers/power/supply/wilco-charger.c
driver. See Documentation/ABI/testing/sysfs-class-power-wilco for the
userspace interface and other info.

Signed-off-by: Nick Crews <ncrews@chromium.org>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
drivers/platform/chrome/wilco_ec/core.c
include/linux/platform_data/wilco-ec.h