Nico Huber has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/42072 )
Change subject: drivers/usb: add a USB pre-poll hook ......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/c/coreboot/+/42072/1//COMMIT_MSG Commit Message:
https://review.coreboot.org/c/coreboot/+/42072/1//COMMIT_MSG@10 PS1, Line 10: 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 hookink into the poll routine to : refresh the state of the USB mux. This explains the problem to solve. But not why it's done in depthcharge instead of libpayload?