Repository navigation
arm64: dts: apple: t8132-j773g: the headphone jack - #2236
DjDeveloperr wants to merge 1 commit into
Conversation
The Mac mini has no microphones, so the AOP audio node was deleted; but like the M4 Pro Mac mini (J773s) its headphone jack is a CS42L84 on the AOP's jack back-end. Describe the jack's streams, "cout" and "cin" on base-ns ADMAC channels 4 and 5 (ADT audio-codec-output and audio-codec-input), with no "dma" channel so the AOP audio component attaches no microphone, and a jack card of its own. The speaker stays without a card. Signed-off-by: Diljit Singh <hey@djdev.me>
|
Tested on the owner's Mac mini J773g with the macOS 27.2 (26B123) firmware (boot dcp8, 11-20). The kernel was 010c3eb, whose J773g audio DT and code match this PR's head plus #2298 (jack + speaker cards). The AOP was handed over by aura#418, with the 27.2
🤖 Generated with Claude Code |
|
Looks good; approve once the jack-detect row below is in and the AOP handover (aura#418) is merged. The DT is consistent with the tree.
HW row: J773g on the default command line. Plug and unplug headphones, then a headset: the Assisted-by: LLM (Claude:Opus 5.5) |
There was a problem hiding this comment.
Verdict: Changes requested at e89ad368f4cf.
DT checks pass and the jack-only DMA channels follow the existing jack path. Please remove generated/assisted attribution from the PR text under current policy. The tested 27.2 AOP handoff in aura#418 remains open. The unplugged PCM test verifies DMA progress, but DAPM kept the analog output off. Please attach a J773g row with jack detection, audible headphones playback and a non-silent headset microphone capture on the actual handoff stack.
|
Merge readiness at
Areas: Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels. |
|
The |
What: Describe the Mac mini M4 (J773g) headphone jack. It's a CS42L84 on the AOP's jack back-end, with its "cout" and "cin" streams on ADMAC channels 4 and 5, no PDM microphone, and a jack card of its own. The speaker stays without a card.
Tested: On 11-19, a J773g with this DT and a loader that hands the AOP over showed: the AOP ready,
card 0: AppleJack, and onespeaker-testloop finishing with rc 0 while nothing was plugged in. The DTB builds andcheckpatch --strictis clean. The loader handoff has since merged as aurora-silicon/aura#418.Risk: two-way · J773g only (one board DT).
Not yet: a J773g row at this head on the aura#418 handoff, covering jack detection with a plug, audible headphone playback, and capture from a headset mic that isn't silent.
Details
Summary
The Mac mini (M4, J773g) has no microphones, so its tree deleted the AOP audio node and the machine had no sound card. Like the M4 Pro Mac mini (J773s), its headphone jack is a CS42L84 (ADT
/arm-io/i2c1/audio-codec-output) on the AOP's jack back-end.This describes:
audio-codec-outputandaudio-codec-inputstreamdma-channels;The speaker (SN012776) stays without a card. The AOP needs the loader's handoff, which is aurora-silicon/aura#310 (stacked on aura#113).
Testing
Measured on the owner's Mac mini J773g, 2026-11-19, with this DT and an aura that hands the J773g AOP over (Stage 2 963eb02c):
apple_aop ... ===( AOP IS READY )===, andcard 0: AppleJack [Mac mini J773g Jack]with the CS42L84 controls.speaker-test -D plughw:AppleJack -c 2 -t sineran one loop to completion (rc 0) with no kernel errors, so the DMA path AOP → ADMAC → CS42L84 runs.Headphone Jack= off), so the output was not heard. Jack detection with a plug and capture from a headset mic are not tested yet.The DTB builds on integration/aurora 0abc2f3 (
cpp | dtc).checkpatch --strictis clean.