Repository navigation
arm64: dts: apple: t6040-j773s: enable the USB4/Thunderbolt routers - #3628
Conversation
The J773s (Mac mini, M4 Pro) described the PCIe tunnels of its three back ports but left the three USB4 routers disabled, so no Thunderbolt or USB4 device could ever reach them. Its ADT has acio0-2, dart-acio0-2, acio-cpu0-2 and apciec0-2; hpm0-2's acio-parent and acio0-2's atc-phy-parent pair typec0 (back middle), typec1 (back left) and typec2 (back right) with ACIO0, ACIO1 and ACIO2, as on the J614s and J616s. The J614s and J616s enabled the routers with the same per-board block. Move it to t6040-usb4-routers.dtsi and include it on all three. The connector-to-router glue is board-neutral too: rename t604x-j614-j616-usb4.dtsi to t604x-usb4-typec.dtsi and include it on the J773s. The J773s enables the AOP pin controller for the routers' LSTX pins itself; it has no HDMI display gate chain that would. Only t6040-j773s.dtb changes; the J614s, J616s, J616s-tether, J575c, J614c and J616c DTBs are byte-identical, and CHECK_DTBS reports nothing before or after. Signed-off-by: Ryan Murray <[email protected]>
There was a problem hiding this comment.
Verdict: HOLD at a035fbf8 pending J773s validation and hosted checks.
Blockers: Obtain an owner J773s boot with the matching loader. Verify all three routers bind and enumerate a USB4 device on each rear port, with no new DART or PCIe errors.
Checked: The change reuses the router and connector descriptions, enables the AOP pin controller for the existing LSTX bindings and relies on the loader for machine-specific values. The reported seven-DTB build changes only J773s and reports no schema warnings.
|
Merge readiness at
Areas: Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels. |
There was a problem hiding this comment.
Verdict: MERGE at a035fbf8b731
Converts this App's earlier review at the same head to an approval under the 12-01 merge bar (better than before and doesn't break; block only on a shown failure). No code blocker was found in it. The merge gate (a row on one Mac at this head + fast CI) is tracked by pr-readiness, not held here.
Checked: The change reuses the router and connector descriptions, enables the AOP pin controller for the existing LSTX bindings and relies on the loader for machine-specific values. The reported seven-DTB build changes only J773s and reports no schema warnings.
Follow-ups (not blocking): owner J773s boot with routers enumerating USB4 per port, hosted checks
|
Merging at |
Tested: no runtime change on any lab Mac (no J773s in our lab): all 7 T604x DTBs build at a035fbf, only t6040-j773s.dtb changes, CHECK_DTBS empty before and after; needs a J773s owner boot row
Risk: two-way · J773s only (J614s, J616s, J575c, J614c, J616c DTBs byte-identical)
What: the J773s (Mac mini, M4 Pro) describes the PCIe tunnels of its three back Thunderbolt ports (#3512), but its three USB4 routers stayed disabled, so nothing could come up behind them.
ADT: the J773s ADT has
acio0-2,dart-acio0-2,acio-cpu0-2andapciec0-2.hpm0(0xc),hpm1(0xa) andhpm2(0x8) haveacio-parentacio0/1/2, andacio0-2haveatc-phy-parentatc-phy0/1/2. So typec0 (back middle), typec1 (back left) and typec2 (back right) pair with ACIO0/1/2, the same pairing as the J614s/J616s. The routers carryusb4-Naliases, so aura copies each machine's own router/adapter/NHI tunables and DROM from its ADT.Change
t6040-usb4-routers.dtsi; J614s, J616s and J773s include it.t604x-j614-j616-usb4.dtsi(typecN <-> acioN endpoints, board-neutral) is renamedt604x-usb4-typec.dtsiand also included on J773s.pinctrl_aopfor the routers' LSTX pins (49/51/53). It has no HDMI display gate chain, so the t6040: enable the AOP pin controller for the USB4 routers, not only with the HDMI chain #2371 issue doesn't apply. When t6040: enable the AOP pin controller for the USB4 routers, not only with the HDMI chain #2371 lands, its J614s/J616spinctrl_aophunk can go into the shared file.Related: supersedes the J773s and shared-enable parts of our stalled draft #2284 (3,000+ commits behind main). The M4 Max (T6041) routers are #2312.