summaryrefslogtreecommitdiff
path: root/power/sdm845.c
diff options
context:
space:
mode:
authorAseda Aboagye <aaboagye@google.com>2018-05-14 23:51:59 -0700
committerchrome-bot <chrome-bot@chromium.org>2018-05-22 15:54:05 -0700
commitfc8b1ab52c6f5d556f91a3b8f4ce6a8ef437ae70 (patch)
tree86f16b34b3bf51502560fc9ae5d17b603ed8c078 /power/sdm845.c
parentad8a61232105e028fea1e7c6ee420e05fcd98637 (diff)
downloadchrome-ec-fc8b1ab52c6f5d556f91a3b8f4ce6a8ef437ae70.tar.gz
nocturne: Fix EC hibernate.
This commit adds the appropriate hibernate flags to the hibernate wake pins. It additionally, adds a board specific hibernate function which sets up the PSL pins for wake as well as writing to the ROP PMIC to disable all the power rails. BUG=b:79713379 BRANCH=poppy TEST=Enter `hibernate` on EC console, verify that system can wake from AC insertion, power button press, and lid switch. Change-Id: I5b197c3c4d54cfc9c0b00c19815faa019f8b8cae Signed-off-by: Aseda Aboagye <aaboagye@google.com> Reviewed-on: https://chromium-review.googlesource.com/1067892 Commit-Ready: Aseda Aboagye <aaboagye@chromium.org> Tested-by: Aseda Aboagye <aaboagye@chromium.org> Reviewed-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Mulin Chao <mlchao@nuvoton.com>
Diffstat (limited to 'power/sdm845.c')
0 files changed, 0 insertions, 0 deletions