diff options
author | Eric Herrmann <eherrmann@chromium.org> | 2020-10-12 16:24:03 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-01-20 20:37:27 +0000 |
commit | 45f3f87ec39e4fb2628008d3fb607d8f5e808291 (patch) | |
tree | 4ceaaea2799770886c2c9a69a1ec228d2fba3e3e /driver/ppc/syv682x.h | |
parent | 6a87ebfedddef0a3d0438bcbb894e45dc16fe1e1 (diff) | |
download | chrome-ec-45f3f87ec39e4fb2628008d3fb607d8f5e808291.tar.gz |
SYV682: Update Driver for B revision silicon
They SYV682B made some meaningful changes to FRS. Update to remove the
workaround put in place for the SYV682A and replace with the FRS logic
for the SYV682B. The RVS alert can now be masked, so remove the message
for an RVS event and repurpose the flag.
There are some other changes, but none require driver changes.
BUG=b:148144711
TEST=Enable FRS in board config, check that FRS works with with a 5V and
20V supply on a fast and slow-discharge FRS device.
BRANCH=none
Signed-off-by: Eric Herrmann <eherrmann@chromium.org>
Change-Id: I78e1c7d5eca593661a7d67346c83775ca990e38d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2606508
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Commit-Queue: Abe Levkoy <alevkoy@chromium.org>
Diffstat (limited to 'driver/ppc/syv682x.h')
-rw-r--r-- | driver/ppc/syv682x.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/driver/ppc/syv682x.h b/driver/ppc/syv682x.h index a2458cf17c..0afa56190f 100644 --- a/driver/ppc/syv682x.h +++ b/driver/ppc/syv682x.h @@ -71,6 +71,7 @@ /* Control Register 3 */ #define SYV682X_BUSY BIT(7) +#define SYV682X_RVS_MASK BIT(3) #define SYV682X_RST_REG BIT(0) #define SYV682X_OVP_MASK 0x70 #define SYV682X_OVP_BIT_SHIFT 4 |