[PATCH 4/6] dt-bindings: thermal: versal: Add description for Versal Thermal

Michal Simek
2025-09-05T08:42:26Z

From: Salih Erim <salih.erim@amd.com>

Add description of Versal Thermal which describes IO channels to
be binded to thermal. Constant channel of "sysmon-temp-channel" used as
mapped iio channel.

One temperature zone is used for the AI Engine temperature monitoring.

Signed-off-by: Salih Erim <salih.erim@amd.com>
Co-developed-by: Anish Kadamathikuttiyil Karthikeyan Pillai <anish.kadamathikuttiyil-karthikeyan-pillai@amd.com>
Signed-off-by: Anish Kadamathikuttiyil Karthikeyan Pillai <anish.kadamathikuttiyil-karthikeyan-pillai@amd.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
---

.../bindings/thermal/xlnx,versal-thermal.yaml | 45 +++++++++++++++++++
1 file changed, 45 insertions(+)
create mode 100644 Documentation/devicetree/bindings/thermal/xlnx,versal-thermal.yaml

diff --git a/Documentation/devicetree/bindings/thermal/xlnx,versal-thermal.yaml b/Documentation/devicetree/bindings/thermal/xlnx,versal-thermal.yaml
new file mode 100644
index 000000000000..c374d7ae2d2a
--- /dev/null
+++ b/Documentation/devicetree/bindings/thermal/xlnx,versal-thermal.yaml
@@ -0,0 +1,45 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/thermal/xlnx,versal-thermal.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Xilinx Versal Thermal
+
+maintainers:
+ - Salih Erim <salih.erim@amd.com>
+
+description:
+ Versal Thermal uses Versal Sysmon hardware for temperature reading.
+ It works as sensor interface to be defined in thermal zones.
+
+properties:
+ compatible:
+ const: xlnx,versal-thermal
+
+ '#thermal-sensor-cells':
+ const: 1
+
+ io-channels:
+ maxItems: 1
+
+ io-channel-names:
+ const: sysmon-temp-channel
+
+required:
+ - compatible
+ - '#thermal-sensor-cells'
+ - io-channels
+ - io-channel-names
+
+additionalProperties: false
+
+examples:
+ - |
+ versal-thermal-sensor {
+ compatible = "xlnx,versal-thermal";
+ #thermal-sensor-cells = <1>;
+ io-channels = <&sysmon0>;
+ io-channel-names = "sysmon-temp-channel";
+ };
+...
--
2.43.0