From 91cf869a1c01e3a233a1f9ea33bdf6e2330fd786 Mon Sep 17 00:00:00 2001 From: Keith Short Date: Thu, 11 Feb 2021 16:24:39 -0700 Subject: 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 Change-Id: I32677fb2c9a4f1e0d7b4220b7306022248ded630 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2691574 Reviewed-by: Simon Glass --- zephyr/Kconfig.usbc | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'zephyr/Kconfig.usbc') 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 -- cgit v1.2.1