Repository navigation
arm64: dts: apple: t8132-j604: describe its one fan - #1953
Conversation
fd3adae to
5d98a50
Compare
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
5d98a50 to
3255a27
Compare
|
Rebased onto integration/aurora c92ed85 (now 3255a27). Only the include line moved: it now swaps |
DjDeveloperr
left a comment
There was a problem hiding this comment.
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.
db868f0
into
aurora-silicon:integration/aurora
|
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] |
The 14" MacBook Pro with the M4 (J604, Mac16,1) has one fan, but
t8132-j604.dtsincludeshwmon-fan-dual.dtsi.Its SMC reports
FNum= 1 and has theF0*keys (F0Ac,F0Mn2317,F0Mx6550,F0Tg,F0Md) but noF1*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 includeshwmon-fan.dtsiinstead, as the other one-fan machines do.Checked on top of
integration/aurorafc05050: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).