]> asedeno.scripts.mit.edu Git - linux.git/commit
platform/chrome: wilco_ec: Add Boot on AC support
authorNick Crews <ncrews@chromium.org>
Wed, 17 Apr 2019 01:20:47 +0000 (19:20 -0600)
committerEnric Balletbo i Serra <enric.balletbo@collabora.com>
Mon, 20 May 2019 08:18:09 +0000 (10:18 +0200)
commit4c1ca625c622b7a9f04c2949fd1ffdc6effa86de
treefc7583d5a1a7f400c05be4d6e068cede5ca35472
parent0c0b7ea23aed0b55ef2f9803f13ddaae1943713d
platform/chrome: wilco_ec: Add Boot on AC support

Boot on AC is a policy which makes the device boot from S5 when AC
power is connected. This is useful for users who want to run their
device headless or with a dock.

Signed-off-by: Nick Crews <ncrews@chromium.org>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Documentation/ABI/testing/sysfs-platform-wilco-ec [new file with mode: 0644]
drivers/platform/chrome/wilco_ec/Makefile
drivers/platform/chrome/wilco_ec/core.c
drivers/platform/chrome/wilco_ec/sysfs.c [new file with mode: 0644]
include/linux/platform_data/wilco-ec.h