summaryrefslogtreecommitdiff
path: root/board/kodama/board.h
diff options
context:
space:
mode:
authorxiong.huang <xiong.huang@bitland.corp-partner.google.com>2019-08-07 19:06:02 +0800
committerCommit Bot <commit-bot@chromium.org>2019-08-14 12:17:18 +0000
commitc48c1b89f893caa2d064a9f8fc20062a997701ef (patch)
treec3160709398d0616faf9ff5499006980e7659a31 /board/kodama/board.h
parente2d08fb1da6b3236db844b61a5ee55194706c48a (diff)
downloadchrome-ec-c48c1b89f893caa2d064a9f8fc20062a997701ef.tar.gz
kodama: Add usb mux IT5205 driver
Add usb mux IT5205 driver which helps Type-C DP display normally. IT6505 and FUSB42 keep in one direction, IT5205 control flipping. BUG=b:136977971, b:138686359 BRANCH=master TEST=HDMI in dongle display normally with positive and negative insertion. Cq-Depend:chromium:1730377 Change-Id: Icb587480d0a49f4f3f16e5367da5682f6627f3da Signed-off-by: Xiong Huang <xiong.huang@bitland.corp-partner.google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1741595 Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Diffstat (limited to 'board/kodama/board.h')
-rw-r--r--board/kodama/board.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/kodama/board.h b/board/kodama/board.h
index 4b57d12c9c..aa73d04da2 100644
--- a/board/kodama/board.h
+++ b/board/kodama/board.h
@@ -21,6 +21,8 @@
#define CONFIG_VOLUME_BUTTONS
+#define CONFIG_USB_MUX_IT5205
+
/* Battery */
#ifdef BOARD_KRANE
#define BATTERY_DESIRED_CHARGING_CURRENT 3500 /* mA */
@@ -47,6 +49,7 @@
/* I2C ports */
#define I2C_PORT_CHARGER 0
#define I2C_PORT_TCPC0 0
+#define I2C_PORT_USB_MUX 0
#define I2C_PORT_BATTERY 1
#define I2C_PORT_VIRTUAL_BATTERY I2C_PORT_BATTERY
#define I2C_PORT_ACCEL 1