Repository navigation
arm: apple: import the J713 speaker amps configuration (#33, merged with aurora-wip) - #35
Merged
Merged
Conversation
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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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):
j713_fdt.c: keeps bothj713_speaker_amps()andj713_isp(). Both are called fromapple_j713_import_fdt(), the amps before dcpext as in arm: apple: import the J713 speaker amps configuration #33 and the ISP after it as in arm: apple: import the J713 ISP handoff #34.test_apple_j713_fdt.py:fixture_tree()takes bothampsandisp. The speaker amp faults move from 50–52 to 60–62, because arm: apple: import the J713 ISP handoff #34 took 48–51 for the ISP. The non-refusing list gains 60, an amp without its level, which is left as it is.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.pygives 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