diff options
author | Scott Collyer <scollyer@google.com> | 2017-10-12 14:09:53 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-10-13 17:22:06 -0700 |
commit | 5436afc8f67e740a49f1e6e4fae2c7f4c8dee16d (patch) | |
tree | 8c4ade214567b20d305d504c06847a1113b5789f /board/coral/board.c | |
parent | 7d9bd07693ba691404831861bc219e5ec7b57b82 (diff) | |
download | chrome-ec-5436afc8f67e740a49f1e6e4fae2c7f4c8dee16d.tar.gz |
coral: Add support for power LED for Robo devices
Robo devices have a power button LED. For these devices the desried
power button LED behavior is:
S0 -> always on
S3 -> charging, then 500 mSec off, 3 seconds on
S3 -> not charging, always off
S5 -> always off
Because the hook tick runs at 200 msec, using 600 msec for the off
period when blinking in S3.
BUG=b:64015212
BRANCH=None
TEST=Manual
This LED is not connected on EVT, so added a wire on GPIO02 and used a
scope. Verifed that in S0 the signal level is low, and in S3 that it
control signal toggles 600 mSec high/3 sec low. Verifed than in S5
control signal is high.
Change-Id: I72438a009a507fcddaae5a673bf3bc83988f2dd5
Signed-off-by: Scott Collyer <scollyer@google.com>
Reviewed-on: https://chromium-review.googlesource.com/717183
Commit-Ready: Scott Collyer <scollyer@chromium.org>
Tested-by: Scott Collyer <scollyer@chromium.org>
Reviewed-by: Patrick Georgi <pgeorgi@chromium.org>
Diffstat (limited to 'board/coral/board.c')
0 files changed, 0 insertions, 0 deletions