summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYilun Lin <yllin@google.com>2018-08-16 13:59:39 +0800
committerchrome-bot <chrome-bot@chromium.org>2018-08-29 11:15:12 -0700
commit440002836488f769995945f47c5860f9ce683a56 (patch)
treef7121e8835af67da5a2c48d3133925fec82c04ae
parentef49faaec2e4ccbdccb49f75248ae3ce5ab15141 (diff)
downloadchrome-ec-440002836488f769995945f47c5860f9ce683a56.tar.gz
kukui: Enable CONFIG_USB_PD_DUAL_ROLE_AUTO_TOGGLE
BRANCH=None BUG=b:112113303 TEST=w/ battery: check state transition behaves correctly when sourcing and sinking. TEST=w/o battery: check sinking behaves correctly when sourcing. Change-Id: I2ae0d1f9266d14f91aa36d6974bf276aeba79b68 Signed-off-by: Yilun Lin <yllin@google.com> Reviewed-on: https://chromium-review.googlesource.com/1177466 Commit-Ready: Yilun Lin <yllin@chromium.org> Tested-by: Yilun Lin <yllin@chromium.org> Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
-rw-r--r--board/kukui/board.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/kukui/board.h b/board/kukui/board.h
index 5127ac2543..ac87efee30 100644
--- a/board/kukui/board.h
+++ b/board/kukui/board.h
@@ -114,6 +114,7 @@
#define CONFIG_USB_PD_ALT_MODE_DFP
#define CONFIG_USB_PD_DISCHARGE_TCPC
#define CONFIG_USB_PD_DUAL_ROLE
+#define CONFIG_USB_PD_DUAL_ROLE_AUTO_TOGGLE
#define CONFIG_USB_PD_LOGGING
#define CONFIG_USB_PD_PORT_COUNT 1
#define CONFIG_USB_PD_TCPM_MT6370