Repository navigation
arm64: dts: apple: t6041-j614c: enable the speaker card and amps - #2061
Conversation
|
Confirmed on a second J614c (M4 Max, 16 CPU / 40 GPU cores) with this change on a 7.3.0 integration/aurora tree (c0a2a75 + a few T6041 PRs): AppleJ614 binds with all six amps, 🤖 Generated with Claude Code |
|
Blockers: 1.
The change is safe as far as the code goes. The six amps come from t6041-j614c-j616c.dtsi:2388-2464, each with HW row: J614c on 7.3.0-40 plus this commit: amp temperatures and fault status after a 100 % music run under speakerguardd v2, and 0 AVC, 0 failed units, 0 new kernel errors. Assisted-by: LLM (Claude:Opus 5.5) |
|
On 110861f, the J614c sound card and its six amps are still disabled. The commit applies cleanly on 110861f. Since this branch's base the tip's J614c changes are unrelated (panel nits, CLPC/cooling, port-controller interrupt). @mouthmantra, the review points are still open: re-commit with only your Signed-off-by, and update the file header to say which parts now come from the J614c. Also add the row: amp temperatures and fault status after a 100% music run under speakerguardd v2, with 0 AVC, 0 failed units and no new kernel errors. Build check of 110861f plus this change (arm64, LLVM=1, Image, dtbs and every directory it touches, Fedora config plus asahi.config): builds, no warnings in the files it touches; CHECK_DTBS over the 138 Apple DTBs this change rebuilds: no new warnings against the tip. |
DjDeveloperr
left a comment
There was a problem hiding this comment.
Pre-PR checklist review at 1f8405e96461 (checked against integration/aurora 70a00e583b03): 2 blockers (§4 attribution, §5 exact-head regression & thermal verification).
Code, DT, and Safety Audit (§1–§3, §6)
- DT & speaker safety (§3) are sound: Removing the
status = "disabled"overrides on&sound(apple,j614-macaudio,macaudio_j614_cfg) and the six SN012776 amps inherited fromt6041-j614c-j616c.dtsi(each withapple,sdz-group-fail-closed) keeps fail-closed protection intact:macaudio_sn012776_levels_present()requires the boot loader'sapple,speaker-configrow on every amp, and playback requires aspeakerguarddv2 lease (staying at the floor otherwise). Two J614c units confirmedaurora-speaker-upgrade --checkand playback underspeakerguarddv2. Not superseded onintegration/aurora. - Live CI:
dt-checksandhost-testsare green on1f8405e96461.
Blockers
- §4 commit trailers & PR disclosure: Commit
1f8405e96461includesCo-Authored-By: Claude Opus 5.5 <[email protected]>andClaude-Session:trailers. Per §4, re-commit with human author/committer identity and humanSigned-off-by:only (zero AI or session trailers in commit messages), and add anAssisted-by:disclosure line at the end of the PR description. - §5 regression counts & speaker thermal/fault run: Please attach §5 regression counts (
0 SELinux denials, 0 failed units, 0 new kernel errors) on the updated head along with amp temperatures and fault status after a 100% music playback run underspeakerguarddv2.
Cleanliness Note (please update on re-push)
arch/arm64/boot/dts/apple/t6041-j614c.dts:7-10still says"There is no J614c ADT yet"while this change relies on the J614c's acoustic ID 34 and speaker-config records. Please update the file header comment to state which parts come from the J614c and which remain borrowed.
Assisted-by: LLM (Gemini 4 Neon)
The J614c (MacBook Pro 14-inch, M4 Max) kept its speaker card and six SN012776 amps disabled, as the J614s did before aurora-silicon#1665 brought its speakers up. The J614c has the same 14-inch chassis and speakers: macOS on a J614c reports acoustic-id 34 (0x22), the J614s value, and a six-record speaker-thiele-small. Drop the disabled overrides so the J614c binds the J614 card (apple,j614-macaudio, macaudio_j614_cfg) over the shared J614c/J616c amp description. Protection is unchanged: playback still waits for a speakerguardd v2 lease, and without it the amps stay at the floor. Tested on a J614c with kernel-aurora 7.3.0-40 (9125b31) plus this change: the Stage 2 trial committed, AppleJ614 binds with all six amps and both protection interfaces, aurora-speaker-upgrade --check passes with this Mac's AID34 tuning, and the speakers play under speakerguardd v2. Signed-off-by: mouthmantra <[email protected]>
1f8405e to
0c01b83
Compare
|
Thanks for the reviews. Updated to a single commit,
|
DjDeveloperr
left a comment
There was a problem hiding this comment.
Pre-PR checklist re-review at 0c01b8362a9f (base 110861f4; checked against integration/aurora 04e94d272cf6). All three points from my review at 1f8405e9 are resolved, and so are RyanTheTide's. Approving the code. It can merge once dt-checks and host-tests pass on this exact head.
Prior blockers
- §4 attribution: resolved.
0c01b836has mouthmantra as author and committer and carries onlySigned-off-by: mouthmantra. It has noCo-Authored-By:,Claude-Session:orAssisted-by:trailers. The PR body ends with theAssisted-by:disclosure. - §5 evidence: resolved. The PR now reports a fresh-boot regression run: 0 SELinux denials and 0 new kernel errors against the last stock kernel-aurora boot. The only error-level lines are the pre-existing
asc-firmware/isp-firmwarereserved-memory overlap, which appears on all 48 earlier boots. There was also a 361 s, 100% music run under speakerguardd v2 (granted=1 play=1 report=ok). All six amps stayed at 30–35 °C, theirAmp Fault Statusread0,0,0before and after, and the run logged 0 kernel errors and 0 denials. - Header: resolved.
t6041-j614c.dtsnow says which part comes from the J614c (the speakers: AID 34, six records, the loader-filledspeaker-configrows). It also lists what is still borrowed: CPU limits, operating points, trackpad and keyboard wiring, and panel brightness from the J616c, and the Wi-Fi island from the J614s.
Audit §1–§6
- §1 / §2: This is a DT-only change and adds no gates in code. The J614c binds the existing
apple,j614-macaudio/macaudio_j614_cfgpath. No parameters are added. The test boot'suser4k=onandarm64.nosmeare unrelated to sound, and the speakers don't need them. - §3 safety holds. The six SN012776 amps come from
t6041-j614c-j616c.dtsi, and each keepsapple,sdz-group-fail-closed(6/6 at the base and at the tip). The speakers stay off unless the loader suppliesapple,speaker-configon every amp, and playback still waits for a speakerguardd v2 lease, holding the amps at the floor until one is granted. The legacy protection has no J614 profile, so without v2 the speakers stay muted. The change has no hardcoded safety values. - Re-push delta: Compared with
1f8405e9, the functional DT diff is byte-identical: the samestatus = "disabled"lines are removed from&soundand the six amps. Only comments and the commit trailers changed. The HW run on9125b314+ this DT change is therefore valid for this head. RyanTheTide's build + CHECK_DTBS run covers110861f+ this change (no new warnings across 138 DTBs). - Not superseded: At the
integration/auroratip the J614c card and amps are still disabled. Nothing on the tip since110861ftouchest6041-j614c*or macaudio. - §4 clean-room: No Apple code or tuning values are in the diff. AID 34 and the record count are what macOS reports on this Mac.
- §6: n/a.
Remaining gate (maintainer action, not author)
- §5 exact-head CI:
Device tree checksandHost testson0c01b8362a9fareaction_required: these are fork workflows waiting for a maintainer to approve them, so they have not run yet. Both passed on1f8405e9, which has the same functional diff. Merge only after both are green on0c01b8362a9f.
Non-blocking: the one failed unit in the regression run is Proton VPN's third-party split-tunneling daemon. It is userspace and unrelated to this change.
Assisted-by: LLM (Claude Opus 5.5)
|
Merge readiness at
Areas: Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels. |
|
Merging at |
The J614c (MacBook Pro 14-inch, M4 Max) kept its speaker card and six SN012776 amps disabled, as the J614s did before #1665 brought its speakers up. The J614c has the same 14-inch chassis and speakers: macOS on a J614c reports acoustic-id 34 (0x22), the J614s value, and a six-record speaker-thiele-small.
This drops the disabled overrides so the J614c binds the J614 card (
apple,j614-macaudio,macaudio_j614_cfg) over the shared J614c/J616c amp description. Protection is unchanged: every amp keepsapple,sdz-group-fail-closed, the card still needs the boot loader'sapple,speaker-configrow on each amp, and playback waits for a speakerguardd v2 lease, with the amps held at the floor until one is granted.The header of
t6041-j614c.dtsnow says what comes from the J614c (the speakers) and what is still borrowed: CPU limits and operating points, trackpad and keyboard wiring and panel brightness from the J616c, and the Wi-Fi island from the J614s.One commit on top of
110861f, signed off by me only.Testing
Mac: J614c, MacBook Pro (14-inch, M4 Max, 2024),
asahi,os-fw-version26.6.2.Kernel: kernel-aurora 7.3.0-40 (
9125b314) built with this change, package7.3.0-40.fc45.aurora.j614ctb1. The DT change is the same as on this branch; the branch only adds the header comment. That build also carries two local patches that do not touch sound (trackpad resume and the USB4 routers). The command line hasuser4k=onandarm64.nosme, for x86 emulation and an unrelated SME fault in a userspace app; speakers do not depend on either. RyanTheTide's build and CHECK_DTBS run covers110861fplus this change.Speaker packages: speakerguardd-v2 1.0.0~alpha.1-0.48 (git 04169c447065), speakerguardd-v2-selinux at the same version, aurora-speaker-upgrade 0.1-0.15.
Bring-up (Nov 16): the Stage 2 trial committed, AppleJ614 binds with all six amps and both protection interfaces,
aurora-speaker-upgrade --checkpasses with this Mac's AID34 tuning, and the speakers play under speakerguardd v2. joske confirmed the same on a second J614c.Regression run (Nov 23, fresh boot):
me.proton.vpn.split_tunneling.service, Proton VPN's third-party split-tunneling daemon, which hits its restart limit at boot. It is userspace and unrelated to the kernel or audio.asc-firmwareand theisp-firmwareregions, which appears on all 48 earlier boots back to 7.3.0-36.100% music run under speakerguardd v2: a music track looped for 361 s on the "MacBook Pro J614 speakers" sink at 100% volume.
speakerguardd-v2-sessionstayed active and granted the lease (granted=1 play=1 report=ok). Die temperatures come from each amp's hwmon sensor, read every 15 s. Fault status is the per-ampAmp Fault Statuscontrol: fault bits, fault interrupt count, SDZ group forced off.During the run: 0 kernel errors and 0 SELinux denials.
Assisted-by: Claude Opus 5.5