Repository navigation
arm64: dts: apple: t6041-j616c: system power state for the port controllers - #2174
Conversation
7d925f6 to
c9140b0
Compare
|
Looks good; approve once the J616c suspend-to-RAM row below is on this head with #1664. The DT change itself is correct: the four nodes exist in t6041-j614c-j616c.dtsi (hpm0/hpm1 on nub_spmi_a0, hpm5 at 0x8, hpm2 on nub_spmi_a1), all are interrupt-driven, so
HW row: J616c (M4 Max), this head + #1664 on current integration/aurora, default command line, Assisted-by: LLM (Claude:Opus 5.5) |
|
Rebased onto |
a9cb8bb to
7b1a2f3
Compare
|
Rebased onto |
|
Rebased onto |
f890aae to
4ae3ec0
Compare
…ollers macOS tells the USB-C port controllers the system power state (SSPS), S3 before a sleep and S0 after it. The tipd driver does the same around a firmware-driven suspend for a controller with apple,sleep-ssps, as the J700, J714s, J716c and J813/J815 have. Give it to the J616c's four SN201202x controllers: hpm0, hpm1, hpm2 and MagSafe's hpm5. Signed-off-by: AxxzyWasTaken <axxzytte@gmail.com>
4ae3ec0 to
e7cdc52
Compare
|
Exact-head J616C (M4 Max, T6041, 25G83) verification at
Marking Ready for Review. |
|
Merge readiness at
Areas: Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels. |
RyanTheTide
left a comment
There was a problem hiding this comment.
Verdict: FINISH, then merge at e7cdc52b5606
Blockers: arch/arm64/boot/dts/apple/t6041-j616c.dts:174: the four controllers are defined in t6041-j614c-j616c.dtsi, which both J614c and J616c include. The change marks the capability on one board only. Please put the properties at the shared controller nodes if the same SSPS requirement applies, or document the firmware behavior that makes these four properties specific to J616c.
Checked: The driver reads the existing per-controller DT property and acts only on firmware-driven suspend. The exact J616c row shows four properties, two successful deep sleep cycles and all four controllers bound after wake. The latest PR text and DTS checks passed.
Evidence
The shared DTSI defines hpm0, hpm1, hpm2 and hpm5 for both boards. J616c exact-head row. A shared change would also need J614c coverage with a short deep sleep and port/MagSafe recovery.
… dtsi Both the J614c and J616c share the four SN201202x port controllers (hpm0, hpm1, hpm2 and MagSafe's hpm5) defined in t6041-j614c-j616c.dtsi. Move apple,sleep-ssps from the J616c board file onto those shared controller nodes so both boards receive the same firmware-suspend SSPS handling without board-gating J616c. Signed-off-by: AxxzyWasTaken <axxzytte@gmail.com>
|
Moved Verified:
|
RyanTheTide
left a comment
There was a problem hiding this comment.
Resolved: apple,sleep-ssps now sits on the shared hpm nodes in t6041-j614c-j616c.dtsi, so the 14" and 16" boards both get it from one place instead of a J616c-only override. DT property only, CHECK_DTBS clean on both boards, CI green. Clearing my change request.
|
Completed the exact-head J616C boot and 2/2
|
…ollers The J575c's version of aurora-silicon#2174: its four back Type-C port controllers (hpm0-3) take the sleep's system power states (apple,sleep-ssps), as the J614c/J616c's do. Signed-off-by: Roberto Dantas <7robertodantas@gmail.com>
…ollers The J575c's version of aurora-silicon#2174: its four back Type-C port controllers (hpm0-3) take the sleep's system power states (apple,sleep-ssps), as the J614c/J616c's do. Signed-off-by: Roberto Dantas <7robertodantas@gmail.com>
What: Add
apple,sleep-sspsto the four shared T6041 SN201202x USB-C/MagSafe port controller nodes (hpm0,hpm1,hpm2,hpm5) inarch/arm64/boot/dts/apple/t6041-j614c-j616c.dtsiso thetipd/sn201202xdriver sends system power state S3 before firmware-driven suspend and S0 after resume, matching J700/J714s/J716c/J813/J815.Tested:
9e8f843d017c(7.3.0-pr2174-9e8f843d+, unmodified kernel +t6041-j616c.dtb):apple,sleep-sspsproperties live in/proc/device-tree/spmi@509188000/usb-pd@{8,a,c}and/proc/device-tree/spmi@509198000/usb-pd@c.deepS2R cycles (apple-pmu-rtcrtc112 swakealarm,mem_sleep=s2idle [deep]), bothrc=0(PM: suspend entry (deep)->PM: suspend exit).1-08,1-0a,1-0c,2-0c) bound (driver=sn201202x,runtime_status=suspended), AC online (macsmc-ac online=1,tps6598x-source-psy-1-08 online=1, battery95%Not charging),0failed systemd units,0tipd/sn201202x/SPMI/asahi/DART/IOMMU errors.9e8f843d017c:CHECK_DTBS=y(apple,sn201202x.yaml) on botht6041-j616c.dtbandt6041-j614c.dtb0 errors/warnings;scripts/checkpatch.pl --strict --git HEAD~1..HEAD0/0/0;t6041-j616c.dtbbyte-for-byte identical toe7cdc52b5606.Risk: two-way · Scoped to shared
t6041-j614c-j616c.dtsi(hpm0,hpm1,hpm2,hpm5) ondeepS2R;s2idleis unchanged (pm_suspend_via_firmware()gated).Not yet: Live boot on J614c (14" M4 Max); external USB-C DisplayPort / active USB-C hub plug-across-sleep testing;
apple,sleep-ssps-rulesopt-in.