Skip to content

arm64: dts: apple: t8132-j604: publish the SMC's power channels - #1928

Merged
RyanTheTide merged 1 commit into
aurora-silicon:integration/aurorafrom
IronsideXXVI:j604-smc-power-rails
Nov 16, 2026
Merged

RyanTheTide merged 1 commit into
aurora-silicon:integration/aurorafrom
IronsideXXVI:j604-smc-power-rails

Conversation

@IronsideXXVI

Copy link
Copy Markdown
Contributor

The J604's SMC (MacBook Pro 14" M4, T8132) keeps 43 readable power keys up to date. Linux reads none of them beyond the four the common laptop files list: system total, 3.8 V rail, AC input and heat pipe.

This adds a t8132-j604-hwmon-rails.dtsi with the other 38 keys, included from t8132-j604.dts after the common hwmon files. The list comes from a key sweep on the J604 under macOS 26B123: readable 4-byte floats (flags 0x85) whose value changed between two reads 20 s apart on an idle desktop.

How the keys are labelled:

  • PBLR is labelled "Backlight Power". On this machine it follows the panel content and level: about 0.28 W on a full black window and 2.2 W on a full white one at the same level.
  • The consumers of the others are not mapped yet, so they are labelled by family, as the T8112 J413 rail file does: "PMU " (PPxy), "Rail " (PRxy) and "SMC " for the rest.

A key the running SMC firmware does not offer is skipped by the driver. Linux only reads these keys.

Checked on top of integration/aurora a5ebec5:

  • The cherry-pick had one context conflict in t8132-j604.dts, because the J604 now includes hwmon-fan-dual.dtsi there. I kept that line and added only the new include.
  • checkpatch --strict: 0 errors, 0 checks. Its one warning is the usual MAINTAINERS question for a new file; arch/arm64/boot/dts/apple/ is already covered.
  • CHECK_DTBS=y apple/t8132-j604.dtb adds nothing new. The existing aliases/chosen messages are already on a5ebec5. The built DTB carries 42 power channels.

Measured on the J604 (our linux-aurora 1.914, which carries this file): macsmc_hwmon shows 42 power channels (4 common + 38 new), 35 of them non-zero at the time of reading. Backlight Power read 2.70 W.

Tested on the J604 only (linux-aurora 1.913 and 1.914).

The J604's SMC updates 43 readable power keys that Linux never reads;
hwmon shows only the system total, the 3.8 V rail, the AC input and the
heat pipe. macOS reads all of them for its power reporting.

Add the 38 power keys that the common laptop files do not list, from the
J604's own key sweep on macOS 26B123: readable 4-byte floats whose value
moved between two reads 20 s apart on an idle desktop. Label PBLR as the
backlight power: on this machine it follows the panel content and level
(about 0.28 W on a full black and 2.2 W on a full white window at the
same level). The consumers of the others are not mapped on this machine
yet, so they are labelled by family as the T8112 J413 rail file does. A
key the running SMC firmware does not offer is skipped by the driver.

Assisted-by: LLM
Signed-off-by: Dylan Ironside <[email protected]>
@aeries0x

Copy link
Copy Markdown
Contributor

Tested on a second J604: this head (e213c4c) on integration/aurora fc05050, together with #1927 and #1932. All 42 power channels show up. The three keys that apple_pmp_power also reads (PP0b, PPbb, PP1b) agree with it within 0.004 W, at idle and under a 10-core load.

@RyanTheTide
RyanTheTide merged commit 702cea5 into aurora-silicon:integration/aurora Nov 16, 2026
2 checks passed
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.

3 participants