diff options
author | Simon Glass <sjg@chromium.org> | 2020-12-30 12:04:57 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-01-06 20:47:01 +0000 |
commit | 030fed0434e484f885e83f2f148c21ad3ec5dfc1 (patch) | |
tree | 4f173e2f74af9e40cbf64e2b70cf4cad46f688cd /zephyr/Kconfig.usbc | |
parent | 88ad210827674e3102d346ed40c9e674a1bf65f1 (diff) | |
download | chrome-ec-030fed0434e484f885e83f2f148c21ad3ec5dfc1.tar.gz |
zephyr: Add Kconfig for USB PID
This is the USB product ID and is needed for reporting identity
information to connected USB devices. Add a Kconfig for it.
BUG=b:175434113
BRANCH=none
TEST=with zephyr-chrome CL, build on volteer with full EC usb_pd_policy.c
Cq-Depend: chromium:2607398
Change-Id: I71aa1b9110dbe526a31555b16723e31e57c314e9
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2607505
Reviewed-by: Keith Short <keithshort@chromium.org>
Reviewed-by: Yuval Peress <peress@chromium.org>
Diffstat (limited to 'zephyr/Kconfig.usbc')
-rw-r--r-- | zephyr/Kconfig.usbc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/zephyr/Kconfig.usbc b/zephyr/Kconfig.usbc index 3cdf885352..0837119f6e 100644 --- a/zephyr/Kconfig.usbc +++ b/zephyr/Kconfig.usbc @@ -53,6 +53,17 @@ config PLATFORM_EC_USBC_OCP This should be enabled by drivers which can detect over-current. It cannot be set otherwise, even in prj.conf +config PLATFORM_EC_USB_PID + hex "USB Product ID" + help + Each platform (e.g. baseboard set) should have a single VID/PID + combination. If there is a big enough change within a platform, + then we can differentiate USB topologies by varying the hardware + version field in the Sink and Source Capabilities Extended messages. + + To reserve a new PID within Google, use go/usb and see + http://google3/hardware/standards/usb + menuconfig PLATFORM_EC_USB_POWER_DELIVERY bool "USB Type-C Power Delivery (PD)" default y |