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

Jeroen Trappers jeroen.trappers at gmail.com
Thu Dec 3 23:43:26 PST 2026


The Apple A8 (T7000) has five die temperature sensors, the tempsensor0..4
nodes of Apple's device tree, in two independent blocks with their own
register pages and layouts: two sensors in the power manager (PMGR) and
three in the CPU complex (TCC). Describe each block as its own thermal
sensor node, with a compatible per block and the sensor within the block
as the cell.

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 | 57 +++++++++++++++++++
 MAINTAINERS                                   |  7 +++
 2 files changed, 64 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..1d969a8fbab2
--- /dev/null
+++ b/Documentation/devicetree/bindings/thermal/apple,t7000-thermal.yaml
@@ -0,0 +1,57 @@
+# 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 two blocks of die temperature sensors, each with
+  its own register page and layout. The power manager (PMGR) block has two
+  sensors; the CPU complex (TCC) block has three. 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:
+    enum:
+      - apple,t7000-pmgr-thermal
+      - apple,t7000-tcc-thermal
+
+  reg:
+    maxItems: 1
+
+  "#thermal-sensor-cells":
+    const: 1
+    description:
+      The sensor within the block, 0 to 1 in the power manager block and
+      0 to 2 in the CPU complex block.
+
+required:
+  - compatible
+  - reg
+  - "#thermal-sensor-cells"
+
+unevaluatedProperties: false
+
+examples:
+  - |
+    thermal-sensor at e02b000 {
+        compatible = "apple,t7000-pmgr-thermal";
+        reg = <0x0e02b000 0x1000>;
+        #thermal-sensor-cells = <1>;
+    };
+
+  - |
+    thermal-sensor at 2230000 {
+        compatible = "apple,t7000-tcc-thermal";
+        reg = <0x02230000 0x1000>;
+        #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