Skip to content

arm: apple: import the J713 speaker amps configuration (#33, merged with aurora-wip) - #35

Merged
RyanTheTide merged 2 commits into
aurora-wipfrom
merge-train/ub33-j713-amp-import
Nov 6, 2026
Merged

RyanTheTide merged 2 commits into
aurora-wipfrom
merge-train/ub33-j713-amp-import

Conversation

@RyanTheTide

Copy link
Copy Markdown
Contributor

Carries erikwb's #33 (J713 speaker amp configuration import, 385b16c, his authorship and sign-off unchanged) plus the merge with aurora-wip after #34 (J713 ISP handoff) landed. Merging this merges #33.

Conflict resolution (only in the J713 importer and its host test):

Review of #33: it only touches the J713 per-kernel importer. It copies the four amp properties aura #75 sets from the ADT. An amp without them stays as it is, so the kernel keeps the speakers off and is fail-safe. A malformed level, or a non-amp OS node, refuses the whole import transactionally. Speaker protection is unchanged: speakerguardd still governs the amps.

Tests: test_apple_j713_fdt.py gives 10 passed, 1 skipped (the private-captures test), on the buildbox with --noconftest. Before the merge: aurora-wip 8/1, #33 9/1, #34 9/1. We have no J713, so the hardware proof is erikwb's J713 boot from #33.

Assisted-by: LLM

🤖 Generated with Claude Code

erikwb and others added 2 commits November 5, 2026 19:04
m1n1 now copies each speaker amp configuration from the ADT onto the
amp node (apple,speaker-config, apple,amp-tx-zd-config, apple,bop-config
and apple,amp-dcblocker-config), and the kernel keeps the speakers off
unless every amp carries its level. The J713 OS tree comes from the ESP,
so copy those properties from the input tree onto its ti,sn012776 amps.

An amp the OS tree does not have is skipped, and an input amp without
them (an older m1n1) leaves the OS amp as it is. A malformed level, or an
OS node at an amp path that is not an amp, refuses the import.

Signed-off-by: Erik Bourget <[email protected]>
Resolve the conflict with #34 (J713 ISP handoff) in the J713 importer:
keep both j713_speaker_amps() and j713_isp(), both called from
apple_j713_import_fdt(). In the host test, the speaker amp faults move
from 50-52 to 60-62, since #34 took 48-51 for the ISP.

Assisted-by: LLM
Signed-off-by: Ryan Murray <[email protected]>
@RyanTheTide
RyanTheTide merged commit 23830a2 into aurora-wip Nov 6, 2026
2 checks passed
@RyanTheTide
RyanTheTide deleted the merge-train/ub33-j713-amp-import branch November 6, 2026 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants