Skip to content

arm64: dts: apple: describe the J614s ISP firmware handoff - #821

Merged
RyanTheTide merged 2 commits into
aurora-silicon:integration/aurorafrom
notmysegv:codex/j614s-isp-reservations
Nov 4, 2026
Merged

RyanTheTide merged 2 commits into
aurora-silicon:integration/aurorafrom
notmysegv:codex/j614s-isp-reservations

Conversation

@notmysegv

@notmysegv notmysegv commented Nov 1, 2026 •

Copy link
Copy Markdown
Member

The J614s board tree inherits the J616s ISP firmware's physical addresses. Those addresses come from a different machine and cannot safely describe this boot's firmware.

Replace the inherited text and data reservations with placeholders for the bootloader to populate from this machine's firmware description. Keep the existing 32 MiB IOVA window, and leave the ISP and its three DARTs disabled until the loader has prepared the handoff. This does not change the J616s tree.

The matching Aura ISP handoff is merged in aurora-silicon/aura#48 and #72. Without a compatible successful loader handoff, the camera stays disabled.

Validation:

  • Merged integration/aurora at 5ced6f9e31957c3489a2b7c9a4cf2e4c80c173ca into this branch, preserving the upstream shared SD reader description. The resulting diff against integration changes only t6040-j614s.dts.
  • Compiled all 118 Apple DTBs before and after the merge resolution, using the kernel's DTC and matching include files. Only t6040-j614s.dtb differs; the other 117, including J616s, are byte-identical. Strict checkpatch on the final source diff reports no errors, warnings or checks.
  • Previously booted a J614s using this ISP device-tree arrangement, a candidate Aura handoff and U-Boot without the duplicate ISP producer. The ISP driver bound and the owner confirmed a live camera image. That hardware test used the arm64: dts: apple: add the J614s (MacBook Pro 14-inch, M4 Pro) #795-derived tree with the separate identifiers from arm64: dts: apple: use J614s panel and firmware identifiers #816 and other local boot handoffs. It was not a boot of this exact merged branch.
  • The refreshed merge has not been booted or subjected to a new full kernel build locally; the checks above compile the device trees.

Generated-by: LLM
Assisted-by: LLM
Signed-off-by: Michal S. <[email protected]>

@RyanTheTide RyanTheTide left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed for the merge train. The change looks right, but two things stop us from merging it:

  1. Base branch. It targets j614s/experimental-dts. That branch is fully contained in integration/aurora and 212 commits behind it, so nothing merged there ships. Please retarget the PR to integration/aurora.
  2. Conflict there. Since this branch was cut, df40d59 ("t604x-j614-j616: Enable the SD reader on both") moved the GL9755 SD reader block out of t6040-j614s.dts into the shared t604x-j614-j616.dtsi. Please merge integration/aurora into your branch rather than rebasing it. The resolution is to keep the upstream side, without the SD reader block, and append your &isp, /delete-node/, reserved-memory and &isp_dartN hunks after &mesa.

I did exactly that resolution in a test merge, and checked it on integration/aurora 7d581f6 together with #817 and #804:

  • The shipping-config build is clean.
  • All 118 dtbs build, and t6040-j614s.dtb is the only one that changes. The J616s and every other board are byte-identical.

The Aura side it needs, aurora-silicon/aura#48, is now merged, along with the rest of the J614s Stage 2 handoffs in aura#72. Once this is retargeted and the base is merged in, it can go in.

Keep the upstream shared SD reader description and append only the J614s ISP reservations and disabled-device handoff.

Generated-by: LLM
Assisted-by: LLM
Signed-off-by: Michal S. <[email protected]>
@notmysegv
notmysegv changed the base branch from j614s/experimental-dts to integration/aurora November 4, 2026 22:32

Copy link
Copy Markdown
Member Author

Merged integration/aurora at 5ced6f9 into the branch in 94d3dbe and retargeted this PR there. The conflict resolution keeps the upstream shared SD reader description and appends the ISP handoff after &mesa.

Compiled all 118 Apple DTBs on the integration baseline and the resolved branch using the kernel's own DTC. Only t6040-j614s.dtb changes; the other 117, including J616s, are byte-identical. Strict checkpatch on the final source diff reports 0 errors, warnings and checks. The original commit and merge commit both carry the DCO and LLM disclosure trailers.

Updated the description to reflect the merged Aura dependency and current validation. I have not booted this refreshed merge or repeated your full shipping-config build; the earlier combined-stack camera test remains the hardware evidence. Ready for re-review.

@notmysegv
notmysegv requested a review from RyanTheTide November 4, 2026 22:33
@RyanTheTide
RyanTheTide merged commit efe94af into aurora-silicon:integration/aurora Nov 4, 2026
@RyanTheTide

Copy link
Copy Markdown
Contributor

Merged, thanks. Re-gated on integration/aurora 5ced6f9 with #804 and #821 together:

  • every commit carries your Signed-off-by;
  • the shipping-config build is clean;
  • all 118 dtbs build, and only t6040-j614s.dtb changes;
  • W=1 on drivers/gpu/drm/asahi/, apple-dart and rtkit-helper gives 0 new warnings;
  • the apple-dcp host selftests pass 85/85.

aurora-wip has been fast-forwarded to match.

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