Repository navigation
arm64: dts: apple: t8122-j613: sample the speaker sense one bit clock later - #2813
Conversation
… later The J613 amps' voltage and current sense words reach the speaker ports late, as on the J615. Describe that with apple,rx-delay-bclks on the two speaker ports, so the cluster capturing the sense stream samples them one bit clock later. Signed-off-by: Satya Benson <[email protected]>
|
One-line DT change that gives J613 the same
Assisted-by: LLM (Claude:Opus 5.5) |
|
@satchlj checking open drafts today. To come out of draft, this still needs:
If it's no longer needed, say so here and we'll close it. Otherwise it stays open as a draft until these are done. |
|
Merge readiness at
Areas: Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels. |
There was a problem hiding this comment.
Verdict: MERGE at b721e12b
Blockers: none.
Checked: no Apple material, no AI attribution, no chip/board/firmware gates, no cmdline hacks, human Signed-off-by, DT property apple,rx-delay-bclks = <1 1 0 0 0 0> matches J613 speaker MCA ports (0/1) and t8122-j615.dts, J613 hardware row PASS (23,125 -> 7.07 raw quiet sense RMS, <2> rejected by mca.c), all 4 CI checks (dt-checks, host-tests, pr-text, readiness) green.
Evidence
- Inspected
arch/arm64/boot/dts/apple/t8122-j613.dts: adds&mca { apple,rx-delay-bclks = <1 1 0 0 0 0>; };, DT-only change with no driver modifications. - Hardware row on J613 (T8122 MacBook Air 13" M3) in PR body confirms quiet sense RMS drops from
23,125–23,512(bit-shifted) to7.07–8.43counts with<1 1 0 0 0 0>, and<2 2 0 0 0 0>is rejected as expected. - CI at
b721e12b:dt-checks,host-tests,pr-text,readinessall PASS.
|
Merge-train status at |
|
Merging under the 6-point rule (Ryan 09:29, permanent), at |
Add
apple,rx-delay-bclks = <1 1 0 0 0 0>;tot8122-j613.dts(matchingt8122-j615.dts, using the driver support merged in #2589) so J613 speaker sense samples one bit clock later. Replaces #2104.DT only (
t8122-j613.dtbandt8122-j613-25g83.dtb); no driver change.Hardware verification — MacBook Air 13" M3 (J613, T8122)
Tested on
linux-aurora 7.3.0.aurora1-43(dc7c873addc8) + Aura1.0.0b17(5a244b5b) + U-Boot2026.07.aurora11, capturing 3 s (144,000frames,skip=12,000, 8 ch S16_LE 48 kHz) fromhw:AppleJ613,2(Speaker Sense) withSpeaker Volume Unlock = 0(DVC capped at max1/-100.00 dB):apple,rx-delay-bclks0, unmodifiedmain)23,125.16–23,512.79+335..+16,875/-32768..+32767<1 1 0 0 0 0>(this PR)7.07–8.43-0.51..-0.43/-35..+45<2 2 0 0 0 0>23,124.18–23,505.88+466..+16,865/-32768..+32767mca.c(rx_delay > 1clamps to0with warning)Protected playback check with
<1 1 0 0 0 0>andspeakersafetydrunning:First valid sense period: 48000 Hz0.00 dB(Speaker group 0 gain nominal,Speaker group 1 gain nominal)+0.01 Won Left/Right Woofer with smooth thermal model tracking and0amp faults across all 4 amplifiers.