Repository navigation
arm64: dts: apple: t8112: describe the auxiliary PMU on every M2 - #3341
Merged
Merged
Conversation
The nub-spmi1 bus carries the auxiliary PMU (ADT /arm-io/nub-spmi1/pmu-aux, USID 0xe) on every T8112 Mac: the J413 and J473 ADTs both list it. Only the J413 described it; the J415, J473 and J493 kept a disabled copy. Describe the bus and its read-only spmi-nvmem PMIC once in t8112.dtsi and drop the per-board copies, so every M2 binds apple-spmi and apple-spmi-nvmem the way the J413 already does. Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
Contributor
Author
|
Non-author review at Blockers: none. Checked
Follow-up (non-blocking): the commit message cites the J413 and J473 ADTs. J415 (M2 Air 15) and J493 (M2 MBP 13) have no ADT or row of ours. J473 stands in as the same SoC, and both a laptop and a desktop board have the node. A J415/J493 ADT check from an IPSW would close it. |
RyanTheTide
commented
Nov 27, 2026
RyanTheTide
left a comment
Contributor
Author
There was a problem hiding this comment.
Verdict: HOLD at 9f865da20d40
Blocker
arch/arm64/boot/dts/apple/t8112.dtsienables the auxiliary PMIC provider on J415, J473 and J493. At this head,drivers/nvmem/apple-spmi-nvmem.c:52still registers a raw register-write callback. The DTread-onlyproperty sets the initial NVMEM policy, which the existing sysfs interface can change. Land #3299 first to enforce read-only sysfs access, then confirm that access policy and PMIC binding on the J473 row using the updated kernel and DTB.
Checked: The PMIC remains in shared T8112 data at USID 0xe. The posted J473 row establishes provider binding and suspend/resume. #3299 has a regression test for the write restriction missing at this head.
Contributor
Author
This was referenced Nov 27, 2026
RyanTheTide
added a commit
that referenced
this pull request
Nov 27, 2026
…pmu-v2 arm64: dts: apple: t8112: describe the auxiliary PMU on every M2 (reland of #3341)
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.
What: Describe the M2's auxiliary PMU (nub-spmi1, USID 0xe, read-only spmi-nvmem) once in
t8112.dtsi, so every T8112 Mac bindsapple-spmi+apple-spmi-nvmemas the J413 already does. Found by the fleet DT-parity sweep (ADT -> main DT -> bound drivers).Tested: J473 (Mac mini M2) at 9f865da: the trial DTB equals this branch's
t8112-j473-fw27.dtb(semantic diff: none);apple-spmibinds nub-spmi1,apple-spmi-nvmembindspmic@e(read-only nvmem), s2idle 1/1, 0 failed units, 0 SELinux denials, 0 new kernel errorsRisk: two-way door · M2 (J413, J415, J473, J493); J413 is semantically unchanged
Not yet: J415 and J493 (no lab Mac; same SoC block, J413 + J473 stand in)
Details
/arm-io/nub-spmi1/pmu-auxat USID 0xe. Onlyt8112-j413.dtsdescribed the bus and its PMIC;t8112-j415/j473/j493-peripherals.dtsicarried a disabled copy.t8112.dtsi(enabled by default) and the four board copies go. Per-board semantic DTB diff: J413 none (itsstatus = "okay"becomes implicit), J415/J473/J493nub-spmi1andpmic@eenabled.read-only; nothing writes the PMU.Evidence
Row: guarded one-shot of the J473's own production Stage 2 with only its board DTB replaced (aura head and the compressed U-Boot stream byte-identical), fleet89 kernel (7.3.0-aurora-fleet89, main 645f7cd).
/soc/spmi@23d794000apple-spmi/soc/spmi@23d794000/pmic@eapple-spmi-nvmem, nvmemspmi_nvmem1read-only-p 3)Back on production afterwards: saved fleet89 entry, no next entry, Stage 2 hash unchanged, Enforcing, 0 failed units.
Checks on this branch vs main ef29ad1: checkpatch --strict clean;
make dtbsclean; dtschema CHECK_DTBS on every T8112 DTB: 0 new warnings;apple-adt-coverage.py(J413 MISSING 0),apple-dart-pd-check.py,apple-sibling-drift.py: 0 new findings.