diff options
author | Boris Mittelberg <bmbm@google.com> | 2021-03-23 05:10:04 +0000 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-03-24 22:33:30 +0000 |
commit | 450e69e71312a7dc5f1f2cd9c1185a1119f9a1a7 (patch) | |
tree | 4be074c3810743be468d726f9c1e6c235b2a0200 /board/brya | |
parent | 6404898740d55eb464a52eabbbc84527facb5496 (diff) | |
download | chrome-ec-450e69e71312a7dc5f1f2cd9c1185a1119f9a1a7.tar.gz |
brya: add board configurations for TBT
Enable usb4 mode, usb TBT_COMPAT mode and usb-c retimer FW update configs.
This allows reading correct TBT state via 'ectool usbpdmuxinfo' command.
BUG=b:181840109
BRANCH=main
TEST=manual
Signed-off-by: Boris Mittelberg <bmbm@google.com>
Change-Id: Id67af7b570438c7a2a7efd1aa7dd1a4173cf4905
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2780837
Reviewed-by: Furquan Shaikh <furquan@chromium.org>
Diffstat (limited to 'board/brya')
-rw-r--r-- | board/brya/board.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/board/brya/board.h b/board/brya/board.h index 25773cd5a4..512fbd954d 100644 --- a/board/brya/board.h +++ b/board/brya/board.h @@ -129,6 +129,15 @@ #define USBC_PORT_C0_BB_RETIMER_I2C_ADDR 0x56 #define USBC_PORT_C2_BB_RETIMER_I2C_ADDR 0x57 +/* Enabling Thunderbolt-compatible mode */ +#define CONFIG_USB_PD_TBT_COMPAT_MODE + +/* Enabling USB4 mode */ +#define CONFIG_USB_PD_USB4 + +/* Retimer */ +#define CONFIG_USBC_RETIMER_FW_UPDATE + /* Thermal features */ #define CONFIG_THERMISTOR #define CONFIG_TEMP_SENSOR |