Skip to content

arm64: dts: apple: t8122-j615: deep sleep by default - #4076

Merged
DjDeveloperr merged 1 commit into
mainfrom
dt/t8122-j615-sleep-tested
Dec 3, 2026
Merged

DjDeveloperr merged 1 commit into
mainfrom
dt/t8122-j615-sleep-tested

Conversation

@RyanTheTide

Copy link
Copy Markdown
Contributor

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 needs apple_sleep.deep=1 and apple_sleep.untested_commit=1 for a committing deep sleep, so the M3 Air 15" sleeps in s2idle by default.

Change

  • t8122-j615.dts: mark &sleep apple,sleep-tested, the same lines soc: apple: sleep: T8122: deep sleep by default on J613 #3760 adds for the J613.
  • t8122-j615-25g83.dts includes t8122-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 (no apple_sleep.*, no mem_sleep_default=). mem_sleep reads s2idle [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 on t8122-j615.dtb and t8122-j615-25g83.dtb: 0 warnings; the 25G83 DTB has no apple,sleep-tested.
Risk: Two-way. J615 on 27.2 only: deep sleep becomes the default and commits. No other DTB changes (t8122-j615-25g83 keeps today's behaviour); no code changes.

Still to run

Row details
  • Kernel 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.
  • Probe: 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 params deep=N untested_commit=N.
  • Each deep wake: 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_stats success 5, fail 0.
  • Seen and not new to this change: one Bluetooth: hci0: command 0x0c01 tx timeout on the second wake (Bluetooth powered afterwards), DCP firmware syslog IOAVVideoInterface open failed / read_pmu_data_sync at each wake with the panel back, and USB4 link errors on the second wake from the cable to another Mac.

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>
@RyanTheTide
RyanTheTide requested review from a team as code owners December 3, 2026 07:08
@github-actions github-actions Bot added area:platform Area from CODEOWNERS (bot) blast:m3 Macs affected, from Merge risk (bot) door:two-way Revertible or not, from Merge risk (bot) needs-hw-row No hardware row at the PR head (bot) needs-review No approving review from Core or Omarchy Mac yet (bot) labels Dec 3, 2026
@github-actions

github-actions Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

Merge readiness at fd65f80e: not ready yet

Check Detail
CI at head ok 5 checks passed
Review no needs one approving review from Core or Omarchy Mac (not the author)
Requested changes ok none
Hardware row at head no no line with the head SHA fd65f80e, a Mac and a result in the PR body or a comment
Conflicts ok none
PR text ok Risk: two-way · . J615 on 27.2 only: deep sleep becomes the default and commits. No other DTB changes (t8122-j615-25g83 keeps today's behaviour); no code changes.

Areas: area:platform

Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels.

@DjDeveloperr DjDeveloperr 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 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.

@DjDeveloperr
DjDeveloperr merged commit 09ceac6 into main Dec 3, 2026
6 checks passed
@DjDeveloperr
DjDeveloperr deleted the dt/t8122-j615-sleep-tested branch December 3, 2026 07:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:platform Area from CODEOWNERS (bot) blast:m3 Macs affected, from Merge risk (bot) door:two-way Revertible or not, from Merge risk (bot) needs-hw-row No hardware row at the PR head (bot) needs-review No approving review from Core or Omarchy Mac yet (bot)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants