From 31c9fad8d2b1f2b1a1ad2591cfa541ce6f5108a3 Mon Sep 17 00:00:00 2001 From: James Calligeros Date: Thu, 21 Sep 2023 13:13:37 +1000 Subject: [PATCH] arm64: dts: apple: add initial hwmon keys to SMC node Add some preliminary known SMC hardware monitoring sensors to the Apple device trees Co-developed-by: Janne Grunau Signed-off-by: Janne Grunau Signed-off-by: James Calligeros --- arch/arm64/boot/dts/apple/hwmon-common.dtsi | 79 ++++++++++++++++ arch/arm64/boot/dts/apple/hwmon-laptop.dtsi | 42 +++++++++ arch/arm64/boot/dts/apple/hwmon-mini.dtsi | 18 ++++ arch/arm64/boot/dts/apple/hwmon-t600x.dtsi | 91 +++++++++++++++++++ arch/arm64/boot/dts/apple/hwmon-t602x.dtsi | 71 +++++++++++++++ arch/arm64/boot/dts/apple/hwmon-t8103.dtsi | 91 +++++++++++++++++++ arch/arm64/boot/dts/apple/hwmon-t8112.dtsi | 71 +++++++++++++++ arch/arm64/boot/dts/apple/t6001.dtsi | 2 + arch/arm64/boot/dts/apple/t6002.dtsi | 2 + .../arm64/boot/dts/apple/t600x-j314-j316.dtsi | 25 +++++ arch/arm64/boot/dts/apple/t600x-j375.dtsi | 15 +++ arch/arm64/boot/dts/apple/t6020-j474s.dts | 2 + arch/arm64/boot/dts/apple/t6021.dtsi | 2 + arch/arm64/boot/dts/apple/t6022.dtsi | 2 + .../arm64/boot/dts/apple/t602x-j414-j416.dtsi | 24 +++++ .../arm64/boot/dts/apple/t602x-j474-j475.dtsi | 15 +++ arch/arm64/boot/dts/apple/t8103-j274.dts | 2 + arch/arm64/boot/dts/apple/t8103-jxxx.dtsi | 2 + arch/arm64/boot/dts/apple/t8112-j413.dts | 2 + arch/arm64/boot/dts/apple/t8112-j415.dts | 2 + arch/arm64/boot/dts/apple/t8112-j473.dts | 2 + arch/arm64/boot/dts/apple/t8112-j493.dts | 2 + arch/arm64/boot/dts/apple/t8112-jxxx.dtsi | 3 + 23 files changed, 567 insertions(+) create mode 100644 arch/arm64/boot/dts/apple/hwmon-common.dtsi create mode 100644 arch/arm64/boot/dts/apple/hwmon-laptop.dtsi create mode 100644 arch/arm64/boot/dts/apple/hwmon-mini.dtsi create mode 100644 arch/arm64/boot/dts/apple/hwmon-t600x.dtsi create mode 100644 arch/arm64/boot/dts/apple/hwmon-t602x.dtsi create mode 100644 arch/arm64/boot/dts/apple/hwmon-t8103.dtsi create mode 100644 arch/arm64/boot/dts/apple/hwmon-t8112.dtsi diff --git a/arch/arm64/boot/dts/apple/hwmon-common.dtsi b/arch/arm64/boot/dts/apple/hwmon-common.dtsi new file mode 100644 index 00000000000000..7e8541d627022f --- /dev/null +++ b/arch/arm64/boot/dts/apple/hwmon-common.dtsi @@ -0,0 +1,79 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * hwmon sensors expected on all systems + * + * Copyright The Asahi Linux Contributors + */ + +&smc { + hwmon { + apple,power-keys { + power-PSTR { + apple,key-id = "PSTR"; + label = "Total System Power"; + }; + power-PDTR { + apple,key-id = "PDTR"; + label = "AC Input Power"; + }; + power-PMVR { + apple,key-id = "PMVR"; + label = "3.8 V Rail Power"; + }; + power-PC0C { + apple,key-id = "PC0C"; + label = "CPU Core Power"; + }; + power-PCTR { + apple,key-id = "PCTR"; + label = "CPU Complex Power"; + }; + power-PG0R { + apple,key-id = "PG0R"; + label = "GPU Complex Power"; + }; + }; + apple,temp-keys { + temp-TH0x { + apple,key-id = "TH0x"; + label = "NAND Flash Temperature"; + }; + }; + apple,volt-keys { + volt-VD0R { + apple,key-id = "VD0R"; + label = "AC Input Voltage"; + }; + volt-VP0R { + apple,key-id = "VP0R"; + label = "12 V Rail Voltage"; + }; + volt-VR3R { + apple,key-id = "VR3R"; + label = "3.3 V Rail Voltage"; + }; + volt-VV1S { + apple,key-id = "VV1S"; + label = "5 V Rail Voltage"; + }; + volt-VM0R { + apple,key-id = "VM0R"; + label = "DRAM Voltage"; + }; + }; + apple,current-keys { + current-IC0R { + apple,key-id = "IC0R"; + label = "CPU VRM High Side Current"; + }; + current-IG0R { + apple,key-id = "IG0R"; + label = "GPU VRM High Side Current"; + }; + current-ID0R { + apple,key-id = "ID0R"; + label = "AC Input Current"; + }; + }; + }; +}; diff --git a/arch/arm64/boot/dts/apple/hwmon-laptop.dtsi b/arch/arm64/boot/dts/apple/hwmon-laptop.dtsi new file mode 100644 index 00000000000000..c24e9843135c74 --- /dev/null +++ b/arch/arm64/boot/dts/apple/hwmon-laptop.dtsi @@ -0,0 +1,42 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * hwmon sensors expected on all laptops + * + * Copyright The Asahi Linux Contributors + */ + +&smc { + hwmon { + apple,power-keys { + power-PHPC { + apple,key-id = "PHPC"; + label = "Heatpipe Power"; + }; + }; + + apple,temp-keys { + temp-TB0T { + apple,key-id = "TB0T"; + label = "Battery Hotspot"; + }; + temp-TCHP { + apple,key-id = "TCHP"; + label = "Charge Regulator Temp"; + }; + temp-TW0P { + apple,key-id = "TW0P"; + label = "WiFi/BT Module Temp"; + }; + }; + apple,volt-keys { + volt-SBAV { + apple,key-id = "SBAV"; + label = "Battery Voltage"; + }; + volt-VD0R { + apple,key-id = "VD0R"; + label = "Charger Input Voltage"; + }; + }; + }; +}; diff --git a/arch/arm64/boot/dts/apple/hwmon-mini.dtsi b/arch/arm64/boot/dts/apple/hwmon-mini.dtsi new file mode 100644 index 00000000000000..21148ab8075eda --- /dev/null +++ b/arch/arm64/boot/dts/apple/hwmon-mini.dtsi @@ -0,0 +1,18 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * hwmon sensors common to the Mac mini desktop + * models, but not the Studio or Pro. + * + * Copyright The Asahi Linux Contributors + */ + +&smc { + hwmon { + apple,temp-keys { + temp-TW0P { + apple,key-id = "TW0P"; + label = "WiFi/BT Module Temp"; + }; + }; + }; +}; diff --git a/arch/arm64/boot/dts/apple/hwmon-t600x.dtsi b/arch/arm64/boot/dts/apple/hwmon-t600x.dtsi new file mode 100644 index 00000000000000..fc87ec32d97654 --- /dev/null +++ b/arch/arm64/boot/dts/apple/hwmon-t600x.dtsi @@ -0,0 +1,91 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * t8103 specific hwmon sensors + * + * Copyright The Asahi Linux Contributors + */ + + #include "hwmon-common.dtsi" + +&smc { + hwmon { + apple,temp-keys { + temp-TSCD { + apple,key-id = "TSCD"; + label = "SoC Die Temp"; + }; + temp-Tp09 { + apple,key-id = "Tp09"; + label = "Efficiency Core 1 Temp"; + }; + temp-Tp0T { + apple,key-id = "Tp0T"; + label = "Efficiency Core 2 Temp"; + }; + temp-Tp01 { + apple,key-id = "Tp01"; + label = "Performance Core 1 Temp"; + }; + temp-Tp05 { + apple,key-id = "Tp05"; + label = "Performance Core 2 Temp"; + }; + temp-Tp0D { + apple,key-id = "Tp0D"; + label = "Performance Core 3 Temp"; + }; + temp-Tp0H { + apple,key-id = "Tp0H"; + label = "Performance Core 4 Temp"; + }; + temp-Tp0L { + apple,key-id = "Tp0L"; + label = "Performance Core 5 Temp"; + }; + temp-Tp0P { + apple,key-id = "Tp0P"; + label = "Performance Core 6 Temp"; + }; + temp-Tp0X { + apple,key-id = "Tp0X"; + label = "Performance Core 7 Temp"; + }; + temp-Tp0b { + apple,key-id = "Tp0b"; + label = "Performance Core 8 Temp"; + }; + temp-Tg05 { + apple,key-id = "Tg05"; + label = "GPU 1 Temp"; + }; + temp-Tg0D { + apple,key-id = "Tg0D"; + label = "GPU 2 Temp"; + }; + temp-Tg0L { + apple,key-id = "Tg0L"; + label = "GPU 3 Temp"; + }; + temp-Tg0T { + apple,key-id = "Tg0T"; + label = "GPU 4 Temp"; + }; + temp-Tm02 { + apple,key-id = "Tm02"; + label = "DRAM 1 Temp"; + }; + temp-Tm06 { + apple,key-id = "Tm06"; + label = "DRAM 2 Temp"; + }; + temp-Tm08 { + apple,key-id = "Tm08"; + label = "DRAM 3 Temp"; + }; + temp-Tm09 { + apple,key-id = "Tm09"; + label = "DRAM 4 Temp"; + }; + }; + }; +}; diff --git a/arch/arm64/boot/dts/apple/hwmon-t602x.dtsi b/arch/arm64/boot/dts/apple/hwmon-t602x.dtsi new file mode 100644 index 00000000000000..1e2e0e03ce5d02 --- /dev/null +++ b/arch/arm64/boot/dts/apple/hwmon-t602x.dtsi @@ -0,0 +1,71 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * t602x specific hwmon sensors + * + * Copyright The Asahi Linux Contributors + */ + + #include "hwmon-common.dtsi" + +&smc { + hwmon { + apple,temp-keys { + temp-Tp1h { + apple,key-id = "Tp1h"; + label = "Efficiency Core 1 Temp"; + }; + temp-Tp1t { + apple,key-id = "Tp1t"; + label = "Efficiency Core 2 Temp"; + }; + temp-Tp1p { + apple,key-id = "Tp1p"; + label = "Efficiency Core 3 Temp"; + }; + temp-Tp1l { + apple,key-id = "Tp1l"; + label = "Efficiency Core 4 Temp"; + }; + temp-Tp01 { + apple,key-id = "Tp01"; + label = "Performance Core 1 Temp"; + }; + temp-Tp05 { + apple,key-id = "Tp05"; + label = "Performance Core 2 Temp"; + }; + temp-Tp09 { + apple,key-id = "Tp09"; + label = "Performance Core 3 Temp"; + }; + temp-Tp0D { + apple,key-id = "Tp0D"; + label = "Performance Core 4 Temp"; + }; + temp-Tp0X { + apple,key-id = "Tp0X"; + label = "Performance Core 5 Temp"; + }; + temp-Tp0b { + apple,key-id = "Tp0b"; + label = "Performance Core 6 Temp"; + }; + temp-Tp0f { + apple,key-id = "Tp0f"; + label = "Performance Core 7 Temp"; + }; + temp-Tp0j { + apple,key-id = "Tp0j"; + label = "Performance Core 8 Temp"; + }; + temp-Tg0f { + apple,key-id = "Tg0f"; + label = "GPU 1 Temp"; + }; + temp-Tg0j { + apple,key-id = "Tg0j"; + label = "GPU 2 Temp"; + }; + }; + }; +}; diff --git a/arch/arm64/boot/dts/apple/hwmon-t8103.dtsi b/arch/arm64/boot/dts/apple/hwmon-t8103.dtsi new file mode 100644 index 00000000000000..fc87ec32d97654 --- /dev/null +++ b/arch/arm64/boot/dts/apple/hwmon-t8103.dtsi @@ -0,0 +1,91 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * t8103 specific hwmon sensors + * + * Copyright The Asahi Linux Contributors + */ + + #include "hwmon-common.dtsi" + +&smc { + hwmon { + apple,temp-keys { + temp-TSCD { + apple,key-id = "TSCD"; + label = "SoC Die Temp"; + }; + temp-Tp09 { + apple,key-id = "Tp09"; + label = "Efficiency Core 1 Temp"; + }; + temp-Tp0T { + apple,key-id = "Tp0T"; + label = "Efficiency Core 2 Temp"; + }; + temp-Tp01 { + apple,key-id = "Tp01"; + label = "Performance Core 1 Temp"; + }; + temp-Tp05 { + apple,key-id = "Tp05"; + label = "Performance Core 2 Temp"; + }; + temp-Tp0D { + apple,key-id = "Tp0D"; + label = "Performance Core 3 Temp"; + }; + temp-Tp0H { + apple,key-id = "Tp0H"; + label = "Performance Core 4 Temp"; + }; + temp-Tp0L { + apple,key-id = "Tp0L"; + label = "Performance Core 5 Temp"; + }; + temp-Tp0P { + apple,key-id = "Tp0P"; + label = "Performance Core 6 Temp"; + }; + temp-Tp0X { + apple,key-id = "Tp0X"; + label = "Performance Core 7 Temp"; + }; + temp-Tp0b { + apple,key-id = "Tp0b"; + label = "Performance Core 8 Temp"; + }; + temp-Tg05 { + apple,key-id = "Tg05"; + label = "GPU 1 Temp"; + }; + temp-Tg0D { + apple,key-id = "Tg0D"; + label = "GPU 2 Temp"; + }; + temp-Tg0L { + apple,key-id = "Tg0L"; + label = "GPU 3 Temp"; + }; + temp-Tg0T { + apple,key-id = "Tg0T"; + label = "GPU 4 Temp"; + }; + temp-Tm02 { + apple,key-id = "Tm02"; + label = "DRAM 1 Temp"; + }; + temp-Tm06 { + apple,key-id = "Tm06"; + label = "DRAM 2 Temp"; + }; + temp-Tm08 { + apple,key-id = "Tm08"; + label = "DRAM 3 Temp"; + }; + temp-Tm09 { + apple,key-id = "Tm09"; + label = "DRAM 4 Temp"; + }; + }; + }; +}; diff --git a/arch/arm64/boot/dts/apple/hwmon-t8112.dtsi b/arch/arm64/boot/dts/apple/hwmon-t8112.dtsi new file mode 100644 index 00000000000000..b1fc9f2f537e59 --- /dev/null +++ b/arch/arm64/boot/dts/apple/hwmon-t8112.dtsi @@ -0,0 +1,71 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * t8112 specific hwmon sensors + * + * Copyright The Asahi Linux Contributors + */ + +#include "hwmon-common.dtsi" + +&smc { + hwmon { + apple,temp-keys { + temp-Tp1h { + apple,key-id = "Tp1h"; + label = "Efficiency Core 1 Temp"; + }; + temp-Tp1t { + apple,key-id = "Tp1t"; + label = "Efficiency Core 2 Temp"; + }; + temp-Tp1p { + apple,key-id = "Tp1p"; + label = "Efficiency Core 3 Temp"; + }; + temp-Tp1l { + apple,key-id = "Tp1l"; + label = "Efficiency Core 4 Temp"; + }; + temp-Tp01 { + apple,key-id = "Tp01"; + label = "Performance Core 1 Temp"; + }; + temp-Tp05 { + apple,key-id = "Tp05"; + label = "Performance Core 2 Temp"; + }; + temp-Tp09 { + apple,key-id = "Tp09"; + label = "Performance Core 3 Temp"; + }; + temp-Tp0D { + apple,key-id = "Tp0D"; + label = "Performance Core 4 Temp"; + }; + temp-Tp0X { + apple,key-id = "Tp0X"; + label = "Performance Core 5 Temp"; + }; + temp-Tp0b { + apple,key-id = "Tp0b"; + label = "Performance Core 6 Temp"; + }; + temp-Tp0f { + apple,key-id = "Tp0f"; + label = "Performance Core 7 Temp"; + }; + temp-Tp0j { + apple,key-id = "Tp0j"; + label = "Performance Core 8 Temp"; + }; + temp-Tg0f { + apple,key-id = "Tg0f"; + label = "GPU 1 Temp"; + }; + temp-Tg0j { + apple,key-id = "Tg0j"; + label = "GPU 2 Temp"; + }; + }; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t6001.dtsi b/arch/arm64/boot/dts/apple/t6001.dtsi index 316deb8a95be63..51c12daf7d2a72 100644 --- a/arch/arm64/boot/dts/apple/t6001.dtsi +++ b/arch/arm64/boot/dts/apple/t6001.dtsi @@ -91,3 +91,5 @@ &gpu { compatible = "apple,agx-t6001", "apple,agx-g13x"; }; + +#include "hwmon-t600x.dtsi" diff --git a/arch/arm64/boot/dts/apple/t6002.dtsi b/arch/arm64/boot/dts/apple/t6002.dtsi index 331cc49b42994d..fcacf68ec77183 100644 --- a/arch/arm64/boot/dts/apple/t6002.dtsi +++ b/arch/arm64/boot/dts/apple/t6002.dtsi @@ -323,3 +323,5 @@ &gpu { compatible = "apple,agx-t6002", "apple,agx-g13x"; }; + +#include "hwmon-t600x.dtsi" diff --git a/arch/arm64/boot/dts/apple/t600x-j314-j316.dtsi b/arch/arm64/boot/dts/apple/t600x-j314-j316.dtsi index 9723c6c1fb0138..b53494504b14e6 100644 --- a/arch/arm64/boot/dts/apple/t600x-j314-j316.dtsi +++ b/arch/arm64/boot/dts/apple/t600x-j314-j316.dtsi @@ -520,3 +520,28 @@ &isp { apple,platform-id = <3>; }; + +#include "hwmon-laptop.dtsi" + +&smc { + hwmon { + apple,fan-keys { + fan-F0Ac { + apple,key-id = "F0Ac"; + label = "Fan 0"; + apple,fan-minimum = "F0Mn"; + apple,fan-maximum = "F0Mx"; + apple,fan-target = "F0Tg"; + apple,fan-mode = "F0Md"; + }; + fan-F1Ac { + apple,key-id = "F1Ac"; + label = "Fan 1"; + apple,fan-minimum = "F1Mn"; + apple,fan-maximum = "F1Mx"; + apple,fan-target = "F1Tg"; + apple,fan-mode = "F1Md"; + }; + }; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t600x-j375.dtsi b/arch/arm64/boot/dts/apple/t600x-j375.dtsi index e8c355ca0f21c5..f007eaae84c7bd 100644 --- a/arch/arm64/boot/dts/apple/t600x-j375.dtsi +++ b/arch/arm64/boot/dts/apple/t600x-j375.dtsi @@ -403,3 +403,18 @@ #endif #include "spi1-nvram.dtsi" + +&smc { + hwmon { + apple,fan-keys { + fan-F0Ac { + apple,key-id = "F0Ac"; + label = "Fan"; + apple,fan-minimum = "F0Mn"; + apple,fan-maximum = "F0Mx"; + apple,fan-target = "F0Tg"; + apple,fan-mode = "F0Md"; + }; + }; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t6020-j474s.dts b/arch/arm64/boot/dts/apple/t6020-j474s.dts index 180ea8aa7646bb..026ac039d714a3 100644 --- a/arch/arm64/boot/dts/apple/t6020-j474s.dts +++ b/arch/arm64/boot/dts/apple/t6020-j474s.dts @@ -106,3 +106,5 @@ /* Apple does not do this, but they probably should */ apple,perf-base-pstate = <3>; }; + +#include "hwmon-mini.dtsi" diff --git a/arch/arm64/boot/dts/apple/t6021.dtsi b/arch/arm64/boot/dts/apple/t6021.dtsi index 95298973624f1d..bca03a18bf2e8a 100644 --- a/arch/arm64/boot/dts/apple/t6021.dtsi +++ b/arch/arm64/boot/dts/apple/t6021.dtsi @@ -83,3 +83,5 @@ apple,ppm-filter-time-constant-ms = <34>; apple,ppm-ki = <18.0>; }; + +#include "hwmon-t602x.dtsi" diff --git a/arch/arm64/boot/dts/apple/t6022.dtsi b/arch/arm64/boot/dts/apple/t6022.dtsi index e9140440fb65e4..237281f9c366cb 100644 --- a/arch/arm64/boot/dts/apple/t6022.dtsi +++ b/arch/arm64/boot/dts/apple/t6022.dtsi @@ -374,3 +374,5 @@ pinmux = ; }; }; + +#include "hwmon-t602x.dtsi" diff --git a/arch/arm64/boot/dts/apple/t602x-j414-j416.dtsi b/arch/arm64/boot/dts/apple/t602x-j414-j416.dtsi index 6e8df7750d2a43..bc7798e18c013f 100644 --- a/arch/arm64/boot/dts/apple/t602x-j414-j416.dtsi +++ b/arch/arm64/boot/dts/apple/t602x-j414-j416.dtsi @@ -145,3 +145,27 @@ }; #include "isp-imx558-cfg0.dtsi" +#include "hwmon-laptop.dtsi" + +&smc { + hwmon { + apple,fan-keys { + fan-F0Ac { + apple,key-id = "F0Ac"; + label = "Fan 0"; + apple,fan-minimum = "F0Mn"; + apple,fan-maximum = "F0Mx"; + apple,fan-target = "F0Tg"; + apple,fan-mode = "F0Md"; + }; + fan-F1Ac { + apple,key-id = "F1Ac"; + label = "Fan 1"; + apple,fan-minimum = "F1Mn"; + apple,fan-maximum = "F1Mx"; + apple,fan-target = "F1Tg"; + apple,fan-mode = "F1Md"; + }; + }; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t602x-j474-j475.dtsi b/arch/arm64/boot/dts/apple/t602x-j474-j475.dtsi index b1390aefdbd7c1..54767f42d3d528 100644 --- a/arch/arm64/boot/dts/apple/t602x-j474-j475.dtsi +++ b/arch/arm64/boot/dts/apple/t602x-j474-j475.dtsi @@ -67,3 +67,18 @@ reset-gpios = <&pinctrl_nub 8 GPIO_ACTIVE_HIGH>; interrupts-extended = <&pinctrl_ap 59 IRQ_TYPE_LEVEL_LOW>; }; + +&smc { + hwmon { + apple,fan-keys { + fan-F0Ac { + apple,key-id = "F0Ac"; + label = "Fan"; + apple,fan-minimum = "F0Mn"; + apple,fan-maximum = "F0Mx"; + apple,fan-target = "F0Tg"; + apple,fan-mode = "F0Md"; + }; + }; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t8103-j274.dts b/arch/arm64/boot/dts/apple/t8103-j274.dts index 9f8712b5b6accc..d52a0b4525c041 100644 --- a/arch/arm64/boot/dts/apple/t8103-j274.dts +++ b/arch/arm64/boot/dts/apple/t8103-j274.dts @@ -144,3 +144,5 @@ &gpu { apple,perf-base-pstate = <3>; }; + +#include "hwmon-mini.dtsi" diff --git a/arch/arm64/boot/dts/apple/t8103-jxxx.dtsi b/arch/arm64/boot/dts/apple/t8103-jxxx.dtsi index 09ae9aa4f1e550..eaca11af2d9590 100644 --- a/arch/arm64/boot/dts/apple/t8103-jxxx.dtsi +++ b/arch/arm64/boot/dts/apple/t8103-jxxx.dtsi @@ -187,3 +187,5 @@ }; #include "spi1-nvram.dtsi" + +#include "hwmon-t8103.dtsi" diff --git a/arch/arm64/boot/dts/apple/t8112-j413.dts b/arch/arm64/boot/dts/apple/t8112-j413.dts index 1f75df87a12525..0bbd8666fdff1e 100644 --- a/arch/arm64/boot/dts/apple/t8112-j413.dts +++ b/arch/arm64/boot/dts/apple/t8112-j413.dts @@ -248,3 +248,5 @@ apple,platform-id = <14>; apple,temporal-filter = <1>; }; + +#include "hwmon-laptop.dtsi" diff --git a/arch/arm64/boot/dts/apple/t8112-j415.dts b/arch/arm64/boot/dts/apple/t8112-j415.dts index 8aa576477837d8..1f082f6ce79a0e 100644 --- a/arch/arm64/boot/dts/apple/t8112-j415.dts +++ b/arch/arm64/boot/dts/apple/t8112-j415.dts @@ -270,3 +270,5 @@ apple,platform-id = <15>; apple,temporal-filter = <1>; }; + +#include "hwmon-laptop.dtsi" diff --git a/arch/arm64/boot/dts/apple/t8112-j473.dts b/arch/arm64/boot/dts/apple/t8112-j473.dts index aa6be5e55e4ce9..0640843b378cfb 100644 --- a/arch/arm64/boot/dts/apple/t8112-j473.dts +++ b/arch/arm64/boot/dts/apple/t8112-j473.dts @@ -193,3 +193,5 @@ &gpu { apple,perf-base-pstate = <3>; }; + +#include "hwmon-mini.dtsi" diff --git a/arch/arm64/boot/dts/apple/t8112-j493.dts b/arch/arm64/boot/dts/apple/t8112-j493.dts index 059edbdca3ec40..6d81cdbdc17350 100644 --- a/arch/arm64/boot/dts/apple/t8112-j493.dts +++ b/arch/arm64/boot/dts/apple/t8112-j493.dts @@ -270,3 +270,5 @@ &isp { apple,platform-id = <6>; }; + +#include "hwmon-laptop.dtsi" diff --git a/arch/arm64/boot/dts/apple/t8112-jxxx.dtsi b/arch/arm64/boot/dts/apple/t8112-jxxx.dtsi index fb93cedeb24a44..f97e3acb4e7de6 100644 --- a/arch/arm64/boot/dts/apple/t8112-jxxx.dtsi +++ b/arch/arm64/boot/dts/apple/t8112-jxxx.dtsi @@ -174,4 +174,7 @@ clock-frequency = <900000000>; }; + #include "spi1-nvram.dtsi" + +#include "hwmon-t8112.dtsi"