Repository navigation
arm64: dts: apple: t6031: add SoC die thermal limits and mTPL key - #3855
Conversation
T6031's smc_hwmon node (also inherited by T6034) defines
apple,soc-die-keys but omits the SoC die thermal limits and SMC thermal
pressure key, leaving the macsmc_soc_die thermal zone without trip
points and without mTPL pressure telemetry.
Add apple,soc-die-passive-millicelsius (100 C),
apple,soc-die-hot-millicelsius (110 C), and apple,thermal-pressure-key
("mTPL"), verified directly against a live J516c (16-inch M3 Max)
PMP tunable table (fast-die-ctrl-ts-avg-temp = 0x64 / 100 C,
fast-die-ctrl-loop target = 0x6e / 110 C) and SMC key table (mTPL si32,
index 2246), matching T6030.
Signed-off-by: Marcelo Alcantara <maralc@gmail.com>
|
Merge readiness at
Areas: Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels. |
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are recorded for the T6031/T6034 thermal-limit and pressure-telemetry additions.
No open issues 🎉
What changed in this PR
Adds missing SoC die thermal limits and pressure telemetry for T6031 and inheriting T6034 devices, matching T6030.
Changes:
- Sets passive and hot thresholds to 100°C and 110°C, with a comment documenting their firmware source.
- Configures
mTPLas the thermal-pressure key.
| File | Description |
|---|---|
arch/arm64/boot/dts/apple/t6031.dtsi |
Adds thermal thresholds and pressure telemetry to smc_hwmon. |
Review effort: Balanced
DjDeveloperr
left a comment
There was a problem hiding this comment.
Reviewed 78c7268. The trip points and pressure key match t6030.dtsi and the comment says where the two temperatures come from. Merge needs a boot of this DTB at this head on a T6031 Mac showing the macsmc_soc_die zone with both trips and mTPL readable.
|
Merge status: one item left, a T6031 boot with this DTB. The change is approved, and its merge into current To close it, please boot an M3 Max (the J516C is fine) with a DTB built from this PR, installed with One boot of a DTB that carries this PR, #3854 and #3856 unchanged counts for all three. Local checks on the merge result (hosted CI stand-in)
|
|
Merging at |
Summary
t6031.dtsi's&smc_hwmonnode (also inherited byt6034.dtsi) definesapple,soc-die-keysbut omitsapple,soc-die-passive-millicelsius,apple,soc-die-hot-millicelsius, andapple,thermal-pressure-key, leaving themacsmc_soc_diethermal zone without trip points and withoutmTPLthermal-pressure telemetry.Add the three properties matching
t6030.dtsiand verified directly against a live 16-inch M3 Max (J516C, T6031):apple,soc-die-passive-millicelsius = <100000>;(apple,tunable-fast-die-ctrl-ts-avg-temp=0x64/ 100 °C)apple,soc-die-hot-millicelsius = <110000>;(apple,tunable-fast-die-ctrl-looptarget =0x6e/ 110 °C)apple,thermal-pressure-key = "mTPL";(SMC key table index 2246,mTPL si32 4 85)Tested: MacBook Pro 16-inch (M3 Max, J516C, T6031) at 78c7268 (live PMP tunable table and
/sys/kernel/debug/macsmc-hwmon/keysreadout onnaeems-m3-max; ARM64 kernel + DTB build b1202-103918-3651 and all affected DTBs compile cleanly with zero new warnings; checkpatch--strictclean; Codex review VERIFIED01a23427-73a4-75d1-b4e9-39a20be8b9c5).Risk: two-way · T6031/T6034
macsmc-hwmonSoC die thermal limits andmTPLthermal pressure key