diff options
author | Simon Glass <sjg@chromium.org> | 2021-06-04 16:06:14 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-06-15 18:38:19 +0000 |
commit | b5753903cb8948d88bc4d91ea81cb3e7bfc42520 (patch) | |
tree | 01b862bca7f52dd0a740baeebbb219a85dea4c5f /zephyr/shim/include/config_chip.h | |
parent | 93260ad5e431525be3dca0232f825afd93ea3fa9 (diff) | |
download | chrome-ec-b5753903cb8948d88bc4d91ea81cb3e7bfc42520.tar.gz |
zephyr: Support the IT5205 USB mux
Add support for this chip on Zephyr, needed for Asurada.
BUG=b:189855648
BRANCH=none
TEST=with other CLs, build asurada for Zephyr
Signed-off-by: Simon Glass <sjg@chromium.org>
Change-Id: I868f46ee617003eef5ceba65be4241b502d6d280
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2941886
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Diffstat (limited to 'zephyr/shim/include/config_chip.h')
-rw-r--r-- | zephyr/shim/include/config_chip.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/zephyr/shim/include/config_chip.h b/zephyr/shim/include/config_chip.h index b76c04e01e..0310e77070 100644 --- a/zephyr/shim/include/config_chip.h +++ b/zephyr/shim/include/config_chip.h @@ -1006,6 +1006,11 @@ #define CONFIG_USBC_SS_MUX_DFP_ONLY #endif +#undef CONFIG_USB_MUX_IT5205 +#ifdef CONFIG_PLATFORM_EC_USB_MUX_IT5205 +#define CONFIG_USB_MUX_IT5205 +#endif + #undef CONFIG_USB_MUX_VIRTUAL #ifdef CONFIG_PLATFORM_EC_USB_MUX_VIRTUAL #define CONFIG_USB_MUX_VIRTUAL |