diff options
author | Edward Hill <ecgh@chromium.org> | 2019-12-19 23:11:04 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-12-20 17:54:19 +0000 |
commit | 7f703ac070027f085d0aec7f40926e382ad3d000 (patch) | |
tree | 2f497091d901852a37dbe33dd21393cf032daae2 /baseboard | |
parent | d9fa15722d45f4ff6aa1cc08059f1807a37768d7 (diff) | |
download | chrome-ec-7f703ac070027f085d0aec7f40926e382ad3d000.tar.gz |
zork: Enable PS8818 retimer for USB-C1
BUG=b:139428235, b:145766506
BRANCH=none
TEST=USB3 device enumerates as 5G on Trembyle OPT1 USB-C1
Change-Id: I360cde6cf1ef5d717cf89149e99257bdfa4289e9
Signed-off-by: Edward Hill <ecgh@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1977984
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Commit-Queue: Denis Brockus <dbrockus@chromium.org>
Diffstat (limited to 'baseboard')
-rw-r--r-- | baseboard/zork/baseboard.c | 4 | ||||
-rw-r--r-- | baseboard/zork/baseboard.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/baseboard/zork/baseboard.c b/baseboard/zork/baseboard.c index 5a69711736..8647c518c9 100644 --- a/baseboard/zork/baseboard.c +++ b/baseboard/zork/baseboard.c @@ -22,6 +22,7 @@ #include "driver/ppc/aoz1380.h" #include "driver/ppc/nx20p348x.h" #include "driver/retimer/pi3dpx1207.h" +#include "driver/retimer/ps8818.h" #include "driver/tcpm/ps8xxx.h" #include "driver/tcpm/nct38xx.h" #include "driver/temp_sensor/sb_tsi.h" @@ -476,6 +477,9 @@ struct usb_retimer usb_retimers[USBC_PORT_COUNT] = { .gpio_dp_enable = GPIO_USB_C0_IN_HPD, }, [USBC_PORT_C1] = { + .driver = &ps8818_usb_retimer, + .i2c_port = I2C_PORT_TCPC1, + .i2c_addr_flags = PS8818_I2C_ADDR_FLAGS, }, }; diff --git a/baseboard/zork/baseboard.h b/baseboard/zork/baseboard.h index 33749ecd4f..3f62d6ec59 100644 --- a/baseboard/zork/baseboard.h +++ b/baseboard/zork/baseboard.h @@ -146,6 +146,7 @@ #define CONFIG_USBC_PPC_AOZ1380 #define CONFIG_USBC_PPC_NX20P3483 #define CONFIG_USBC_RETIMER_PI3DPX1207 +#define CONFIG_USBC_RETIMER_PS8818 #define CONFIG_USBC_SS_MUX #define CONFIG_USBC_SS_MUX_DFP_ONLY #define CONFIG_USBC_VCONN |