Repository navigation
arm64: dts: apple: t600x/t602x: Ultra ANE, J180 die 0 SIO, dpaudio binding, T602x compatible cleanup - #1030
Merged
Conversation
The M1 and M2 Pro/Max/Ultra device trees describe a DisplayPort audio interface per display coprocessor, but no schema matched "apple,t6000-dpaudio" or "apple,t6020-dpaudio", so dtbs_check reported every node. Document them: a register window the host does not touch, one SIO DMA channel, one power domain and a graph port to the DCP that owns the audio service. Signed-off-by: Ryan Murray <[email protected]> Assisted-by: LLM
"reset-domains" is not a documented property and nothing reads it: the DisplayPort audio driver only uses the DMA channel, the power domain and the graph port. Remove it so the nodes match the binding. Signed-off-by: Ryan Murray <[email protected]> Assisted-by: LLM
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
The M2 Pro/Max/Ultra device trees use "apple,t6020-sio", "apple,t6020-pmp-v2", "apple,t6020-pmp-v2-report-entry" and "apple,t6020-pcie-ge", none of which the bindings list. Add them with the fallbacks the device trees already carry: "apple,sio", "apple,t6000-pmp-v2", "apple,t6000-pmp-v2-report-entry" and "apple,t6020-pcie". Signed-off-by: Ryan Murray <[email protected]> Assisted-by: LLM
The T6020 power states, I2C, pinctrl, SPI, watchdog, MCA, NCO, NVMe, SMC, SPMI and ADMAC nodes listed a third, generic "apple,*" compatible after their "apple,t8103-*" fallback. The bindings only allow the two-entry form, so dtbs_check reported around 370 warnings per board, most of them for the 245 power states. Drop the generic entry, as the T6041 and T8122 trees already do. Give the AOP ADMAC the "apple,t8103-admac" fallback the other ADMAC has. The drivers match the T8103 fallbacks with the same data. The loader appends the generic compatibles again on T602x machines for older kernels, so the device tree the kernel sees does not change. Also drop the unused "reset-domains" from the DisplayPort audio nodes. Signed-off-by: Ryan Murray <[email protected]> Assisted-by: LLM
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
The die 0 ANE and the J180 die 0 SIO have not been booted on any T6022 Mac here. Move the enable to its own change that waits for a tester; this series stays description, bindings and the tested T600x fixes. Signed-off-by: Ryan Murray <[email protected]> Assisted-by: LLM
The T6002 die 0 ANE has not been booted on any M1 Ultra here. Move the enable to its own change that waits for a tester. Signed-off-by: Ryan Murray <[email protected]> Assisted-by: LLM
Contributor
Author
|
Split per the merge train's review: the untested Ultra enables (die 0 ANE on T6002/T6022, J180 die 0 SIO) are reverted here and moved to #1115, which waits for an Ultra tester. This PR is now bindings, the documented T602x compatible fallbacks and the T600x dpaudio reset-domains fix. Hardware: the M1 Pro (J316s) has booted this DTB (FLEET4 regression suite, no regression) and it is its committed boot.bin DTB set since tonight. |
This was referenced Nov 7, 2026
This was referenced Nov 7, 2026
RyanTheTide
added a commit
that referenced
this pull request
Nov 7, 2026
Brings aurora-wip up to fleet25: DT descriptions (#1029, #1030, #1112), the J715 board (#1129), Stockholm NFC (#1042, #1136), the AV1 tile check (#1100), the M4 Max ANE profile and AVD quirk (#1088, #1091), boot-log fixes (#1103, #1104) and the Neo ANE memory floor (#1137). Conflicts: macaudio.c and apple,macaudio.yaml, where aurora-wip's J813 and J873 entries and integration's J715 entries were added at the same spot. Keep all of them. Signed-off-by: Ryan Murray <[email protected]> Assisted-by: LLM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Device-tree port and cleanup for the M1 Pro/Max/Ultra (T600x) and M2 Pro/Max/Ultra (T602x) families.
T600x
sound/apple,t6000-dpaudio.yaml(T6000 and T6020 DisplayPort audio).reset-domainsfrom the dpaudio nodes; no driver reads it.T602x
sioalias on J180 so the loader brings up the die 0 SIO for die 0 HDMI audio.Checks: dtbs_check on the 14 boards goes from 4235 to 998 warnings (T602x boards from ~460-506 each to 72-89); no new warnings apart from phandle renumbering and one ANE warning that comes from
npu/apple,ane.yamlfailing to parse in base. dt_binding_check passes for the touched bindings.Testing: the M1 Pro (J316s) DTB only loses
reset-domains, which no driver reads. Our M1 Pro boots a pinned DTB set from its boot.bin, so this cannot be boot-tested there until that set moves to integration/aurora DTBs. The Ultra ANE enables and the T602x changes need hardware test (no M1/M2 Ultra or M2 Pro here).🤖 Generated with Claude Code