summaryrefslogtreecommitdiff
path: root/baseboard
diff options
context:
space:
mode:
authorXin Ji <xji@analogixsemi.com>2019-03-22 15:09:09 +0800
committerchrome-bot <chrome-bot@chromium.org>2019-03-28 19:04:06 -0700
commit9c7428ea97fb6606979607457a86a1ebf8ec9b19 (patch)
tree75b13fd278013616bbd76dd99033d28dd5e8efef /baseboard
parent60e9071a9ba8f773d33c076e0b4fb1956d285efd (diff)
downloadchrome-ec-9c7428ea97fb6606979607457a86a1ebf8ec9b19.tar.gz
anx7447.c: change VBUS present detection interface
ANX PD has two way to get VBUS present info, 1:ADC, 2:Comparator the ADC has been reset at chip reset stage, the comparator(0x1e:bit2) is analog part, it is not been reset by chip reset. there is a corner case which EC TCPM detect VBUS present info at chip reset stage(at system rebooting stage, EC TCPM issue TEST_R signal, this will trigger chip hardware reset). the original VBUS present function checks the VBUS from ADC, the ADC register value became to 0 while at chip reset stage, so at this moment, EC TCPM need check 0x1e:bit2 to get real VBUS present info. BRANCH=None BUG=b:129092057 TEST=Tested on Phaser, reboot stress test. Change-Id: I1e847c88b22684bc9b17243628179bad534801b2 Signed-off-by: Xin Ji <xji@analogixsemi.com> Reviewed-on: https://chromium-review.googlesource.com/1535085 Commit-Ready: Justin TerAvest <teravest@chromium.org> Tested-by: Justin TerAvest <teravest@chromium.org> Reviewed-by: Jett Rink <jettrink@chromium.org> Reviewed-by: Diana Z <dzigterman@chromium.org>
Diffstat (limited to 'baseboard')
0 files changed, 0 insertions, 0 deletions