| 
     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 
    7 title: Texas Instruments AM654 VTM (DTS) binding
    8 
    9 maintainers:
   10   - Keerthy <j-keerthy@ti.com>
   11 
   12 properties:
   13   compatible:
   14     const: ti,am654-vtm
   15 
   16   reg:
   17     maxItems: 1
   18 
   19   power-domains:
   20     maxItems: 1
   21 
   22   "#thermal-sensor-cells":
   23     const: 1
   24 
   25 required:
   26   - compatible
   27   - reg
   28   - power-domains
   29   - "#thermal-sensor-cells"
   30 
   31 additionalProperties: false
   32 
   33 examples:
   34   - |
   35     #include <dt-bindings/soc/ti,sci_pm_domain.h>
   36     vtm: thermal@42050000 {
   37         compatible = "ti,am654-vtm";
   38         reg = <0x42050000 0x25c>;
   39         power-domains = <&k3_pds 80 TI_SCI_PD_EXCLUSIVE>;
   40         #thermal-sensor-cells = <1>;
   41     };
   42 
   43     mpu0_thermal: mpu0_thermal {
   44         polling-delay-passive = <250>; /* milliseconds */
   45         polling-delay = <500>; /* milliseconds */
   46         thermal-sensors = <&vtm0 0>;
   47 
   48         trips {
   49                 mpu0_crit: mpu0_crit {
   50                         temperature = <125000>; /* milliCelsius */
   51                         hysteresis = <2000>; /* milliCelsius */
   52                         type = "critical";
   53                 };
   54         };
   55     };
   56 ...
Cache object: 4b8b7bcbda01bb91b15db63ba4278fa0 
 
 |