]> 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)
commitaa77da2d10327175f84e5d5b77914ecc2b1f8e52
tree55195441967aedef6db799002fa885090de0424b
parent9365299d5a229ec528a2680f5373319200f853e6
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