| 
     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,j72xx-thermal.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: Texas Instruments J72XX VTM (DTS) binding
    8 
    9 maintainers:
   10   - Keerthy <j-keerthy@ti.com>
   11 
   12 properties:
   13   compatible:
   14     enum:
   15       - ti,j721e-vtm
   16       - ti,j7200-vtm
   17 
   18   reg:
   19     items:
   20       - description: VTM cfg1 register space
   21       - description: VTM cfg2 register space
   22       - description: VTM efuse register space
   23 
   24   power-domains:
   25     maxItems: 1
   26 
   27   "#thermal-sensor-cells":
   28     const: 1
   29 
   30 required:
   31   - compatible
   32   - reg
   33   - power-domains
   34   - "#thermal-sensor-cells"
   35 
   36 additionalProperties: false
   37 
   38 examples:
   39   - |
   40     #include <dt-bindings/soc/ti,sci_pm_domain.h>
   41     wkup_vtm0: thermal-sensor@42040000 {
   42         compatible = "ti,j721e-vtm";
   43         reg = <0x42040000 0x350>,
   44               <0x42050000 0x350>,
   45               <0x43000300 0x10>;
   46         power-domains = <&k3_pds 154 TI_SCI_PD_EXCLUSIVE>;
   47         #thermal-sensor-cells = <1>;
   48     };
   49 
   50     mpu_thermal: mpu-thermal {
   51         polling-delay-passive = <250>; /* milliseconds */
   52         polling-delay = <500>; /* milliseconds */
   53         thermal-sensors = <&wkup_vtm0 0>;
   54 
   55         trips {
   56             mpu_crit: mpu-crit {
   57                 temperature = <125000>; /* milliCelsius */
   58                 hysteresis = <2000>; /* milliCelsius */
   59                 type = "critical";
   60             };
   61         };
   62     };
   63 ...
Cache object: d3e712417e12beb508f3a6eec9ba3ec5 
 
 |