u-boot/drivers/usb/common
Mark Kettenis 6a6468f479 usb: xhci-dwc3: Support role switch default role
When the device tree indicates support for role switching through
the "usb-role-switch" property, take the "role-switch-default-mode"
property into account when deciding which role to put the
controller into.

This makes USB devices work on Apple M1 systems where the device
tree may include a "dr_mode" property that is set to "otg", but
where we need to put the controller into "host" mode to see
devices connected to the type-C ports.

Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
2022-05-20 09:41:33 +02:00
..
common.c usb: xhci-dwc3: Support role switch default role 2022-05-20 09:41:33 +02:00
fsl-dt-fixup.c treewide: convert bd_t to struct bd_info by coccinelle 2020-07-17 09:30:13 -04:00
fsl-errata.c fsl/usb: Workaround for USB erratum-A005275 2018-10-29 13:13:05 -07:00
Makefile usb: Introduce CONFIG_SPL_DM_USB 2018-11-26 21:19:03 +01:00