Skip to content

arm64: dts: apple: t6000: add the SMC rail voltages - #1390

Merged
RyanTheTide merged 1 commit into
integration/aurorafrom
reopen-m1p/t6000-clvr-rails
Nov 9, 2026
Merged

RyanTheTide merged 1 commit into
integration/aurorafrom
reopen-m1p/t6000-clvr-rails

Conversation

@RyanTheTide

Copy link
Copy Markdown
Contributor

The M1 Pro MacBook Pros (J314s/J316s) report no CPU, GPU or SoC rail voltage, though the SMC publishes every output of the cluster, GPU and SoC voltage regulators on the CLVR SPMI buses (and macOS reads the same keys).

t6000-hwmon-rails.dtsi, included by t6000-j314s.dts and t6000-j316s.dts:

  • VC10-VC13 (CPU P clusters), VC20-VC23 (GPU), VC30-VC33 (SoC) and the two main PMU bucks that follow the E cluster (VP0b, VP2b) as macsmc-hwmon voltage channels, after the existing ones (temperature channel numbers and thermal zone references unchanged).
  • Nothing is sent on the CLVR buses; every channel is an SMC key read.

Key mapping (J316s, 7.3.0-aurora-fleet46, read-only key reads; every cpufreq policy capped at its lowest step, one cluster at a time raised to its mid and top step under a busy loop), mV at lowest / mid / top step:

cluster keys
P1 (cpu6-9) VC10 571 / 735 / 906, VC11 770 / 866 / 1060
P0 (cpu2-5) VC12 566 / 732 / 906, VC13 768 / 864 / 1058
E (cpu0-1) VP0b 547 / 640 / 834, VP2b 768 / 797 / 924

VC20-VC23 read 0 mV while the GPU is power-gated and 700-800 mV under glmark2; VC32/VC33 rise with GPU load (630 to 819 mV, 645 to 711 mV), VC30/VC31 stay at about 566/775 mV. Keys a machine lacks are skipped by the driver.

Testing

J316s, one aura-try trial boot of its live Stage 2 with only these nodes added to its DTB (never committed), production kernel 7.3.0-aurora-fleet46:

  • 14 new channels (in2-in15), labels as above.
  • Same per-cluster check through hwmon: P0 top step VC12/VC13 906/1058 mV, P1 top step VC10/VC11 907/1060 mV, E top step VP0b/VP2b 835/920 mV, others at their floor; GPU load VC20-VC23 766-893 mV, VC32/VC33 818/705 mV.
  • 1400 back-to-back channel reads: 0 errors, 1.5 s.
  • s2idle x3 woken by the apple-pmu-rtc wakealarm: 3/3 success, 0 fail, channels read normally after each resume.
  • SELinux enforcing, 0 AVCs, 0 failed units, no new kernel warnings.

For reference, macOS 26.2 on the same machine reads at idle VC10 573, VC11 767, VC12 649, VC13 823, VC20-VC23 626/786/0/794, VC30-VC33 544/779/604/616, VP0b 834, VP2b 923 mV.

Kernel make of the J314s and J316s DTBs: no dtc warnings.

🤖 Generated with Claude Code

The M1 Pro MacBook Pros expose no CPU, GPU or SoC rail voltage, though
their SMC reports every output of the cluster, GPU and SoC voltage
regulators on the CLVR SPMI buses, and macOS reads the same keys.

Add them as hwmon voltage channels: VC10-VC13 (CPU P clusters),
VC20-VC23 (GPU) and VC30-VC33 (SoC), plus the two main PMU bucks that
follow the E cluster (VP0b, VP2b). The keys were mapped on a J316s by
holding every cluster at its lowest step and loading one at a time:
VC10/VC11 follow the second P cluster (571-906 mV and 770-1060 mV from
the lowest to the highest step), VC12/VC13 the first (566-906 mV,
768-1058 mV), VP0b/VP2b the E cluster (547-834 mV, 768-924 mV).
VC20-VC23 read 0 mV while the GPU is power-gated and 700-800 mV under
load; VC32/VC33 rise with GPU load, VC30/VC31 stay flat.

Linux sends nothing on the CLVR buses; the channels are SMC key reads.

Signed-off-by: Ryan Murray <81541646+RyanTheTide@users.noreply.github.com>
Assisted-by: LLM
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