Skip to content

arm64: dts: apple: t6041-j575c: enable cpuidle - #1575

Merged
RyanTheTide merged 1 commit into
aurora-silicon:integration/aurorafrom
7robertodantas:j575c-cpuidle
Nov 12, 2026
Merged

RyanTheTide merged 1 commit into
aurora-silicon:integration/aurorafrom
7robertodantas:j575c-cpuidle

Conversation

@7robertodantas

Copy link
Copy Markdown
Contributor

Written with an AI assistant (Claude) on @7robertodantas's behalf; every hardware step was run and checked on the owner's J575c.

t6041-j575c: enable cpuidle

Every other T604x and T8132 board sets &cpuidle { status = "okay"; }; the J575c (Mac Studio, M4 Max) did not, so it ran with cpuidle driver none and s2idle never reached the tick freeze. This enables it. Four lines, DT only.

Tested on a J575c (linux-aurora 7.3.0, the live J575c DTB with /cpuidle set to okay, first as a one-shot aura trial, then permanent):

Test Result
cpuidle driver pass: apple_idle, two WFI states (as on the other M4 machines), CPUs entering them
s2idle, PMU RTC alarm wake (rtcwake -d rtc1 -m freeze -s 30) pass: same boot, suspend_stats success
s2idle, USB keyboard key wake pass
s2idle from the Plasma menu, about 7 minutes, key wake pass
After each wake HDMI and USB-C displays, USB devices (no re-enumeration), Ethernet (link back in about 5 s), speaker and jack cards, speakersafetyd: all back; no new kernel errors
Boot with the change permanent pass

Not tested: power-button wake, many-cycle soak, sleep with Thunderbolt devices. Deep sleep (suspend-to-RAM) is out of scope: there is no T6041 provider yet (see #1445, #1477).

Once, on the trial boot, the Plasma login screen dropped letter keys (the kernel received them; restarting the greeter fixed it) after the keyboard re-enumerated. Not seen again; noted in case it recurs.

🤖 Generated with Claude Code

Every other T604x and T8132 board enables the cpuidle node; the J575c
did not, so it ran without a cpuidle driver and s2idle never reached the
tick freeze. Enable it.

Tested on a J575c (Mac Studio, M4 Max): apple_idle registers (two WFI
states, as on the other M4 machines), and s2idle enters and resumes on
the PMU RTC alarm, a USB keyboard press, and from the desktop after
seven minutes, with both displays, USB, Ethernet and audio back.

Signed-off-by: Roberto Dantas <7robertodantas@gmail.com>
Assisted-by: LLM (Claude Code)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

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

Matches the other T604x boards, and the cpuidle and s2idle results cover it. Approved.

@RyanTheTide
RyanTheTide merged commit bf00add into aurora-silicon:integration/aurora Nov 12, 2026
2 checks passed
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.

2 participants