diff options
author | Wai-Hong Tam <waihong@google.com> | 2020-10-22 09:40:50 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-10-23 21:33:52 +0000 |
commit | c0011fb7c05c528b627c2f95125f48a95a85a9d4 (patch) | |
tree | 373f787872d9108e37d25a36d67b8995ff6145ef /board/trogdor/board.c | |
parent | 3702a6b09d7778b833cc29a8383f2002bbaee94c (diff) | |
download | chrome-ec-c0011fb7c05c528b627c2f95125f48a95a85a9d4.tar.gz |
Lazor: Enable g-sensors in S3 for lid angle detection
The mode change (tablet vs laptop mode) is a wake source from S3.
Changing the lid angle triggers the mode change. Both the lid and
the base g-sensors should be active in S3 for lid angle detection.
BRANCH=None
BUG=b:155853349
TEST=Made the device in S3, checked the reported lid angle by
rotating the device and fliping the lid.
Change-Id: I6351df11fc328476428f3aaa6cf9222fc2ffc391
Signed-off-by: Wai-Hong Tam <waihong@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2492520
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Diffstat (limited to 'board/trogdor/board.c')
0 files changed, 0 insertions, 0 deletions