Repository navigation
arm: apple: import the J713 speaker amps configuration - #33
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]>
Contributor
|
Merge train (MTR, 06/11): this conflicted with #34 once #34 merged. Both PRs add a step to the J713 importer, and both took fault numbers 50–51 in the host test. I carried your commit unchanged in #35, together with the merge and the resolution: both steps are kept, and your amp faults move to 60–62. Merging #35 merges this PR. Tests: 10 passed, 1 skipped. |
RyanTheTide
added a commit
that referenced
this pull request
Nov 6, 2026
…import arm: apple: import the J713 speaker amps configuration (#33, merged with aurora-wip)
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.
Linux #981 (merged) takes each SN012776 speaker amp's level from
apple,speaker-config, which aura #75 now copies from the ADT onto the amp's DT node, and keeps the speakers off when an amp has none. The J713 boots its per-kernel device tree from the ESP, and the importer only carries over the properties it lists, so on the J713 the speakers stayed off even with the new aura.This copies the four properties aura #75 sets (
apple,speaker-config,apple,amp-tx-zd-config,apple,bop-configandapple,amp-dcblocker-config) from the input tree'sti,sn012776nodes onto the OS tree's node at the same path.Testing:
test/py/tests/test_apple_j713_fdt.py: 9 passed, 1 skipped (the private-captures test). The newtest_j713_speaker_ampscovers the handover, an amp without its level, a malformed level and a non-amp OS node, plus trees without amps on either side. It fails without the change.scripts/checkpatch.pl: clean. Builds with the J713 configuration.This was developed and tested by Claude (Anthropic), working with me on the J713.