Repository navigation
arm64: dts: apple: t6050-j775d: enable the AOP over its RTKit mailbox alone, so the Mac Studio gets its sound card - #2890
Conversation
|
Review at 212fa1f (non-author, draft). No blocker in the J775D commit; it stays behind #2556 (carried here) and aura#474, as the description says. What I checked:
Small points, not blocking:
Assisted-by: LLM (Claude:Opus 5.5) |
… alone, so the Mac Studio gets its sound card
The T6050 tree describes the AOP, its mailboxes, its DART and the audio
DMA controller disabled, and the J775D board file did not enable them,
so the Mac Studio's (J775D) AOP never probed and no sound card
registered. Its AOP firmware also does not service the setup port.
Started through both mailboxes, its boot timed out after 15 s ("setup
port: boot incomplete (AP power on: false, endpoints: 0/0)", probe -110)
on the 27.0 and the 27.2 firmware. Read after the timeout, the setup
mailbox still held the AP's message, its receive side had raised no
interrupt and nothing was queued towards the AP, while the RTKit mailbox
had carried the boot up to AP power on.
Enable the AOP, its RTKit mailbox, its DART and the audio DMA controller,
as the J714s, K114c and K116s board files do, and give the AOP only its
RTKit mailbox. The driver takes the setup-port boot only when the AOP is
given a mailbox named "setup", so it boots the AOP over RTKit: the
firmware announces its audio service, the audio child device binds and
the headphone jack's card registers. The setup mailbox node stays
described, disabled. The ADT describes the setup port the same way on
boards whose firmware uses it, so the board's tree is where this is
stated.
The Mac Studio audio file said the AOP audio node exists only after a
boot loader handoff; it now says it exists once the board enables the
AOP.
Signed-off-by: Jeff Queisser <funkzy@users.noreply.github.com>
212fa1f to
d96a319
Compare
|
Rebased cleanly onto Re-tested on J775D (own-base A/B row: kit
|
|
Merge readiness at
Areas: Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels. |
satchlj
left a comment
There was a problem hiding this comment.
Gemini 4 Neon on @satchlj's behalf
Verdict at d96a319663bb
Approve. Enabling J775D AOP audio over its primary RTKit mailbox ("mbox" without "setup") matches t6050-die0.dtsi, the apple,t8152-aop.yaml binding, and drivers/soc/apple/aop.rs, and passes dt-checks and exact-head J775D A/B bringup.
Blockers
None.
Checked
- Diff audit (2 files, +25/-1):
arch/arm64/boot/dts/apple/t6050-j775d.dts: verified&aop_mbox,&aop_dart,&admac_base_ns, and&aopmatcht6050-die0.dtsi, and overridingmboxes = <&aop_mbox>; mbox-names = "mbox";conforms toDocumentation/devicetree/bindings/soc/apple/apple,t8152-aop.yaml(minItems: 1, omitting"setup"to select primary-RTKit-only boot) while leaving&aop_setup_mboxdisabled.arch/arm64/boot/dts/apple/t6050-studio-audio.dtsi: updated comment accurately reflects J775D enabling its own AOP path.
- CI at
d96a319663bb:dt-checks=SUCCESS,host-tests=SUCCESS,readiness=SUCCESS,pr-text=SUCCESS. - Posted hardware evidence: J775D (M5 Ultra) exact-head
d96a319663bbown-base A/B PASS (AppleJ775Dsound card with 17 controls, speakers safely disabled bymacaudiosafety check, 0 AOP errors, 0 unexpected errors). - Untested scope: Static DT/driver + CI + posted-evidence review only (no kernel install/boot run by this reviewer); physical jack plug/playback remains explicitly noted as untested.
Evidence
- Verified files:
arch/arm64/boot/dts/apple/t6050-j775d.dts,arch/arm64/boot/dts/apple/t6050-studio-audio.dtsi(cross-checked againstt6050-die0.dtsi,apple,t8152-aop.yaml, anddrivers/soc/apple/aop.rs). - CI:
dt-checksSUCCESS,host-testsSUCCESS,readiness / readinessSUCCESS,pr-text / pr-textSUCCESS atd96a319663bb.
What: Enable the AOP, its RTKit mailbox, its DART, and the audio DMA controller in
t6050-j775d.dtsusing the RTKit mailbox alone (mbox-names = "mbox"), so the Mac Studio (M5 Ultra, J775D) brings up its AOP audio child andAppleJ775Dsound card instead of timing out on the unused setup port.Tested: J775D (Mac Studio, M5 Ultra) at
d96a319663bbon baremain(4abf0f83c290) under published Aurac0aaf3162ede(includes mergedaurora-silicon/aura#474) on 27.2 firmware:apple_aopbinds with 0 AOP error lines,audio.0.auto(snd_soc_t8152_aop_audio) probes,AppleJ775Dregisters with 17 controls (Headphone Jack,Headset Mic Jack), speakers stay disabled bymacaudiosafety check, 0 unexpected kernel errors, 0 failed units added.Risk: Two-way door · affects J775D (Mac Studio, M5 Ultra) only; no other T6050 board file changes. Requires a boot loader carrying
aurora-silicon/aura#474(merged inc0aaf3162ede) so the AOP's firmware log buffer in RAM is reserved (no-map) before Linux starts the AOP.Not yet: Physical headphone jack plug/unplug (
evtest) and audio playback through the jack (needs hands at the Studio);dtbs_checkrun ont6050-j775d.dtb.Details
Why this shape
status = "okay"in its board DTS (matching J714s, K114c, and K116s). With soc: apple: aop: take the setup-port boot only with a "setup" mailbox #2556 merged, the AOP driver chooses the setup-port handshake only when the board tree gives the AOP asetupmailbox inmbox-names, and the binding documents this.mboxes/mbox-namesto<&aop_mbox>/"mbox", so no other T6050 board's DTB changes.memory-regionproperty across T6050 boards (matching Aura's reservation) is also a separate follow-up.Change
Single commit on
main(d96a319663bb, both #2556 andaurora-silicon/aura#474are now merged):arch/arm64/boot/dts/apple/t6050-j775d.dts: enableaop,aop_mbox,aop_dart, andadmac_base_ns; overrideaopmboxes = <&aop_mbox>andmbox-names = "mbox"with an explanatory comment.arch/arm64/boot/dts/apple/t6050-studio-audio.dtsi: update the comment to note that the AOP audio node exists once the board enables the AOP.Evidence
Testing
Own-base A/B row on J775D (Mac Studio, M5 Ultra): kit
j7aop-r3(windowaop2890r3@20261124-1441) ismain4abf0f83c290plus this commit (d96a319663bb, no other PRs carried), compared against baseline kitj7aop-r3b(windowaop2890r3@20261124-1441), baremain4abf0f83c290alone. Both arms ran one-shot with a read-only root on the default J775D command line through the 27.2 stub under published Aurac0aaf3162ede(cleanorigin/mainbuild including mergedaurora-silicon/aura#474).j7aop-r3bj7aop-r3status,mbox-namesdisabled,mbox setupokay,mboxreserved-memory)asc-firmware@1000f4cc000(apple,asc-mem,no-map,0x2c000)RTKit: Initializing (protocol version 12),apple_aopboundaudio.0.auto(snd_soc_t8152_aop_audiobound)macaudiodeferred onHeadphone JackCPU DAI)AppleJ775D(17 controls:Headphone Jack,Headset Mic Jack, jack mixer controls; 0 deferred devices)snd-soc-macaudio sound: driver can't assure safety on this model, disabling speakers(no speaker controls exposed)iwd,systemd-networkd-persistent-storage)err-level kernel linesmacaudiospeaker-safety line)err-level lines are identical on both boots (3apple-dcplines, 3 expectedauroraunsupported 27.2 GPU firmware lines on baremain, 1 USB HIDno listeners). The only newerr-level line onj7aop-r3ismacaudio's expected speaker-safety notice.iwd.service(defconfig crypto) andsystemd-networkd-persistent-storage.service(read-only test root).