Repository navigation
arm64: dts: apple: t8122-j615: deep sleep by default - #4076
Merged
Merged
Conversation
The J615 (MacBook Air 15" M3) on the macOS 27.2 firmware has been through full deep sleeps and wakes on the T8122 sleep path. Mark its sleep node apple,sleep-tested, as the J613 is, so that deep sleep is offered, is the default and commits without apple_sleep.deep=1 or apple_sleep.untested_commit=1. Keep the experimental 25G83 J615 profile as it was: it includes this file, and deep sleep has not been tried on it. Tested on a J615 (27.2 stub) with this DTB and a kernel built from the base, default command line: mem_sleep reads "s2idle [deep]" at boot, three deep sleeps with the PMU RTC (boot object resumes 0 -> 3) and one s2idle all wake with the panel, GPU, Wi-Fi and audio back, no Oops, WARN or failed units. Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
|
Merge readiness at
Areas: Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels. |
DjDeveloperr
approved these changes
Dec 3, 2026
DjDeveloperr
left a comment
Contributor
There was a problem hiding this comment.
Reviewed at fd65f80. Same property and place as the J613 in #3760. The 25G83 J615 profile is the only DTS that includes t8122-j615.dts, and it deletes the property, so it keeps today's behaviour. No code changes. dt-checks and host-tests are green, and the J615 row (three committed deep sleeps, one s2idle, default command line) covers the one board that changes.
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.
Problem
linux#3760 lets a board say its deep sleep has been through full sleeps and wakes (
apple,sleep-tested), and switches it on for the J613 only. The J615 (MacBook Air 15" M3) on the 27.2 firmware still needsapple_sleep.deep=1andapple_sleep.untested_commit=1for a committing deep sleep, so the M3 Air 15" sleeps in s2idle by default.Change
t8122-j615.dts: mark&sleepapple,sleep-tested, the same lines soc: apple: sleep: T8122: deep sleep by default on J613 #3760 adds for the J613.t8122-j615-25g83.dtsincludest8122-j615.dts, so it drops the property again. Deep sleep has not been tried on the experimental 25G83 J615 profile, and it stays as it was.#3760 (binding + driver) is merged; this branch sits on its head 19dbc9d, so the diff against main is these two files.
Testing
Tested: J615 (MacBook Air 15" M3, T8122, macOS 27.2 / 26B123 stub). Kernel built from #3760's head 19dbc9d, with this PR's
t8122-j615.dtb(identical when decompiled to the DTB tested) booted as its own DTB, default command line (noapple_sleep.*, nomem_sleep_default=).mem_sleepreadss2idle [deep]at boot and the probe logs "deep sleep is the default". Three deep sleeps with the PMU RTC (boot object resumes 0 -> 1 -> 2 -> 3, 22-24 s each) and one s2idle: panel, backlight, GPU, Wi-Fi and audio back after each, glmark2 after the cycles, 0 Oops/WARN, 0 GPU faults, 0 failed units. CHECK_DTBS ont8122-j615.dtbandt8122-j615-25g83.dtb: 0 warnings; the 25G83 DTB has noapple,sleep-tested.Risk: Two-way. J615 on 27.2 only: deep sleep becomes the default and commits. No other DTB changes (
t8122-j615-25g83keeps today's behaviour); no code changes.Still to run
Row details
7.3.0-m3x3760(fleet config minus display KUnit) from 19dbc9d, as a non-default one-shot entry with the saved entry's options. DTB sha256 78f516c579093e45... passed through a one-boot DT trial; the committed boot chain was not changed and the Mac was back on its production kernel after.sleep data derived for this SoC, through full sleeps and wakes on this machine (apple,sleep-tested),deep sleep is the default: boot object resumes 0. Module paramsdeep=N untested_commit=N.wake source: NUB.SPMI0.SW3, eDP connected/enabled, backlight 500, aurora-g16 health failed 0 at S2, Wi-Fi up with ping, 3 ALSA cards / 2 sinks.suspend_statssuccess 5, fail 0.Bluetooth: hci0: command 0x0c01 tx timeouton the second wake (Bluetooth powered afterwards), DCP firmware syslogIOAVVideoInterface open failed/read_pmu_data_syncat each wake with the panel back, and USB4 link errors on the second wake from the cable to another Mac.