OSDN Git Service

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)
commit3c4d77b68928df6c2bf07f4c3ba8e5d5e490bf4e
tree55195441967aedef6db799002fa885090de0424b
parentfdf0fe2df3e32103dc87d4cd4d3be3653c0fd30d
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