Skip to contentSkip to conversation

dt-bindings: thermal: Convert amazon,al-thermal to DT schema

PATCH Applied Rob Herring (Arm) 2 participants 3 messages Oct 13, 2025 – Nov 10, 2025

Subsystems (3)
lore
Share & tools
lore

Rob Herring (Arm)

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: thermal: Convert amazon,al-thermal to DT schema

Convert amazon,al-thermal binding to DT schema format. It's a straight-forward conversion.

---
 .../bindings/thermal/amazon,al-thermal.txt    | 33 ------------
 .../bindings/thermal/amazon,al-thermal.yaml   | 50 +++++++++++++++++++
 MAINTAINERS                                   |  2 +-
 3 files changed, 51 insertions(+), 34 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/thermal/amazon,al-thermal.txt
 create mode 100644 Documentation/devicetree/bindings/thermal/amazon,al-thermal.yaml
Documentation/devicetree/bindings/thermal/amazon,al-thermal.txt deleted +0 -33
deleted file mode 100644
index 12fc4ef04837..000000000000
@@ -1,33 +0,0 @@
-Amazon's Annapurna Labs Thermal Sensor
-
-Simple thermal device that allows temperature reading by a single MMIO
-transaction.
-
-Required properties:
-- compatible: "amazon,al-thermal".
-- reg: The physical base address and length of the sensor's registers.
-- #thermal-sensor-cells: Must be 1. See Documentation/devicetree/bindings/thermal/thermal-sensor.yaml for a description.
-
-Example:
-	thermal: thermal {
-		compatible = "amazon,al-thermal";
-		reg = <0x0 0x05002860 0x0 0x1>;
-		#thermal-sensor-cells = <0x1>;
-	};
-
-	thermal-zones {
-		thermal-z0 {
-			polling-delay-passive = <250>;
-			polling-delay = <1000>;
-			thermal-sensors = <&thermal 0>;
-			trips {
-				critical {
-					temperature = <105000>;
-					hysteresis = <2000>;
-					type = "critical";
-				};
-			};
-
-		};
-	};
-
Documentation/devicetree/bindings/thermal/amazon,al-thermal.yaml new file +50 -0

50 lines not on this page · raw message

MAINTAINERS +1 -1
index e72a9e529625..866305dd1368 100644
@@ -973,7 +973,7 @@ F:	drivers/edac/al_mc_edac.c
 AMAZON ANNAPURNA LABS THERMAL MMIO DRIVER
 M:	Talel Shenhar <[email protected]>
 S:	Maintained
-F:	Documentation/devicetree/bindings/thermal/amazon,al-thermal.txt
+F:	Documentation/devicetree/bindings/thermal/amazon,al-thermal.yaml
 F:	drivers/thermal/thermal_mmio.c
 
 AMAZON ETHERNET DRIVERS
Signature · 1 line
2.51.0
author maintainer Applied
#2 lore raw
In reply to Rob Herring (Arm)
Quoted 12 lines · Rob Herring (Arm)

Convert amazon,al-thermal binding to DT schema format. It's a straight-forward conversion.

---
 .../bindings/thermal/amazon,al-thermal.txt    | 33 ------------
 .../bindings/thermal/amazon,al-thermal.yaml   | 50 +++++++++++++++++++
 MAINTAINERS                                   |  2 +-
 3 files changed, 51 insertions(+), 34 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/thermal/amazon,al-thermal.txt
 create mode 100644 Documentation/devicetree/bindings/thermal/amazon,al-thermal.yaml

Applied, thanks!