summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig.usbc
diff options
context:
space:
mode:
authorKeith Short <keithshort@chromium.org>2021-02-11 16:24:39 -0700
committerCommit Bot <commit-bot@chromium.org>2021-02-12 18:14:03 +0000
commit91cf869a1c01e3a233a1f9ea33bdf6e2330fd786 (patch)
tree806a947d632f54e6227d327a96321c07c69b1172 /zephyr/Kconfig.usbc
parentde9fd43a3ffffa4e4c9e7c12bc0be40860b7b293 (diff)
downloadchrome-ec-91cf869a1c01e3a233a1f9ea33bdf6e2330fd786.tar.gz
zephyr: add CONFIG_USB_BCD_DEV
Add a KConfig option to specify the USB device ID. BUG=b:157163664 BRANCH=none TEST=make buildall TEST=zmake testall Signed-off-by: Keith Short <keithshort@chromium.org> Change-Id: I32677fb2c9a4f1e0d7b4220b7306022248ded630 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2691574 Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'zephyr/Kconfig.usbc')
-rw-r--r--zephyr/Kconfig.usbc9
1 files changed, 9 insertions, 0 deletions
diff --git a/zephyr/Kconfig.usbc b/zephyr/Kconfig.usbc
index 596c32f663..0eebb5ae8f 100644
--- a/zephyr/Kconfig.usbc
+++ b/zephyr/Kconfig.usbc
@@ -138,6 +138,15 @@ config PLATFORM_EC_USB_PID
To reserve a new PID within Google, use go/usb and see
http://google3/hardware/standards/usb
+config PLATFORM_EC_USB_BCD_DEV
+ hex "USB Device ID"
+ default 0
+ help
+ This specifies the USB device version, reported by board when acting
+ as the upstream facing port (UFP). This is a 16-bit unsigned integer
+ and should be set to a version number relevant to the release version
+ of the product.
+
config PLATFORM_EC_USBC_RETIMER_INTEL_BB
bool "Support Intel Burnside Bridge retimer"
help