summaryrefslogtreecommitdiffstats
path: root/Documentation/ABI/testing/sysfs-platform-wilco-ec
diff options
context:
space:
mode:
authorNick Crews <ncrews@chromium.org>2019-04-16 19:20:47 -0600
committerEnric Balletbo i Serra <enric.balletbo@collabora.com>2019-05-20 10:18:09 +0200
commit4c1ca625c622b7a9f04c2949fd1ffdc6effa86de (patch)
treefc7583d5a1a7f400c05be4d6e068cede5ca35472 /Documentation/ABI/testing/sysfs-platform-wilco-ec
parent0c0b7ea23aed0b55ef2f9803f13ddaae1943713d (diff)
downloadlinux-stable-4c1ca625c622b7a9f04c2949fd1ffdc6effa86de.tar.gz
linux-stable-4c1ca625c622b7a9f04c2949fd1ffdc6effa86de.tar.bz2
linux-stable-4c1ca625c622b7a9f04c2949fd1ffdc6effa86de.zip
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>
Diffstat (limited to 'Documentation/ABI/testing/sysfs-platform-wilco-ec')
-rw-r--r--Documentation/ABI/testing/sysfs-platform-wilco-ec9
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-platform-wilco-ec b/Documentation/ABI/testing/sysfs-platform-wilco-ec
new file mode 100644
index 000000000000..8e5d6eee44db
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-platform-wilco-ec
@@ -0,0 +1,9 @@
+What: /sys/bus/platform/devices/GOOG000C\:00/boot_on_ac
+Date: April 2019
+KernelVersion: 5.3
+Description:
+ 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.
+
+ Input should be parseable by kstrtou8() to 0 or 1.