Repository navigation
arm: apple: import the J713 ISP handoff - #34
Merged
Merged
Conversation
aura can hand the J713's camera firmware over to the OS: it fills the control tree's empty isp-firmware-text and isp-firmware-data placeholders from the ADT, sets the ISP's apple,platform-id and enables the ISP and its DARTs. The reservations reach the OS tree's placeholders of the same names through the reserved-memory copy. Carry the platform ID over to the OS tree's ISP and enable its DARTs, then the ISP itself. Skip the placeholders aura left empty, and the heap window, which has no memory of its own, in the reserved-memory copy. An OS tree without the ISP owns none of its reservations: leave their mappings out, as for an omitted AOP. An incomplete handoff leaves the OS tree's ISP disabled rather than refusing the boot for an optional camera, and an OS tree whose ISP is already enabled reserves its own firmware and is left alone. Signed-off-by: Erik Bourget <[email protected]>
This was referenced Nov 6, 2026
Contributor
|
Merge train (MTR, 06/11): merging. Review: everything is in the J713 importer ( |
This was referenced Nov 6, 2026
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.
Companion to aurora-silicon/aura#84. On the J713 the boot loader hands the camera (ISP) firmware over to the OS. It fills the control tree's empty
isp-firmware-text/isp-firmware-dataplaceholders from the ADT, sets the ISP'sapple,platform-id, and enables the ISP and its DARTs. On J713 the kernel gets its per-kernel tree through the J713 importer. The reservations reached it through the reserved-memory copy, but the platform ID and the enables didn't, and the importer refused the empty placeholders.Change
j713_isp): it copiesapple,platform-idto the OS tree's ISP, enables its DARTs, and enables the ISP last.reg,status = "okay",iommu-addressesowned by the OS ISP).reg, or a zero one), so a refused handoff no longer fails the whole import.isp-heapwindow, which has no memory of its own.test_j713_isp_handoffcovers:Depends on
Testing
test/py/tests/test_apple_j713_fdt.py: 9 passed, 1 skipped (private_captures). checkpatch is clean.apple_m1_defconfig(withCONFIG_APPLE_J713_FDT=y) andapple_j873_defconfigbuild with-Werror.developed and tested by Claude (Anthropic), working with me on the J713