Skip to contentSkip to conversation

dt-binding: thermal: Convert marvell,armada-ap806-thermal to DT schema

PATCH Applied Rob Herring (Arm) 1 participant 2 messages Aug 22, 2025 – Sep 10, 2025

Subsystems (3)
lore
Share & tools
lore

Rob Herring (Arm)

author maintainer
#0 lore raw

PATCH v2 1/1 dt-binding: thermal: Convert marvell,armada-ap806-thermal to DT schema

Convert the Marvell Armada AP80x/CP110 thermal binding to schema. It is a straight forward conversion.

---
v2:
- Mention the SEI connection

---
 .../arm/marvell/ap80x-system-controller.txt   | 39 ----------------
 .../arm/marvell/cp110-system-controller.txt   | 43 -----------------
 .../thermal/marvell,armada-ap806-thermal.yaml | 46 +++++++++++++++++++
 3 files changed, 46 insertions(+), 82 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/thermal/marvell,armada-ap806-thermal.yaml
Documentation/devicetree/bindings/arm/marvell/ap80x-system-controller.txt +0 -39
index c83245065d44..72de11bd2ef0 100644
@@ -115,45 +115,6 @@ ap_syscon: system-controller@6f4000 {
 SYSTEM CONTROLLER 1
 ===================
 
-Thermal:
---------
-
-For common binding part and usage, refer to
-Documentation/devicetree/bindings/thermal/thermal*.yaml
-
-The thermal IP can probe the temperature all around the processor. It
-may feature several channels, each of them wired to one sensor.
-
-It is possible to setup an overheat interrupt by giving at least one
-critical point to any subnode of the thermal-zone node.
-
-Required properties:
-- compatible: must be one of:
-  * marvell,armada-ap806-thermal
-- reg: register range associated with the thermal functions.
-
-Optional properties:
-- interrupts: overheat interrupt handle. Should point to line 18 of the
-  SEI irqchip. See interrupt-controller/interrupts.txt
-- #thermal-sensor-cells: shall be <1> when thermal-zones subnodes refer
-  to this IP and represents the channel ID. There is one sensor per
-  channel. O refers to the thermal IP internal channel, while positive
-  IDs refer to each CPU.
-
-Example:
-ap_syscon1: system-controller@6f8000 {
-	compatible = "syscon", "simple-mfd";
-	reg = <0x6f8000 0x1000>;
-
-	ap_thermal: thermal-sensor@80 {
-		compatible = "marvell,armada-ap806-thermal";
-		reg = <0x80 0x10>;
-		interrupt-parent = <&sei>;
-		interrupts = <18>;
-		#thermal-sensor-cells = <1>;
-	};
-};
-
 Cluster clocks:
 ---------------
 
Documentation/devicetree/bindings/arm/marvell/cp110-system-controller.txt +0 -43

46 lines not on this page · raw message

Documentation/devicetree/bindings/thermal/marvell,armada-ap806-thermal.yaml new file +46 -0

46 lines not on this page · raw message

Signature · 1 line
2.50.1
author maintainer Applied
#1 lore raw
Quoted 8 lines · Rob Herring (Arm)

Convert the Marvell Armada AP80x/CP110 thermal binding to schema. It is a straight forward conversion.

---
v2:
- Mention the SEI connection

Quoted 7 lines
---
 .../arm/marvell/ap80x-system-controller.txt   | 39 ----------------
 .../arm/marvell/cp110-system-controller.txt   | 43 -----------------
 .../thermal/marvell,armada-ap806-thermal.yaml | 46 +++++++++++++++++++
 3 files changed, 46 insertions(+), 82 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/thermal/marvell,armada-ap806-thermal.yaml

Applied, thanks!