Repository navigation
arm64: dts: apple: t6050-j714s: the deep sleep's SoC data - #2030
Merged
Merged
Conversation
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]>
This was referenced Nov 16, 2026
Merged
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.
The T6050 deep sleep drivers in
integration/auroratake 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 aftert6050-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.dtsincludes 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+dtcoft6050-j714s.dts: builds, no new dtc warnings (the existing ones are unchanged); the DTB is byte-identical to the tested tree's.--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