Skip to content

arm64: dts: apple: t8132-j713-j715: give the J715 the J713's sleep, enclave and display power wiring - #2245

Closed
RyanTheTide wants to merge 2 commits into
mainfrom
spec-m3m4/j715-shared-j713-wiring
Closed

RyanTheTide wants to merge 2 commits into
mainfrom
spec-m3m4/j715-shared-j713-wiring

Conversation

@RyanTheTide

@RyanTheTide RyanTheTide commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Stacked on #2244 (same lines of t8132-j713.dts); merge that first.

Problem. The J715 (MacBook Air 15", M4) is the J713 board with a bigger panel and more amps, but its DT lacked the J713's deep-sleep controller, both cluster power gates, the SEP (which Touch ID needs; the J715 already enables the fingerprint sensor), DCP and external-DCP power gating, the DCP/USB4 DART clock-protection slices, the radio port CLKREQ and the ACIO PHY links. All of that sat in t8132-j713.dts with "tested on this machine only" as the reason.

Change. Move those blocks unchanged into the shared t8132-j713-j715.dtsi. Board-specific parts (radio island, ATC PHY trims, panel, amps) stay in the board files.

Testing. cpp + dtc on all six T8132 boards: same warning counts. J713's sorted decompile is byte-identical before and after.

Still to run. On a J715: boot, Touch ID enroll and match, s2r with and without a dock.

RyanTheTide and others added 2 commits November 19, 2026 22:14
Every T8132 has the ANE; the DT enabled it, with its three DARTs, on the
J713 only, the board it was first run on (#1952). The node's resources
and power domains are the SoC's, and the driver binds only when the
loader hands off the firmware preload (aura#260 does so for any
apple,t8132-ane node), so enable it in the SoC file and drop the J713
copy. The J713's DT is unchanged.

Not tested on the J604, J715, J623/J624 or J773g (desk audit, lane
SPEC-M3M4).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…nclave and display power wiring

The J715 (MacBook Air 15", M4) is the J713 board with a larger panel and
six amps; its ADT matches the J713's apart from the radio island and the
ATC PHY trims (t8132-j715.dts). Yet the deep-sleep controller, both
cluster power gates, the SEP (which Touch ID's match path needs, and the
J715 DT already enables the Mesa sensor), the DCP and external-DCP
power gating, the USB4/DCP DART clock-protection slices, the radio
port's CLKREQ and the ACIO PHY links sat in t8132-j713.dts only, with
"tested on this machine only" as the reason.

Move them unchanged into the shared J713/J715 file. The J713 DT compiles
to the same tree (dtc -s output identical before and after).

Not tested on a J715: needs a J715 boot,
Touch ID enroll, and an s2r cycle with and without a dock.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@RyanTheTide

Copy link
Copy Markdown
Contributor Author

Blockers: 3.

  1. Neither commit has a Signed-off-by (5df0283 from arm64: dts: apple: t8132: enable the Neural Engine on every M4 board #2244, and cb64329), and both end with Co-Authored-By: Claude Opus 5.5 <[email protected]>. Add the human sign-off and drop the trailer.

  2. The PR conflicts with integration in t8132-j713-j715.dtsi. e8b68e8 ("keep the DART overrides out of the J713 PMGR file") appended the display/AVE/APR/SIO DART power-domain overrides at the end of the same file, which is where this PR appends its blocks. It is a plain append conflict: rebase and keep both.

  3. This turns on deep sleep (&sleep, &cluster_pwrgate), SEP binding and DCP/external-DCP power gating (apple,consumer-switched, apple,retention-workaround, apple,bridge-link) on a Mac nobody has booted with them. If these are wrong, the J715 hangs on suspend or dies at the first display blank. That can't be found from a DTB diff. Keep the PR in draft until the J715 row below exists.

What I checked: the moved blocks are byte-for-byte the J713 ones, so the J713 DTB is unchanged. The J715 already includes t8132-j713-pmgr.dtsi and the shared ACIO/USB4 files that these nodes refer to. The SEP driver selects the T8132 profile for apple,j715 (drivers/soc/apple/profile.rs:713), so the SEP will bind there. The J715's only radio difference is the firmware board type (t8132-j715.dts:81-88), so moving port00 clkreq-gpios and pcie0 is consistent with that.

HW row: a J715 on the rebased head with:

  • the SEP bound,
  • Touch ID enroll and match,
  • 3x deep sleep without a dock and 1x with a USB4 dock (display and USB back after each),
  • a panel blank and unblank with the DCP power gate,
  • 0 AVC, 0 failed units, no new kernel errors.

Also a J713 regression boot with one deep sleep.

Assisted-by: LLM (Claude:Opus 5.5)

@RyanTheTide

Copy link
Copy Markdown
Contributor Author

Closing for now: this turns on deep sleep, the enclave and display power gating on a J715 that nobody has booted with them; it can come back with a J715 row.

@RyanTheTide RyanTheTide reopened this Nov 22, 2026
@RyanTheTide

Copy link
Copy Markdown
Contributor Author

Reopened and kept as a draft; the comment above lists what it still needs before review.

@RyanTheTide

Copy link
Copy Markdown
Contributor Author

Closing for now: this turns on deep sleep, the enclave and display power gating on a J715 that nobody has booted with them; it can come back with a J715 row.

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.

1 participant