Back to home page

OSCL-LXR

 
 

    


0001 Binding for Thermal Sensor driver for BCM2835 SoCs.
0002 
0003 Required parameters:
0004 -------------------
0005 
0006 compatible:             should be one of: "brcm,bcm2835-thermal",
0007                         "brcm,bcm2836-thermal" or "brcm,bcm2837-thermal"
0008 reg:                    Address range of the thermal registers.
0009 clocks:                 Phandle of the clock used by the thermal sensor.
0010 #thermal-sensor-cells:  should be 0 (see Documentation/devicetree/bindings/thermal/thermal-sensor.yaml)
0011 
0012 Example:
0013 
0014 thermal-zones {
0015         cpu_thermal: cpu-thermal {
0016                 polling-delay-passive = <0>;
0017                 polling-delay = <1000>;
0018 
0019                 thermal-sensors = <&thermal>;
0020 
0021                 trips {
0022                         cpu-crit {
0023                                 temperature     = <80000>;
0024                                 hysteresis      = <0>;
0025                                 type            = "critical";
0026                         };
0027                 };
0028 
0029                 coefficients = <(-538)  407000>;
0030 
0031                 cooling-maps {
0032                 };
0033         };
0034 };
0035 
0036 thermal: thermal@7e212000 {
0037         compatible = "brcm,bcm2835-thermal";
0038         reg = <0x7e212000 0x8>;
0039         clocks = <&clocks BCM2835_CLOCK_TSENS>;
0040         #thermal-sensor-cells = <0>;
0041 };