Repository navigation
arm64: dts: apple: t8112: describe the auxiliary PMU on every M2 (reland of #3341) - #3403
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>
|
Non-author merge-train review at |
|
The J415/J493 per-board ADT check (device trees of the macOS 26.2 IPSW, one per board; J413 and J473 also from their live ADTs):
All four T8112 boards have the same Vale PMIC at USID 0xe on nub-spmi1, so the shared |
There was a problem hiding this comment.
The stable patch ID matches #3341, and the landing head includes the merged #3299 policy change. I compiled six exact-head T8112 DTBs using the tree-compatible DTC and saw zero scoped SPMI NVMEM diagnostics. One shared Vale node replaces the previous per-board copies. The four-board ADT table confirms identical USID wiring, and the J473 results demonstrate the new provider binds, NVMEM is 0400, force_ro is 0444 and its store is refused. This resolves my #3341 safety blocker. Code approved. Hold for hosted CI and the normal regression and readiness requirements.
|
Merge readiness at
Areas: Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels. |
|
@DjDeveloperr code-owner ping (interim ruleset-gap rule, point 6): ready at |
|
Merging under the interim ruleset-gap rule (COMMON-RULES 01:54), at
Revert: |
What: Reland #3341 (reverted by #3347): describe the auxiliary PMU on every M2 (T8112). Enable nub-spmi1 with its read-only Vale
apple,spmi-nvmemPMIC at USID 0xe int8112.dtsi, and drop the per-board copies (the J413 one plus the disabled ones on J415/J473/J493).Why: REVIEW6's blocker on #3341 was that DT
read-onlyis only the initial policy and root could flipforce_ro. #3299 (merged fcb1242) makes the provider's sysfs file read-only for good. This reland is #3341's commit, unchanged, on top of it.Tested: J473 with kernel 7.3.0-aurora-dtp2 (main fcb1242 incl. #3299 + this commit) as a guarded one-shot, plus a DT-only aura-try of the production Stage 2 with this node:
apple-spmibinds23d794000.spmiandapple-spmi-nvmembinds1-0e. #3299 policy on both PMIC providers, as REVIEW6 asked: the nvmem file is 0400,force_rois 0444, a store to it is refused, a 16-byte read works. No PMIC register is ever written. FCHECK PASS. J473 then ran 12 of 12 clean reboot cycles with this DT and kernel (6 of them with s2idle before the reboot), and 24 of 24 overall on that kernel. checkpatch --strict clean.Risk: two-way door · every T8112 Mac (J413, J415, J473, J493); read-only provider, no consumers beyond the J413's existing one.