xref: /linux/Documentation/devicetree/bindings/thermal/ti,am654-thermal.yaml (revision 6efc0ab3b05de0d7bab8ec0597214e4788251071)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/thermal/ti,am654-thermal.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Texas Instruments AM654 VTM (DTS)
8
9maintainers:
10  - Keerthy <j-keerthy@ti.com>
11
12$ref: thermal-sensor.yaml#
13
14properties:
15  compatible:
16    const: ti,am654-vtm
17
18  reg:
19    maxItems: 1
20
21  power-domains:
22    maxItems: 1
23
24  "#thermal-sensor-cells":
25    const: 1
26
27required:
28  - compatible
29  - reg
30  - power-domains
31
32unevaluatedProperties: false
33
34examples:
35  - |
36    #include <dt-bindings/soc/ti,sci_pm_domain.h>
37    vtm: thermal@42050000 {
38        compatible = "ti,am654-vtm";
39        reg = <0x42050000 0x25c>;
40        power-domains = <&k3_pds 80 TI_SCI_PD_EXCLUSIVE>;
41        #thermal-sensor-cells = <1>;
42    };
43
44    mpu0_thermal: mpu0_thermal {
45        polling-delay-passive = <250>; /* milliseconds */
46        polling-delay = <500>; /* milliseconds */
47        thermal-sensors = <&vtm0 0>;
48
49        trips {
50            mpu0_crit: mpu0_crit {
51                temperature = <125000>; /* milliCelsius */
52                hysteresis = <2000>; /* milliCelsius */
53                type = "critical";
54            };
55        };
56    };
57...
58