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/brcm,ns-thermal.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Broadcom Northstar Thermal
0008 
0009 maintainers:
0010   - Rafał Miłecki <rafal@milecki.pl>
0011 
0012 description:
0013   Thermal sensor that is part of Northstar's DMU (Device Management Unit).
0014 
0015 allOf:
0016   - $ref: thermal-sensor.yaml#
0017 
0018 properties:
0019   compatible:
0020     const: brcm,ns-thermal
0021 
0022   reg:
0023     description: PVTMON registers range
0024     maxItems: 1
0025 
0026   "#thermal-sensor-cells":
0027     const: 0
0028 
0029 unevaluatedProperties: false
0030 
0031 required:
0032   - reg
0033 
0034 examples:
0035   - |
0036     thermal: thermal@1800c2c0 {
0037         compatible = "brcm,ns-thermal";
0038         reg = <0x1800c2c0 0x10>;
0039         #thermal-sensor-cells = <0>;
0040     };
0041 
0042     thermal-zones {
0043         cpu-thermal {
0044             polling-delay-passive = <0>;
0045             polling-delay = <1000>;
0046             coefficients = <(-556) 418000>;
0047             thermal-sensors = <&thermal>;
0048 
0049             trips {
0050                 cpu-crit {
0051                     temperature = <125000>;
0052                     hysteresis = <0>;
0053                     type = "critical";
0054                 };
0055             };
0056 
0057             cooling-maps {
0058             };
0059         };
0060     };