OpenBoot
Draft: this page is not reviewed yet.

USB-C on the M5 SeriesDraft

The generic part of this stream (binding, layering, registry values, build, host tests) is described on USB-C driver.

Hardware on this generation#

Each USB-C port has a DesignWare dwc3 controller and an Apple ATC PHY. The boot code finds them through the device tree by path (openboot/src/usb.c). In the sanitised device tree of the M5 Pro (T6050) the PHY nodes carry a chip-specific compatible that the generic accept list does not contain; the hardware blocks page shows them as version mismatches.

How the code reaches it#

win/obusbc replugs the port on device start (D0Entry) through its core:

  1. tear the port down, then
  2. run the USB2 PHY and pipe-handler sequence of the ATC block,
  3. switch the dwc3 controller to host role, apply the tunable register values (they come from an ACPI _DSM method on the node), and
  4. perform the controller soft reset.

Sequence and values come from the OpenBoot raw host code (openboot/src/openboot_usb_raw.c, openboot/src/usb.c). Whether replaying the sequence at D0Entry is correct after the hand-off to the guest is untested.

Firmware and tunables#

The tunable values are delivered by the firmware's ACPI tables, not stored in the driver. The firmware in this tree has no table that publishes ACPI\OBUC0001 or ACPI\OBUC0002.

Status#

Device Mac17,8 (J716s) (descriptor tier supported):

Feature State Evidence and notes
USB-C ports experimental The Windows driver has never been loaded on hardware.
USB4 and Thunderbolt not started -

Device T6051 on J716s (unverified) (descriptor tier experimental):

Feature State Evidence and notes
USB-C ports - -
USB4 and Thunderbolt - -

The words are defined in Status words. The full matrix is on the status page.

USB devices that work in Windows on this generation today do so through passed-through xHCI nodes (PNP0D10, bound by Microsoft's USBXHCI), not through obusbc. That path is basic and unstable: a port can drop together with its devices.

The published hardware results contain no entry for obusbc. One result touches USB indirectly: Windows PE reaches Setup with the xHCI IOVA reuse fix in place (listed under the virtual interrupt controller). It does not say that obusbc was loaded, and no result records USB storage or other USB-C behaviour in Windows.

Not verified or unknown#

  • No published hardware result for obusbc; it has never been loaded on hardware.
  • Port stability, hot-plug, power management and IOMMU handling are not addressed.
  • USB4 and Thunderbolt: not working; no support is built.