[PATCH 1/3] dt-bindings: thermal: Add Apple T7000 die temperature sensors

Jeroen Trappers jeroen.trappers at gmail.com
Thu Dec 3 07:55:58 PST 2026


The Apple A8 (T7000) has five die temperature sensors, the tempsensor0..4
nodes of Apple's device tree: two in the power manager, sharing one
register page, and three in the CPU complex (TCC), sharing a second
page. Describe them as one thermal sensor whose cell is Apple's
tempsensor index; the TCC page is optional.

The binding was drafted with an LLM coding assistant and reviewed by me.

Signed-off-by: Jeroen Trappers <jeroen.trappers at gmail.com>
---
 .../bindings/thermal/apple,t7000-thermal.yaml | 65 +++++++++++++++++++
 MAINTAINERS                                   |  7 ++
 2 files changed, 72 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/thermal/apple,t7000-thermal.yaml

diff --git a/Documentation/devicetree/bindings/thermal/apple,t7000-thermal.yaml b/Documentation/devicetree/bindings/thermal/apple,t7000-thermal.yaml
new file mode 100644
index 000000000000..c5418ba9697b
--- /dev/null
+++ b/Documentation/devicetree/bindings/thermal/apple,t7000-thermal.yaml
@@ -0,0 +1,65 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/thermal/apple,t7000-thermal.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Apple T7000 (A8) die temperature sensors
+
+maintainers:
+  - Jeroen Trappers <jeroen.trappers at gmail.com>
+
+description:
+  The Apple A8 (T7000) has five die temperature sensors, the tempsensor0..4
+  nodes of Apple's device tree. Two are in the power manager and share one
+  register page; three are in the CPU complex (TCC) and share a second page.
+  Each sensor accumulates samples between a start and a freeze of its
+  control register; the result is a signed fixed-point temperature in
+  degrees Celsius, converted with the calibration the boot chain programs.
+
+$ref: thermal-sensor.yaml#
+
+properties:
+  compatible:
+    const: apple,t7000-thermal
+
+  reg:
+    minItems: 1
+    items:
+      - description: power manager (SOC) sensor page
+      - description: CPU complex (TCC) sensor page
+
+  reg-names:
+    minItems: 1
+    items:
+      - const: soc
+      - const: tcc
+
+  "#thermal-sensor-cells":
+    const: 1
+    description: |
+      The sensor ID, Apple's tempsensor index:
+        0 = power manager (SOC) sensor 0
+        1 = power manager (SOC) sensor 1
+        2 = CPU complex (TCC) sensor 0
+        3 = CPU complex (TCC) sensor 1
+        4 = CPU complex (TCC) sensor 2
+      IDs 2 to 4 need the "tcc" page.
+
+required:
+  - compatible
+  - reg
+  - reg-names
+  - "#thermal-sensor-cells"
+
+unevaluatedProperties: false
+
+examples:
+  - |
+    thermal-sensor at e02b000 {
+        compatible = "apple,t7000-thermal";
+        reg = <0x0e02b000 0x1000>,
+              <0x02230000 0x1000>;
+        reg-names = "soc", "tcc";
+        #thermal-sensor-cells = <1>;
+    };
diff --git a/MAINTAINERS b/MAINTAINERS
index 84cb98ef4c49..667f9f37b824 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -2140,6 +2140,13 @@ L:	linux-hwmon at vger.kernel.org
 S:	Odd fixes
 F:	drivers/hwmon/applesmc.c
 
+APPLE T7000 THERMAL DRIVER
+M:	Jeroen Trappers <jeroen.trappers at gmail.com>
+L:	asahi at lists.linux.dev
+L:	linux-pm at vger.kernel.org
+S:	Maintained
+F:	Documentation/devicetree/bindings/thermal/apple,t7000-thermal.yaml
+
 APPLETALK NETWORK LAYER
 L:	netdev at vger.kernel.org
 S:	Obsolete
-- 
2.47.3




More information about the linux-arm-kernel mailing list