diff options
author | Shawn Nematbakhsh <shawnn@chromium.org> | 2015-09-30 18:20:48 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2015-10-06 22:57:27 -0700 |
commit | 61361bec9f1e8883123932c2b01b99cd7e754a5f (patch) | |
tree | c2569193dd2b8c60b0a341b866e056596559d81e /board/zinger | |
parent | 4253105dbf5420f6dec21a404cf9ee5fcf023b71 (diff) | |
download | chrome-ec-61361bec9f1e8883123932c2b01b99cd7e754a5f.tar.gz |
pd: Cleanup usb_pd low power idle sleep mask
Add a new define CONFIG_USB_PD_LOW_POWER_IDLE_WHEN_CONNECTED that
indicates the chip should try to go to low power idle even when a PD
connection is established -- this is the current behavior only for
Zinger.
Also, enable and disable the sleep mask bit from tcpc on rx enable /
disable.
BUG=chrome-os-partner:45010
TEST=Manual on glados / glados_pd. Insert Zinger, verify that glados_pd
stays out of low power idle. Remove Zinger, verify that glados_pd
resumes going into low power idle.
BRANCH=None
Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org>
Change-Id: Ie763ae75f4459f56cad47d77d9c25d76358aa484
Reviewed-on: https://chromium-review.googlesource.com/303490
Commit-Ready: Shawn N <shawnn@chromium.org>
Tested-by: Shawn N <shawnn@chromium.org>
Reviewed-by: Alec Berg <alecaberg@chromium.org>
Diffstat (limited to 'board/zinger')
-rw-r--r-- | board/zinger/board.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/board/zinger/board.h b/board/zinger/board.h index a00731f16c..64893bc1b0 100644 --- a/board/zinger/board.h +++ b/board/zinger/board.h @@ -57,6 +57,7 @@ #undef CONFIG_USB_PD_INTERNAL_COMP #define CONFIG_USB_PD_LOGGING #define CONFIG_USB_PD_LOG_SIZE 256 +#define CONFIG_USB_PD_LOW_POWER_IDLE_WHEN_CONNECTED #define CONFIG_USB_PD_PORT_COUNT 1 #define CONFIG_USB_PD_TCPC #define CONFIG_USB_PD_TCPM_STUB |