diff options
author | Daisuke Nojiri <dnojiri@chromium.org> | 2019-03-13 09:28:31 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-04-18 19:51:08 -0700 |
commit | fc2ab5234189258cabc64590b1433545e2cf94fb (patch) | |
tree | de73e3abad8446aac398de6ee234f2c3cc0fe485 /chip/ish/registers.h | |
parent | 8bd447af96dcbf7d714ad23f65835d09332fcfc1 (diff) | |
download | chrome-ec-fc2ab5234189258cabc64590b1433545e2cf94fb.tar.gz |
Flapjack: Cut off battery when USB-C board isn't connected
Currently, when a battery is connected, the device boots immediately.
This makes assembly process unreliable.
This patch makes EC cut off a battery at start-up if USBC_THERM reads
about the pull-up voltage because that indicates a USB-C board isn't
connected, which means the devices is being assembled.
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
BUG=b/124540674
BRANCH=none
TEST=Verify a battery is cut off when a USB-C board isn't connected.
Verify a battery isn't cut off when a USB-C board is connected.
TEST=Verify ADC reads 715 mV even when the thermistor is iced.
Change-Id: Iadc756f8705abe083a5d56b5d8ad080dbff15b6a
Reviewed-on: https://chromium-review.googlesource.com/1520950
Commit-Ready: Daisuke Nojiri <dnojiri@chromium.org>
Tested-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'chip/ish/registers.h')
0 files changed, 0 insertions, 0 deletions