From 5c496717776082071a661f3245e685cd73b4c1ee Mon Sep 17 00:00:00 2001 From: Ilyas Akin Date: Mon, 16 Nov 2026 11:29:43 +0300 Subject: [PATCH] arm64: dts: apple: t6030-j514s: Add airflow, battery gauge and GPU temperatures The SMC of a J514S (MacBook Pro 14", M3 Pro) reports more temperatures than its hwmon node lists. Add the two airflow sensors (TaLP, TaRF), the battery gas gauge's temperature (TB2T) and four GPU temperatures (Tf24, Tf28, Tf29, Tf2E). TB2T reads exactly what macOS publishes as "gas gauge battery" on the same model; TB1T repeats the existing TB0T hotspot and is left out. The airflow names are those macOS tools give these keys on Apple silicon. The GPU's own Tg keys read 0 C or -3.15 C under Linux, even with the GPU rendering, while macOS on the same model reads them normally. The Tf2x keys follow the GPU: on macOS they track its Tg keys about 8 C below them (both rose 8-10 C in 30 s of GPU load while the CPU cooled), and here they rose 11-14 C with only the GPU busy and about 1 C with all P cores busy. Assisted-by: Claude:claude-opus-5-5 Co-Authored-By: Claude Opus 5.5 Signed-off-by: Ilyas Akin --- arch/arm64/boot/dts/apple/t6030-j514s.dts | 44 +++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/arch/arm64/boot/dts/apple/t6030-j514s.dts b/arch/arm64/boot/dts/apple/t6030-j514s.dts index 61c929da3d6004..0a6ab6e2cdb24c 100644 --- a/arch/arm64/boot/dts/apple/t6030-j514s.dts +++ b/arch/arm64/boot/dts/apple/t6030-j514s.dts @@ -97,3 +97,47 @@ &isp { apple,platform-id = <16>; }; + +/* + * Further SMC temperature keys of this machine. TB2T reads what macOS + * shows as the battery gas gauge's temperature (TB1T repeats TB0T). The + * four Tf2x keys follow the GPU: on macOS they track its Tg keys about + * 8 C below them, and here they rose 11-14 C with only the GPU busy and + * about 1 C with all P cores busy. The Tg keys read 0 C under Linux. + */ +&smc_hwmon { + temperature-TaLP { + apple,key-id = "TaLP"; + label = "Airflow Left"; + }; + + temperature-TaRF { + apple,key-id = "TaRF"; + label = "Airflow Right"; + }; + + temperature-TB2T { + apple,key-id = "TB2T"; + label = "Battery Gas Gauge"; + }; + + temperature-Tf24 { + apple,key-id = "Tf24"; + label = "GPU Temperature 1"; + }; + + temperature-Tf28 { + apple,key-id = "Tf28"; + label = "GPU Temperature 2"; + }; + + temperature-Tf29 { + apple,key-id = "Tf29"; + label = "GPU Temperature 3"; + }; + + temperature-Tf2E { + apple,key-id = "Tf2E"; + label = "GPU Temperature 4"; + }; +};