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
..
2022-04-11 17:11:21 -04:00
2021-01-27 16:58:57 -05:00
2021-03-01 09:54:11 -05:00
2021-11-23 09:57:55 +02:00
2020-08-24 16:37:53 +02:00
2021-03-01 09:54:11 -05:00
2021-04-20 07:31:12 -04:00
2022-01-19 18:11:34 +01:00
2022-01-19 18:11:34 +01:00