summaryrefslogtreecommitdiff
path: root/common/usb_pd_policy.c
diff options
context:
space:
mode:
authorTodd Broch <tbroch@chromium.org>2014-10-03 17:22:42 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-10-11 02:22:23 +0000
commit44e4f7cfe7953198091cfd5e39bf339a770138dc (patch)
treebce95eac678d68d40be59276b4aaf94a488cea25 /common/usb_pd_policy.c
parent4d81320ed8b5f8231759d1608183a0daf233ea45 (diff)
downloadchrome-ec-44e4f7cfe7953198091cfd5e39bf339a770138dc.tar.gz
usb: Groundwork for USB BOS & Billboard class descriptors.
The BOS (Binary Device Object Store) descriptor was added to the USB specification (3.0) to allow a richer set of device capability specific descriptors. The Billboard class is meant to expose (read-only) the status of USB devices capable of alternate mode functions. It's required to use the BOS descriptor type and at a high level looks like: - BOS Device Descriptor (5bytes) - Container ID Device Capability Descriptor (20bytes) - Billboard Device Capability Descriptor (44byte + 4 * numSVIDs) This CL adds: 1. Ability for Get Descriptor on BOS descriptors. Note hidden behind CONFIG_USB_BOS as these descriptors change USB device requirements to: - bcdUSB >= 0201 - no interface descriptors 2. structures for all BOS, Container & Billboard descriptor elements complete w/ CamelCase. BRANCH=none BUG=chrome-os-partner:32652 TEST=compiles with CONFIG_USB & CONFIG_USB_BOS enabled. Change-Id: I1b24bc728f2ebba7d91840801d2ebe576e240e7c Signed-off-by: Todd Broch <tbroch@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/221570
Diffstat (limited to 'common/usb_pd_policy.c')
0 files changed, 0 insertions, 0 deletions