Repository navigation
arm64: dts: apple: t6002/t6022: enable the die 0 ANE and J180 die 0 SIO (needs an Ultra tester) - #1115
arm64: dts: apple: t6002/t6022: enable the die 0 ANE and J180 die 0 SIO (needs an Ultra tester)#1115RyanTheTide wants to merge 2 commits into
Conversation
The die 0 neural engine of the M1 Ultra is the block the M1 Pro and M1 Max use, at the same addresses, with the same DARTs and power states. t6001.dtsi enables it on those, but t6002.dtsi does not include that file, so the ANE stayed disabled on the Mac Studio (M1 Ultra). Enable it in the same way, including the die 0 PMP report window for its clock-level requests. Signed-off-by: Ryan Murray <[email protected]> Assisted-by: LLM (cherry picked from commit 1cac809)
The die 0 neural engine of the M2 Ultra matches the M2 Pro and M2 Max one and the driver has T6022 match data, but only t6021.dtsi enabled it, so it stayed disabled on the Mac Studio and Mac Pro (M2 Ultra). Enable it with its mailbox and DARTs. The Mac Pro also drives its die 0 HDMI port with dpaudio1, whose DMA comes from the die 0 SIO. The loader sets up and enables SIO only for the "sio" and "sio1" aliases, and J180 only had "sio1" (die 1), so that audio interface could never get its channel. Alias the die 0 SIO as "sio". Signed-off-by: Ryan Murray <[email protected]> Assisted-by: LLM (cherry picked from commit 0f7206f)
Merge train 11-08: after DT2's split (Ultra ANE/SIO enables moved to draft #1115) this is the dpaudio binding, the t602x compatibles and the dpaudio reset-domains removal. The j316s DTB boots on our M1 Pro with FLEET4's regression suite clean and is now its committed boot.bin DTB. dt-checks (0 new) and host-tests CI green.
|
Blockers: 2. The node contents match what integration already ships for the single-die parts (t6002 hunk = t6001.dtsi:97-148 incl. the ane-dvfs window and ps_pms_sram; t6022 hunk = t6021.dtsi:92-115), the
Also: the body asks the tester to check "ANE inference on both dies", but only the die 0 ANE is enabled here (the die 1 Keep it in draft until an Ultra owner runs it; nothing here has run on a T6002 or T6022. HW row: J375d (M1 Ultra) and J180d (M2 Ultra) on the rebased head: ANE probes once (die 0), an inference run completes with no DART faults; on J180d the die 0 SIO comes up, HDMI audio on the die 0 port plays, and die 1 SIO/dpaudio is unchanged; 0 AVC / 0 failed units / no new kernel errors versus the same kernel without this DTB change. Assisted-by: LLM (Claude:Opus 5.5) |
|
Closing for now: this needs an M1 or M2 Ultra to test both dies' ANE, which we don't have; the J180 SIO alias is carried by #2250. |
|
Reopened and kept as a draft; the comment above lists what it still needs before review. |
|
Closing for now: this needs an M1 or M2 Ultra to test both dies' ANE, which we don't have; the J180 SIO alias is carried by #2250. |
Split out of #1030 so that one can merge as description, bindings and the tested T600x fixes.
This enables the die 0 ANE (and its PMP ane-dvfs window) on the T6002 and T6022 Ultras, and die 0 SIO with its alias on the J180. Nobody here has an Ultra, so this waits for a tester: boot a J375d (M1 Ultra) or J180d (M2 Ultra) with this DTB and check ANE inference on both dies and HDMI audio on J180, with no new boot-log errors.