Skip to content

Revert "arm64: dts: apple: t8112: describe the auxiliary PMU on every M2" - #3347

Merged
RyanTheTide merged 1 commit into
mainfrom
fix/revert-3341-aux-pmu
Nov 27, 2026
Merged

RyanTheTide merged 1 commit into
mainfrom
fix/revert-3341-aux-pmu

Conversation

@RyanTheTide

Copy link
Copy Markdown
Contributor

What: Revert #3341 (T8112 auxiliary PMU on every M2). apple-spmi-nvmem still registers a register-write callback; the DT read-only property only sets the initial NVMEM policy, which sysfs can change. #3341 widened that path to the J415, J473 and J493. Reland after #3299 makes the file read-only. Blocking review: #3341 (review)
Tested: J473 at 8c29712: the T8112 DT files equal main ef29ad1 byte for byte, i.e. the DTB the J473 runs in production (fleet89; nub-spmi1/pmic@e disabled again, as before #3341); no new runtime behaviour
Risk: two-way door · M2 (J415, J473, J493 lose the aux-PMU nvmem binding again; J413 unchanged)
Not yet: the reland: #3341's commit again on top of #3299, with a J473 row on a kernel carrying #3299 (sysfs read-only checked)

Details

git revert -m 1 e9fd1d92f9. git diff ef29ad17 8c297129 -- arch/arm64/boot/dts/apple/t8112* is empty.

… M2"

This reverts merge e9fd1d9 (linux#3341).

apple-spmi-nvmem still registers a register-write callback: the DT
read-only property only sets the initial NVMEM policy, and the sysfs
interface can change it. Enabling the PMIC on the J415, J473 and J493
widens that write path. Revert until linux#3299 makes the sysfs file
read-only, then reland with a J473 row on a kernel carrying it.

Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
@RyanTheTide

Copy link
Copy Markdown
Contributor Author

Non-author review at 8c297129 (merge train). Verdict: MERGE now, as an exact revert. git revert -m 1 e9fd1d92f9: the T8112 DT files are byte-identical to main before #3341 (ef29ad17), and no other file changes. REVIEW6's blocker is right and I missed it in my #3341 review. drivers/nvmem/apple-spmi-nvmem.c registers reg_write, and the DT read-only flag only sets the initial policy: root can clear it through the nvmem core's sysfs force_ro. #3341 widened that writable-PMU exposure from the J413 to the J415, J473 and J493. I'm merging without waiting for CI because this restores a tree that already passed it. Reland: on top of #3299 (the driver side), with a J473 row.

@RyanTheTide
RyanTheTide merged commit 398e971 into main Nov 27, 2026
4 checks passed

@aurora-silicon-review aurora-silicon-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: MERGE at 8c2971295d3c

Blockers: None in the change.

Checked: Compared every changed path against the first parent of the #3341 merge. All five blob IDs match, and the current patch touches only those five T8112 Device Tree files. The revert restores the previous enabled/disabled states with no new binding, gating or firmware content.

Evidence

GitHub's file list and Contents API agree for all five paths. The earlier J473 production DTB supplies baseline evidence; this review did not boot the revert. Reland the parent change only after #3299 and the matching hardware check.

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.

1 participant