summaryrefslogtreecommitdiff
path: root/Documentation/tutorial
diff options
context:
space:
mode:
authorCaveh Jalali <caveh@chromium.org>2020-06-04 02:16:23 -0700
committerTim Wawrzynczak <twawrzynczak@chromium.org>2020-06-06 01:49:52 +0000
commiteaa219b5bba95cfdc03b9b20d1c06d84bd33c702 (patch)
treebd49bfcb40c55aad1557de9abad3314992985c05 /Documentation/tutorial
parenta4e2e0550cef1b8a888ec75653c96ac070fca825 (diff)
libpayload: drivers/usb: add a USB pre-poll hook
This adds a hook so that a payload can optionally perform USB service functions in conjunction with regular USB port status polling. In particular, this allows depthcharge to control the state of an external USB mux. Some SoCs like Tiger Lake have a USB mux for Type-C ports that must be kept in sync with the state of the port as reported by the TCPC. This can be achieved by hooking into the poll routine to refresh the state of the USB mux. BUG=b:149883933 TEST=booted into recovery from Type-C flash drive on volteer Change-Id: Ic6c23756f64b891b3c5683cd650c605b8630b0fb Signed-off-by: Caveh Jalali <caveh@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/42072 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'Documentation/tutorial')
0 files changed, 0 insertions, 0 deletions