diff options
author | Eric Herrmann <eherrmann@chromium.org> | 2020-02-14 09:33:56 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-04-08 23:09:56 +0000 |
commit | 3c11c513542f692e26b15277799ccc90d0c6455d (patch) | |
tree | 289da8dc26169b66cd7850ccd82771dce736c6fb /extra | |
parent | a1369e5e1eb98bb0e25df3319b14bcb9cd2e64a4 (diff) | |
download | chrome-ec-3c11c513542f692e26b15277799ccc90d0c6455d.tar.gz |
syv682x: Create interrupt handler
Add interrupt handler to SYV682. All alerts are clear on read, so
interrupts must be checked regardless of why the register is being read.
It is also very spammy so flags are used to trigger only on rising edges
of alerts.
BUG=b:149531621
BRANCH=none
TEST=make buildall
TEST=On Volteer Connect a passive USB C-to-A adapter to the USB4 DB.
Short the VBUS and ground pins; make sure the OC event is seen by the EC
with the C1 overcurrent console message.
Change-Id: I61c1a6b962e60d813adab92fcbd21fbdf838f188
Signed-off-by: Eric Herrmann <eherrmann@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2057380
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'extra')
0 files changed, 0 insertions, 0 deletions