new file mode 100644
@@ -0,0 +1,31 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/thermal/airoha,an7583-thermal.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Airoha Thermal Sensor and Monitor
+
+maintainers:
+ - Christian Marangi <ansuelsmth@gmail.com>
+
+properties:
+ compatible:
+ const: airoha,an7583-thermal
+
+ '#thermal-sensor-cells':
+ const: 0
+
+required:
+ - compatible
+ - '#thermal-sensor-cells'
+
+additionalProperties: false
+
+examples:
+ - |
+ thermal-sensor {
+ compatible = "airoha,an7583-thermal";
+
+ #thermal-sensor-cells = <0>;
+ };
Document support for Airoha AN7583 thermal driver. Airoha AN7583 follow the same logic of Airoha EN7581 to read the temperature but lack all the support for the PTP_THERMAL used to monitor and react when trip point are triggered. Also the Airoha AN7583 lives entirely under the Chip SCU SoC register space hence a dedicated schema is introduced. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> --- .../thermal/airoha,an7583-thermal.yaml | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 Documentation/devicetree/bindings/thermal/airoha,an7583-thermal.yaml