Skip to content

arm64: dts: apple: t8132-j604: describe its one fan - #1953

Merged
DjDeveloperr merged 1 commit into
aurora-silicon:integration/aurorafrom
IronsideXXVI:j604-one-fan
Nov 21, 2026
Merged

DjDeveloperr merged 1 commit into
aurora-silicon:integration/aurorafrom
IronsideXXVI:j604-one-fan

Conversation

@IronsideXXVI

Copy link
Copy Markdown
Contributor

The 14" MacBook Pro with the M4 (J604, Mac16,1) has one fan, but t8132-j604.dts includes hwmon-fan-dual.dtsi.

Its SMC reports FNum = 1 and has the F0* keys (F0Ac, F0Mn 2317, F0Mx 6550, F0Tg, F0Md) but no F1* key at all. That is from a full key list under macOS (2806 keys), and the key list read from Linux agrees. So the second fan node points at keys this SMC doesn't have, and the real fan gets the label "Fan 1". The driver skips the missing keys, so the effect is only a node and a label that don't fit this machine. This includes hwmon-fan.dtsi instead, as the other one-fan machines do.

Checked on top of integration/aurora fc05050:

  • checkpatch --strict: 0 errors, 0 warnings, 0 checks.
  • CHECK_DTBS=y apple/t8132-j604.dtb: the same 12 lines before and after the change (no new messages).

Tested on the J604 only: our own J604 tree describes the one fan this way, and on our linux-aurora-next 1.920 hwmon lists the one fan (fan1, "Fan", 0 rpm at an idle desktop).

@RyanTheTide

Copy link
Copy Markdown
Contributor

This conflicts with integration/aurora now that #1928 and #1932 are in: all three edit the include lines of t8132-j604.dts. Please rebase. With the change applied, the DTBs of every board other than J604 build byte-identical.

The 14-inch MacBook Pro with the M4 (J604) has a single fan. Its SMC
reports FNum = 1 and has the F0* keys (F0Ac, F0Mn, F0Mx, F0Tg, F0Md)
but not one F1* key, in a full key list under macOS (2806 keys) and in
the list read from Linux.

hwmon-fan-dual.dtsi describes a second fan whose keys this SMC does not
have, and labels the real one "Fan 1". Include hwmon-fan.dtsi instead.

Assisted-by: LLM
@IronsideXXVI

Copy link
Copy Markdown
Contributor Author

Rebased onto integration/aurora c92ed85 (now 3255a27). Only the include line moved: it now swaps hwmon-fan-dual.dtsi for hwmon-fan.dtsi and keeps the t8132-j604-hwmon-rails.dtsi include from #1932. I built all 137 Apple DTBs at base and with the change: 136 are byte-identical, t8132-j604.dtb is the only one that differs, and there are 0 dtc warnings either way.

@DjDeveloperr DjDeveloperr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks. The SMC key list (FNum = 1, F0* keys only, no F1*) is a clear source for one fan, and the rebase keeps the t8132-j604-hwmon-rails.dtsi include from #1932, so the earlier rebase request is resolved. 136 of 137 DTBs byte-identical, with only t8132-j604.dtb changing, is what this change should look like.

@DjDeveloperr
DjDeveloperr merged commit db868f0 into aurora-silicon:integration/aurora Nov 21, 2026
2 checks passed
@IronsideXXVI

IronsideXXVI commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor Author

This was merged before my sign-off was on the commit, so for the record, for 3255a27 as merged:

Signed-off-by: Dylan Ironside [email protected]

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