diff options
author | Duncan Laurie <dlaurie@chromium.org> | 2014-11-11 14:44:49 -0800 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-11-12 02:42:28 +0000 |
commit | 98a1d5d7321480563cb926298abccfd13f25789e (patch) | |
tree | db145d340bf781a9aa0dce080e9c337e7915c688 | |
parent | 947ee79ae0cf34ec6271305ae094e3c627456766 (diff) | |
download | chrome-ec-98a1d5d7321480563cb926298abccfd13f25789e.tar.gz |
samus: Put touchscreen in reset in S3
This can save 80mW in S3 when the lid is open.
BUG=chrome-os-partner:33057
BRANCH=samus
TEST=boot on samus, go to suspend with powerd_dbus_suspend and ensure
that the touchscreen is in reset.
Change-Id: I63c24ad5a8f8cb389ee0d6139edbbb46dec5423b
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/229106
Reviewed-by: Alec Berg <alecaberg@chromium.org>
-rw-r--r-- | board/samus/power_sequence.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/board/samus/power_sequence.c b/board/samus/power_sequence.c index c2119a50ac..8a6b8d7b94 100644 --- a/board/samus/power_sequence.c +++ b/board/samus/power_sequence.c @@ -412,6 +412,9 @@ enum power_state power_handle_state(enum power_state state) */ enable_sleep(SLEEP_MASK_AP_RUN); + /* Put touchscreen in reset */ + gpio_set_level(GPIO_TOUCHSCREEN_RESET_L, 0); + /* * Deassert prochot since CPU is off and we're about to drop * +VCCP. |