platform/chrome: cros_ec_sysfs: Add cold-ap-off to sysfs reboot.
authorPi-Hsun Shih <pihsun@chromium.org>
Mon, 21 Dec 2020 04:12:24 +0000 (12:12 +0800)
committerEnric Balletbo i Serra <enric.balletbo@collabora.com>
Wed, 20 Jan 2021 15:19:17 +0000 (16:19 +0100)
commit4c2e9b3e18962862281d2b2b82e5ef8aaba0442f
tree5e28b0f81b9719f76e8b0742f7335405f9d5828c
parent9f77c58d65ff216d71f5ab829b6f39afefbde10c
platform/chrome: cros_ec_sysfs: Add cold-ap-off to sysfs reboot.

Add cold-ap-off to ChromeOS EC sysfs reboot file option, corresponds to
the EC_REBOOT_COLD_AP_OFF flag, that will reset EC and keep AP off.

Signed-off-by: Pi-Hsun Shih <pihsun@chromium.org>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Link: https://lore.kernel.org/r/20201221041231.14516-2-pihsun@chromium.org
drivers/platform/chrome/cros_ec_sysfs.c