diff options
author | Alec Berg <alecaberg@chromium.org> | 2015-06-04 11:30:34 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-06-05 22:35:05 +0000 |
commit | 58719e30730e6420533514dabd27c188e60ae607 (patch) | |
tree | 8015dd22c5808e88b648cd52463bf59a34b0a734 /board/samus | |
parent | bdc680d8ed7ea24cdfb1b5498f73a1008c71ad37 (diff) | |
download | chrome-ec-58719e30730e6420533514dabd27c188e60ae607.tar.gz |
pd: use pdcmd task to handle tcpc interrupt
Use the PDCMD task to handle PD MCU interrupts, and use it
to trigger the tcpc_alert().
Note this fixes bug on Glados and Oak that could cause watchdog
reset because tcpc_alert() which uses i2c to talk to tcpc was
called from hooks task and can delay tickling watchdog.
BUG=chrome-os-partner:40920
BRANCH=none
TEST=load on glados and plug zinger into both ports many times.
make sure we get a stable contract and no watchdog reset.
Change-Id: I37625fae2ca0057d2ee8fa1eea6974f2d26d1b91
Signed-off-by: Alec Berg <alecaberg@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/275296
Reviewed-by: Scott Collyer <scollyer@chromium.org>
Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'board/samus')
-rw-r--r-- | board/samus/board.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/board/samus/board.h b/board/samus/board.h index 8d78c03cef..3c81e403d8 100644 --- a/board/samus/board.h +++ b/board/samus/board.h @@ -69,6 +69,7 @@ #define CONFIG_TEMP_SENSOR_TMP006 #define CONFIG_TEMP_SENSOR_POWER_GPIO GPIO_PP3300_DSW_GATED_EN #define CONFIG_UART_HOST 2 +#define CONFIG_USB_PD_MCU_CHG_CTRL #define CONFIG_USB_PORT_POWER_SMART #define CONFIG_USB_PORT_POWER_SMART_DEFAULT_MODE USB_CHARGE_MODE_CDP #define CONFIG_USB_PORT_POWER_SMART_INVERTED |