diff options
author | Diana Z <dzigterman@chromium.org> | 2021-08-12 15:23:38 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-08-16 17:04:11 +0000 |
commit | 376dec8631c123f9c6b7b8df48fad41d5bee82aa (patch) | |
tree | fd866119d4498ddda6f9674f18bff8ddead59901 /include | |
parent | c92ea88aea820166207cd30300bd301166316267 (diff) | |
download | chrome-ec-376dec8631c123f9c6b7b8df48fad41d5bee82aa.tar.gz |
USB MUX: Introduce flag to clear mux state in G3
Some muxes may need to be re-set after they've power cycled, and many
muxes are tied to the S5 power rails. Introduce a flag which can be
used to indicate a mux needs to re-run init and is no longer in LPM
after the G3 state has been hit.
BRANCH=None
BUG=b:195045790
TEST=make -j buildall
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: I8bd4184dbea629edf106dbee32f811620ebda0dd
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3093086
Reviewed-by: Rob Barnes <robbarnes@google.com>
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/usb_mux.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/usb_mux.h b/include/usb_mux.h index 548ee8940b..f2cd37acdb 100644 --- a/include/usb_mux.h +++ b/include/usb_mux.h @@ -17,6 +17,7 @@ /* Flags used for usb_mux.flags */ #define USB_MUX_FLAG_NOT_TCPC BIT(0) /* TCPC/MUX device used only as MUX */ #define USB_MUX_FLAG_SET_WITHOUT_FLIP BIT(1) /* SET should not flip */ +#define USB_MUX_FLAG_RESETS_IN_G3 BIT(2) /* Mux chip will reset in G3 */ /* * USB-C mux state |