Skip to content

arm64: dts: apple: t6050-k114-k116: SMC fans and sensors on all four boards - #2281

Open
RyanTheTide wants to merge 2 commits into
mainfrom
dtfill-t6050/smc-fans
Open

RyanTheTide wants to merge 2 commits into
mainfrom
dtfill-t6050/smc-fans

Conversation

@RyanTheTide

@RyanTheTide RyanTheTide commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Problem

The SMC hwmon node is disabled on K114c, K114s and K116c (t6050-k114-k116.dtsi). Only K116s turns it on, in its own board file. So the other three PROLED MacBook Pros show no fan speeds and no SMC power, voltage or temperature channels.

J714c is handled in #1984 and J716c in #2208/#2209. This PR does not touch them.

Change

  • t6050-k114-k116.dtsi: the K116s hwmon block moves here, unchanged: hwmon-common.dtsi, hwmon-fan-dual.dtsi and hwmon-laptop.dtsi, the shared temperature nodes and apple,soc-die-keys dropped so temperature discovery runs, and fan mode keys F0md/F1md. There is no apple,fan-manual-control, so the SMC keeps driving the fans.
  • t6050-k116s.dts: the block is removed from here.

No per-board deltas. The SMC node in the four boards' ADTs is the same. The ADT has no fan count or SMC key list. All four boards are dual-fan MacBook Pros like J714s and J716s, which use the same two-fan key set.

drivers/hwmon/macsmc-hwmon.c has no board gate. It checks only the SoC compatible, for its debugfs files.

Testing

  • Full kernel tree make dtbs CHECK_DTBS=y (dtschema) for every T6050 DTB on this branch: builds clean, no dtc warnings, and no schema message that integration/aurora does not already have.
  • All 11 T6050 DTBs build with no dtc warnings, before and after.
  • J714c, J714s, J716c, J716s, J775c, J775d, J873s and K116s DTBs are byte-identical.
  • K114c, K114s and K116c change only in the hwmon node (diff below).
  • dt-validate: no new messages on K114c, K114s or K116c.

Still to run

The keys were read on the K116s. On K114c, K114s and K116c the same keys are assumed: F0Ac/F1Ac with F0Mn/F0Mx/F0Tg/F0md and F1Mn/F1Mx/F1Tg/F1md, plus PSTR, PDTR, PMVR, PHPC, ID0R, VD0R and SBAV. If a key is missing, its channel is dropped and the driver logs it.

  • K114c (joshuaswarren): sensors shows two fan RPMs and the temperatures. dmesg | grep -i macsmc shows no key errors.
  • K114s (chrisohearn): the same check.
  • K116c (owner unknown): the same check.

No loader change is needed.

Per-board values and DTB diffs

Values: no new values. The key set is the K116s one, already used by J714s and J716s. The SMC node was compared across the K114cAP, K114sAP, K116cAP and K116sAP ADTs and is the same apart from phandles.

K114c, K114s and K116c each get this same change in the decompiled DTB (/soc/smc/hwmon):

 hwmon {
 	apple,discover-temperatures;
-	apple,soc-die-keys = "TCMb";
 	compatible = "apple,smc-hwmon";
-	status = "disabled";
+	status = "okay";
+	current-ID0R  { apple,key-id = "ID0R"; label = "AC Input Current"; };
+	fan-F0Ac      { key F0Ac, min F0Mn, max F0Mx, target F0Tg, mode F0md, label "Fan 1" };
+	fan-F1Ac      { key F1Ac, min F1Mn, max F1Mx, target F1Tg, mode F1md, label "Fan 2" };
+	power-PDTR    { "AC Input Power" };
+	power-PHPC    { "Heatpipe Power" };
+	power-PMVR    { "3.8 V Rail Power" };
+	power-PSTR    { "Total System Power" };
+	voltage-SBAV  { "Battery Voltage" };
+	voltage-VD0R  { "Charger Input Voltage" };
 };

K116s: byte-identical DTB.

…boards

The K114c, K114s and K116c leave the SMC hwmon node disabled; only the
K116s turns it on, with the dual-fan, power, voltage and current keys and
temperature discovery.

Move the K116s block into t6050-k114-k116.dtsi so all four boards get it.
The four boards' ADTs carry the same SMC node, and all four are dual-fan
MacBook Pros like the J714s and J716s. The key set is the one the K116s,
J714s and J716s already use; a key a board's SMC lacks only drops its
channel.

The K116s DTB is byte-identical. K114c, K114s and K116c gain the hwmon
channels. No other T6050 board changes.

The K116s block was written by Jens Axboe.

Signed-off-by: Ryan Murray <[email protected]>
@RyanTheTide

Copy link
Copy Markdown
Contributor Author

No blockers.

On current integration/aurora, K114c, K114s and K116c change only in /soc/smc/hwmon (okay, soc-die-keys dropped, the K116s key set with the F0md/F1md mode keys), and K116s and the other seven DTBs are byte-identical. No node sets apple,fan-manual-control, so macsmc-hwmon exposes the fans read-only and the SMC keeps its own fan policy. A key one of these SMCs lacks only drops its channel. Both CI jobs were cancelled; rerun them. Can leave draft.

HW row: K114c, K114s and K116c (owners) on the head: sensors shows two fan RPMs, the power/voltage/current channels and discovered temperatures, dmesg | grep -i macsmc has no key errors, and fans ramp under a 2 min all-core load and settle after it; 0 AVC, 0 failed units, no new kernel errors.

Assisted-by: LLM (Claude:Opus 5.5)

@chrisohearn

Copy link
Copy Markdown
Contributor

K114s (Mac17,13): partial evidence for the SMC channels, not a row at the PR head.

