Skip to content

arm64: dts: apple: t6050-j714s: the deep sleep's SoC data - #2030

Merged
DjDeveloperr merged 1 commit into
integration/aurorafrom
j714s/sleep-soc-data
Nov 16, 2026
Merged

DjDeveloperr merged 1 commit into
integration/aurorafrom
j714s/sleep-soc-data

Conversation

@DjDeveloperr

@DjDeveloperr DjDeveloperr commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

The T6050 deep sleep drivers in integration/aurora take their per-board values from the DT: without them the sleep is refused or the step that needs them is skipped. The J714s's (MacBook Pro 14", M5 Pro) tree has none of them yet. Until the boot loader hands them over, this adds them in two includes after t6050-j714s-sleep.dtsi:

  • t6050-j714s-sleep-soc.dtsi: the sleep controller's commit window schedule and runway, SMC sleep policy and spacings, the boot, stage, commit, wake and restore register sequences and word lists, the clock-gating set-up, the radio link's and shared PCIe PHY's sequences, the clusters' CPM boot writes and nub-spmi0's PMU interrupt source (apple,spmi-pmu-sources); the PMP's kept SRAM, boot channel writes and echo entry; the GAPF slice of each DART the sleep stops; the N1's warm reset and SMC writes around a sleep; the SIO, AOP, AOP2 and trackpad actuator values; the firmware 27 display coprocessors' sleep call arguments and the internal panel's display stage arguments, HDCP open word and video open delay; the NVMe wake delay and the GPU's automatic power state after a sleep.
  • t6050-j714s-sleep-adt.dtsi: the pins the sleep leaves alone and the wake sources it enables, which the boot loader fills from the ADT; set here with the ADT's values for a loader that does not fill them yet.

The values are the ones macOS uses on this machine, but AOP2's wake message (apple,wake-message), which is its sleep message's form with the opening code.

J714s only: only t6050-j714s.dts includes the two files.

Dependencies

None for the build (DT only). With it the J714s's deep sleep runs on a public kernel; for the internal panel to light after the wake it needs #2028 and #2029 (and #2027).

Testing

The compiled DTB is byte-identical to the one the J714s ran in the deep-sleep runs of #2029 (the files only differ in names and comments).

Checks

  • cpp + dtc of t6050-j714s.dts: builds, no new dtc warnings (the existing ones are unchanged); the DTB is byte-identical to the tested tree's.
  • checkpatch (--strict): 0 errors; the warnings are the author name against the sign-off's, two comment lines over 100 columns and the MAINTAINERS reminder for new files.

🤖 Generated with Claude Code

The T6050 deep sleep drivers take their per-board values from the DT:
without them the sleep is refused or its step is skipped, and the
J714s's tree had none. Until the boot loader hands them over, the J714s
(MacBook Pro 14-inch, M5 Pro) has them here, in two includes after
t6050-j714s-sleep.dtsi:

t6050-j714s-sleep-soc.dtsi:
- the sleep controller: the commit window's schedule and its runway,
  the SMC's sleep policy and spacings, the boot, stage, commit, wake
  and restore register sequences and word lists, the clock-gating
  set-up, the radio link's and the shared PCIe PHY's sequences, the
  clusters' CPM boot writes, and nub-spmi0's PMU interrupt source
  (apple,spmi-pmu-sources), which the sleep acknowledges at every wake
  before the run-time mask goes back, as macOS does;
- the PMP: the SRAM it keeps over a sleep, its memory-cache channel and
  PPM-TO-SMC writes at boot, and the PTD entry it echoes into;
- the GAPF slice and its live and off values of each DART the sleep
  stops (SEP, PMP, SIO, the radio's PCIe port and the display
  coprocessors');
- the N1's warm reset writes and its SMC writes around a sleep;
- the SIO's DMA channel words, AOP2's INIT argument, sleep and wake
  messages and endpoint orders, the AOP's endpoint orders, and the
  trackpad actuator's sleep report;
- the firmware 27 display coprocessors' sleep call arguments, and the
  internal panel's display stage arguments, HDCP open word and the wait
  before its video interface is opened;
- the NVMe coprocessor's wake delay and the GPU domain's automatic
  power state after a sleep.

t6050-j714s-sleep-adt.dtsi: the pins the sleep leaves alone and the
wake sources it enables, which the boot loader fills from the ADT; set
here with the ADT's values for a loader that does not fill them yet.

The values are the ones macOS uses on this machine, but AOP2's wake
message (apple,wake-message), which is its sleep message's form with
the opening code.

Signed-off-by: Diljit Singh <[email protected]>
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