diff options
author | Wai-Hong Tam <waihong@google.com> | 2018-07-20 18:21:13 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-08-13 14:25:13 -0700 |
commit | 25c001a6faf1f2db2fd507e945acb92eac911a1a (patch) | |
tree | d2f3822f1630fa572e05bd7c7815417b47bb4003 /util/comm-dev.c | |
parent | 733f93440155db11b8d56c926e501e949da9534b (diff) | |
download | chrome-ec-25c001a6faf1f2db2fd507e945acb92eac911a1a.tar.gz |
cheza: Check switchcap GPIO0 which indicates outputting good voltage
When turnning the switchcap on, wait its GPIO0 asserted.
The GPIO0 is configured as PVC_PG. When the output voltage is over
the threshold PVC_PG_ADJ (3.0V), the PVC_PG is asserted.
BRANCH=none
BUG=b:77957956
TEST=Run "power on" and "power off" on EC console. Adding debug
messages, confirmed waiting the signal asserted.
Change-Id: Iac72be5290c7ba9988b5861db1dbd84c24f93eda
Signed-off-by: Wai-Hong Tam <waihong@google.com>
Reviewed-on: https://chromium-review.googlesource.com/1145952
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Diffstat (limited to 'util/comm-dev.c')
0 files changed, 0 insertions, 0 deletions