PR head compared against: a74fe655cedf.

Taken 2026-11-25 UTC, one machine. The fan ramp under load was not run.

  • Board apple,k114s / apple,t6050; firmware os 27.2, system 27.3 beta; loader Aura Stage 2 1.0.0b15.
  • Kernel 7.3.0-17.v272-18-k114s-r3f-ARCH: main 4abf0f83c290 plus 74 local patches.
  • Device tree: the booted tree is a local board tree on an earlier local base (r3d). Its hwmon block comes from that base's copy of this change (r3d 0037), whose hunks match the PR's; the board file also declares an equivalent block by hand. So this shows the keys exist and read on this machine, not that the PR's block alone enables them.
  • Non-default kernel command line, parameter names only: arm64.nowfxt, clk_ignore_unused, idle, loglevel, m5_pmgr_allow, m5_pmgr_ro, macsmc.m5_n1_budget, macsmc.m5_pcio_budget, nvme_apple.flush_interval, pd_ignore_unused, user4k, zswap.enabled.
Check Observed
macsmc_hwmon registered; dmesg | grep -i macsmc shows no key error
Fans fan1 "Fan 1" 2201 rpm (min 2000, max 8400, target 2200); fan2 "Fan 2" 2375 rpm (min 2000, max 9072, target 2376); read-only, the SMC keeps driving them
Power, voltage, current PSTR, PDTR, PMVR, PHPC, ID0R, VD0R, SBAV: all seven present and non-zero
Temperatures 81 channels discovered; 3 of them read 0 (TNLc, TNSz, TNVn)
System 0 failed units; no new kernel error lines from the SMC; no SELinux on this distro
Fans ramp under a 2 min all-core load and settle not tested
K114c, K116c not tested

@RyanTheTide

Copy link
Copy Markdown
Contributor Author

K114s (14-inch M5 Pro, T6050, macOS 27.2 26B8125 firmware) hardware row: PASS.

  • Head under test: 2e6d73f9. The t6050-k114-k116.dtsi hunk was applied to the K114s's current DT, on top of the media/ISP DT for the same boot.
  • Kernel: 7.3.0-k114sstack3, which is main 68253d52 plus open K114s PRs. Boot: aura Stage 2 one-shot.
  • macsmc_hwmon binds with 284 inputs: 275 temperatures, 4 power rails, voltages and currents.
  • fan1_label reads "Fan 1" and fan2_label reads "Fan 2". Both fans are at 0 RPM at idle, so the SMC drives them.
  • The temperatures read sensible values, for example TW0P 34.4 °C and Tg0x 34.6 °C.
  • No macsmc key errors in dmesg. 0 new kernel errors compared with the same kernel's boots without this hunk.

K116s is byte-identical. K114c and K116c are still unrowed (same keys assumed).

@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 2e6d73f9

Blockers: none (wait for the queued dt-checks, host-tests, pr-text, and readiness CI checks to finish green before merge)

Checked: no Apple material, no AI attribution, human DCO Signed-off-by, removes per-board duplication by moving the K116s smc_hwmon block unchanged into shared arch/arm64/boot/dts/apple/t6050-k114-k116.dtsi (covering K114c, K114s, K116c, and K116s with byte-identical K116s DTB), no apple,fan-manual-control (SMC keeps fan control, F0md/F1md read-only), apple,discover-temperatures preserved by dropping shared temp nodes and apple,soc-die-keys, CHECK_DTBS=y clean across all 11 T6050 DTBs, exact-head K114s row (2e6d73f9) PASS (macsmc_hwmon bound with 284 inputs, Fan 1/Fan 2, sensible temps, 0 macsmc key errors, 0 new kernel errors), branch is MERGEABLE against main.

Evidence
  • Inspected full diff (+28/-27 across arch/arm64/boot/dts/apple/t6050-k114-k116.dtsi and t6050-k116s.dts): exact verbatim move of the #include "hwmon-{common,fan-dual,laptop}.dtsi" and &smc_hwmon node from t6050-k116s.dts into shared t6050-k114-k116.dtsi.
  • Exact-head K114s row (2e6d73f9, 7.3.0-k114sstack3): macsmc_hwmon binds 284 inputs (275 temperatures, 4 power rails, voltages, currents), Fan 1 / Fan 2 labels present, 0 RPM at idle (SMC-driven), 0 macsmc key errors, 0 new kernel errors.
  • PR opened 2026-11-19 (prior to pr-text enforcement cutoff); CI jobs (dt-checks, host-tests, pr-text, readiness) are currently QUEUED.

@github-actions github-actions Bot added area:bringup Area from CODEOWNERS (bot) ci-failing A check failed at the PR head (bot) needs-hw-row No hardware row at the PR head (bot) needs-review No approving review from Core or Omarchy Mac yet (bot) needs-template PR body lacks Tested or Risk (bot) labels Nov 28, 2026
@github-actions

github-actions Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

Merge readiness at 2e6d73f9: not ready yet

Check Detail
CI at head ok 4 checks passed
Review no needs one approving review from Core or Omarchy Mac (not the author)
Requested changes ok none
Hardware row at head no no line with the head SHA 2e6d73f9, a Mac and a result in the PR body or a comment
Conflicts ok none
PR text adopt when you next edit add a 'Tested:' line; a 'Risk:' line (door and Macs) (guide)

Areas: area:bringup

Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels.

@github-actions github-actions Bot removed the ci-failing A check failed at the PR head (bot) label Nov 30, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:bringup Area from CODEOWNERS (bot) needs-hw-row No hardware row at the PR head (bot) needs-review No approving review from Core or Omarchy Mac yet (bot) needs-template PR body lacks Tested or Risk (bot)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants