Skip to content

arm64: dts: apple: t6002/t6022: enable the die 0 ANE and J180 die 0 SIO (needs an Ultra tester) - #1115

Closed
RyanTheTide wants to merge 2 commits into
mainfrom
dt2/t60xx-ultra-ane-enable
Closed

RyanTheTide wants to merge 2 commits into
mainfrom
dt2/t60xx-ultra-ane-enable

Conversation

@RyanTheTide

@RyanTheTide RyanTheTide commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

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.

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)
RyanTheTide added a commit that referenced this pull request Nov 7, 2026
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.
@RyanTheTide

Copy link
Copy Markdown
Contributor Author

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 &ps_ane_* labels resolve to the die 0 PMGR instance, and the driver has apple,t6000-ane (ane_drv.c:1172) and apple,t6022-ane (ane_t6021_rtclient_main.c:4438) match data. So the DT itself looks right; what blocks it:

  1. Both commits (6498d0f, b9af891) end in an Assisted-by: LLM trailer. Commits should carry only the human Signed-off-by; drop the trailer (the PR body line is enough) when you rebase.
  2. The branch conflicts with integration/aurora (merge base is from 11-07; t6002.dtsi/t6022.dtsi/t6022-j180d.dts have moved since, e.g. c3e9035 and 9641fcd). Rebase. Note 9641fcd removed exactly this sio = &sio alias from the describe-only series because a loader alias powers the controller at boot; re-adding it here is fine, but then this PR is the place that has to prove it (see row).

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 ps_ane1_* domains stay disabled). Ask for die 0 inference and a clean die 1 (no probe). The dt-checks failure (5 new / 5 removed dpaudio reset-domains warnings on t6002-j375d) is from the 11-07 base, not this diff; it needs a re-run after the rebase.

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)

@RyanTheTide

Copy link
Copy Markdown
Contributor Author

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.

@RyanTheTide RyanTheTide reopened this Nov 22, 2026
@RyanTheTide

Copy link
Copy Markdown
Contributor Author

Reopened and kept as a draft; the comment above lists what it still needs before review.

@RyanTheTide

Copy link
Copy Markdown
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant