diff options
author | Jett Rink <jettrink@chromium.org> | 2018-08-22 12:12:39 -0600 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-09-07 22:27:38 -0700 |
commit | 39ff41a291d16b794c98f0c371492786738f2c0a (patch) | |
tree | 10dd5dedef876f3c2090ecc6c5b3010aa894668e /include | |
parent | 74e613842277cf0d13af3fbad6105055bc039a04 (diff) | |
download | chrome-ec-39ff41a291d16b794c98f0c371492786738f2c0a.tar.gz |
usb-pd: disconnect USB SS MUX when S5 or lower
Especially for SS MUX that have redrivers in them, we should disable the
MUX while the chipset is off because the data line will not be
used. This give decent power savings for redriver MUXs (e.g. PS8751)
BRANCH=none
BUG=b:112136208,b:111196155
TEST=On Phaser the 3300_pd_a drops from 92mW to 32 mW when the charger
is plugged into C1 and the SoC is in S5. The rail also says at 32mW after
removing and plugging the power back in while the SoC is in S5. Also
ensured that power is low upon first insertion and AP does not come on
automatically.
Change-Id: I0601fbb506ad3eff902cf6562a6408292ef70e3a
Signed-off-by: Jett Rink <jettrink@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1185485
Reviewed-by: Justin TerAvest <teravest@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/usb_pd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/usb_pd.h b/include/usb_pd.h index 64b9d51c82..0bf3b15ffe 100644 --- a/include/usb_pd.h +++ b/include/usb_pd.h @@ -46,8 +46,8 @@ enum pd_rx_errors { * A task, other than the task owning the PD port, accessed the TCPC. The task * that owns the port does not send itself this event. */ -#define PD_EVENT_DEVICE_ACCESSED (1<<7) -#define PD_EVENT_DP_DISCONNECT (1<<8) /* DisplayPort disconnect requested */ +#define PD_EVENT_DEVICE_ACCESSED (1<<7) +#define PD_EVENT_POWER_STATE_CHANGE (1<<8) /* Chipset power state changed */ /* --- PD data message helpers --- */ #define PDO_MAX_OBJECTS 7 |