xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/thermal/brcm,ns-thermal.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun* Broadcom Northstar Thermal
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunThis binding describes thermal sensor that is part of Northstar's DMU (Device
4*4882a593SmuzhiyunManagement Unit).
5*4882a593Smuzhiyun
6*4882a593SmuzhiyunRequired properties:
7*4882a593Smuzhiyun- compatible : Must be "brcm,ns-thermal"
8*4882a593Smuzhiyun- reg : iomem address range of PVTMON registers
9*4882a593Smuzhiyun- #thermal-sensor-cells : Should be <0>
10*4882a593Smuzhiyun
11*4882a593SmuzhiyunExample:
12*4882a593Smuzhiyun
13*4882a593Smuzhiyunthermal: thermal@1800c2c0 {
14*4882a593Smuzhiyun	compatible = "brcm,ns-thermal";
15*4882a593Smuzhiyun	reg = <0x1800c2c0 0x10>;
16*4882a593Smuzhiyun	#thermal-sensor-cells = <0>;
17*4882a593Smuzhiyun};
18*4882a593Smuzhiyun
19*4882a593Smuzhiyunthermal-zones {
20*4882a593Smuzhiyun	cpu_thermal: cpu-thermal {
21*4882a593Smuzhiyun		polling-delay-passive = <0>;
22*4882a593Smuzhiyun		polling-delay = <1000>;
23*4882a593Smuzhiyun		coefficients = <(-556) 418000>;
24*4882a593Smuzhiyun		thermal-sensors = <&thermal>;
25*4882a593Smuzhiyun
26*4882a593Smuzhiyun		trips {
27*4882a593Smuzhiyun			cpu-crit {
28*4882a593Smuzhiyun				temperature	= <125000>;
29*4882a593Smuzhiyun				hysteresis	= <0>;
30*4882a593Smuzhiyun				type		= "critical";
31*4882a593Smuzhiyun			};
32*4882a593Smuzhiyun		};
33*4882a593Smuzhiyun
34*4882a593Smuzhiyun		cooling-maps {
35*4882a593Smuzhiyun		};
36*4882a593Smuzhiyun	};
37*4882a593Smuzhiyun};
38