Repository navigation
arm64: dts: apple: t8122: describe the auxiliary PMU - #3402
Conversation
The nub-spmi1 bus carries the auxiliary PMU (ADT /arm-io/nub-spmi1/pmu-aux, "pmu,vale", USID 0xe) on every T8122 Mac: the J613, J615, J504, J433 and J434 device trees all list it. It is the same Vale PMIC that the T8112 boards describe on their nub-spmi1. Enable the bus and describe the PMIC as a read-only spmi-nvmem provider, as on T8112, so apple-spmi and apple-spmi-nvmem bind. The provider's sysfs file is read-only since "nvmem: keep the Apple SPMI PMIC's sysfs file read-only". Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
|
Non-author merge-train review: MERGE once CI is green. The aux PMU ( |
There was a problem hiding this comment.
Verified #3299 is in this head. The PMIC is described once at the shared T8122 SPMI address, with the existing Vale schema and read-only property. I compiled seven exact-head T8122 DTBs, including the firmware variants, checked USID 0xe and read-only in each, and saw zero scoped SPMI NVMEM diagnostics. The reported J615 boot confirms both providers enforce the read-only policy. Code approved. Keep held for hosted CI and regression rows required for landing.
|
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: Describe the M3 (T8122) auxiliary PMU: enable nub-spmi1 and add its Vale PMIC at USID 0xe as a read-only
apple,spmi-nvmemprovider. It is the same PMIC the T8112 boards describe on their nub-spmi1.Why: every T8122 device tree (J613, J615, J504, J433, J434) lists
/arm-io/nub-spmi1/pmu-aux("pmu,vale", USID 0xe), and the J615's live ADT does too. Linux had the bus disabled with no child. #3299 (merged) keeps the provider's sysfs file read-only.Tested: J615 with kernel 7.3.0-aurora-dtp2 (main fcb1242 incl. #3299) as a guarded one-shot, plus a DT-only aura-try of the production Stage 2 with this node:
apple-spmibinds2e4794000.spmiandapple-spmi-nvmembinds2-0e. The #3299 policy holds on both PMIC providers: 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, back to production after. Reboot safety: the same test kernel came back from 30 of 30 reboots on J473/J713 under the full trial sequence (see #3365).make CHECK_DTBS=yon every T8122 DTB: 0 new warnings; checkpatch --strict clean.Risk: two-way door · every T8122 Mac; read-only provider, no consumers.