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,am654-thermal.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Texas Instruments AM654 VTM (DTS) binding
0008 
0009 maintainers:
0010   - Keerthy <j-keerthy@ti.com>
0011 
0012 properties:
0013   compatible:
0014     const: ti,am654-vtm
0015 
0016   reg:
0017     maxItems: 1
0018 
0019   power-domains:
0020     maxItems: 1
0021 
0022   "#thermal-sensor-cells":
0023     const: 1
0024 
0025 required:
0026   - compatible
0027   - reg
0028   - power-domains
0029   - "#thermal-sensor-cells"
0030 
0031 additionalProperties: false
0032 
0033 examples:
0034   - |
0035     #include <dt-bindings/soc/ti,sci_pm_domain.h>
0036     vtm: thermal@42050000 {
0037         compatible = "ti,am654-vtm";
0038         reg = <0x42050000 0x25c>;
0039         power-domains = <&k3_pds 80 TI_SCI_PD_EXCLUSIVE>;
0040         #thermal-sensor-cells = <1>;
0041     };
0042 
0043     mpu0_thermal: mpu0_thermal {
0044         polling-delay-passive = <250>; /* milliseconds */
0045         polling-delay = <500>; /* milliseconds */
0046         thermal-sensors = <&vtm0 0>;
0047 
0048         trips {
0049                 mpu0_crit: mpu0_crit {
0050                         temperature = <125000>; /* milliCelsius */
0051                         hysteresis = <2000>; /* milliCelsius */
0052                         type = "critical";
0053                 };
0054         };
0055     };
0056 ...