diff options
author | Eric Yilun Lin <yllin@chromium.org> | 2021-03-31 15:13:25 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-04-08 08:08:33 +0000 |
commit | c2e9a8b208387e50c480a3f9edc9c67f3088cf22 (patch) | |
tree | 7cae3c496450933177f82bbdfbfed72deaa77be3 /board/kodama/board.c | |
parent | 74b190af723b38f3766b0bab63cf9e26f8fa7be3 (diff) | |
download | chrome-ec-c2e9a8b208387e50c480a3f9edc9c67f3088cf22.tar.gz |
asurada : measure VBUS by ADC.
Dual VBUS ADC are supported since board revision >= 4.
This is to address the inaccurate VBUS present detection on SYV682x.
SYV682X assumes can only recognize VBUS equals Vsafe5V or Vsafe0V.
If the VBUS is not falling at the both range, it assume the VBUS >
vSafe5V and thus VBUS is presented. But if the votlage is fallint
between Vsafe5V and Vsafe0V, it still thinks VBUS presented, and this
is a false positive.
BUG=b:181203590
TEST=ensure VBUS ADC reports reasonable value
BRANCH=asurada
Change-Id: I1b57395216f1d6788bcd09306b503bdd3b49ddc8
Signed-off-by: Eric Yilun Lin <yllin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2793853
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Diffstat (limited to 'board/kodama/board.c')
0 files changed, 0 insertions, 0 deletions