Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/thermal/ti,j72xx-thermal.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Texas Instruments J72XX VTM (DTS) binding
0008 
0009 maintainers:
0010   - Keerthy <j-keerthy@ti.com>
0011 
0012 properties:
0013   compatible:
0014     enum:
0015       - ti,j721e-vtm
0016       - ti,j7200-vtm
0017 
0018   reg:
0019     items:
0020       - description: VTM cfg1 register space
0021       - description: VTM cfg2 register space
0022       - description: VTM efuse register space
0023 
0024   power-domains:
0025     maxItems: 1
0026 
0027   "#thermal-sensor-cells":
0028     const: 1
0029 
0030 required:
0031   - compatible
0032   - reg
0033   - power-domains
0034   - "#thermal-sensor-cells"
0035 
0036 additionalProperties: false
0037 
0038 examples:
0039   - |
0040     #include <dt-bindings/soc/ti,sci_pm_domain.h>
0041     wkup_vtm0: thermal-sensor@42040000 {
0042         compatible = "ti,j721e-vtm";
0043         reg = <0x42040000 0x350>,
0044               <0x42050000 0x350>,
0045               <0x43000300 0x10>;
0046         power-domains = <&k3_pds 154 TI_SCI_PD_EXCLUSIVE>;
0047         #thermal-sensor-cells = <1>;
0048     };
0049 
0050     mpu_thermal: mpu-thermal {
0051         polling-delay-passive = <250>; /* milliseconds */
0052         polling-delay = <500>; /* milliseconds */
0053         thermal-sensors = <&wkup_vtm0 0>;
0054 
0055         trips {
0056             mpu_crit: mpu-crit {
0057                 temperature = <125000>; /* milliCelsius */
0058                 hysteresis = <2000>; /* milliCelsius */
0059                 type = "critical";
0060             };
0061         };
0062     };
0063 ...