summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig.usbc
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-02-05 13:16:20 -0700
committerCommit Bot <commit-bot@chromium.org>2021-02-06 01:05:12 +0000
commit025f8592fbc8fa728dbb5535d9fa74427391e398 (patch)
treeb7060d56e1e7c2b0b543f8e395fb218cda5b84c7 /zephyr/Kconfig.usbc
parent9fc79b2e2d2b3c0119df50afbad81ea541c36519 (diff)
downloadchrome-ec-025f8592fbc8fa728dbb5535d9fa74427391e398.tar.gz
zephyr: Add support for retimer firmware updates
Enable CONFIG_USBC_RETIMER_FW_UPDATE so that retimer chips can be updated on boot. BUG=b:175434113 BRANCH=none TEST=build zephyr for volteer, see that the new code is included Signed-off-by: Simon Glass <sjg@chromium.org> Change-Id: Ie620f322d32bae46c00ff4e8d5477261a7dbe279 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2678926 Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Diffstat (limited to 'zephyr/Kconfig.usbc')
-rw-r--r--zephyr/Kconfig.usbc14
1 files changed, 14 insertions, 0 deletions
diff --git a/zephyr/Kconfig.usbc b/zephyr/Kconfig.usbc
index 7587514c04..596c32f663 100644
--- a/zephyr/Kconfig.usbc
+++ b/zephyr/Kconfig.usbc
@@ -783,6 +783,20 @@ config PLATFORM_EC_USB_MUX_VIRTUAL
and is is informed when status changes, via the
EC_CMD_USB_PD_MUX_INFO host command.
+config PLATFORM_EC_USBC_RETIMER_FW_UPDATE
+ bool "Support firmware update of USB Type-C retimers"
+ default y
+ depends on PLATFORM_EC_USBC_SS_MUX
+ help
+ Enable this to support USB Type-C retimer firmware update. Each
+ Type-C retimer indicates its capability of supporting firmware update
+ independently in its usb_mux_driver.
+
+ During AP boot-up, the AP scans each PD port for retimers but only
+ if there are no Type-C devices attached to the port. The firmware
+ update can only be performed on retimers which show up in the AP
+ thunderbolt device entries.
+
endif # PLATFORM_EC_USB_MUX
config PLATFORM_EC_CONSOLE_CMD_PPC_DUMP