Back to home page

OSCL-LXR

 
 

    


0001 * Broadcom Stingray Thermal
0002 
0003 This binding describes thermal sensors that is part of Stingray SoCs.
0004 
0005 Required properties:
0006 - compatible : Must be "brcm,sr-thermal"
0007 - reg : Memory where tmon data will be available.
0008 - brcm,tmon-mask: A one cell bit mask of valid TMON sources.
0009                   Each bit represents single TMON source.
0010 - #thermal-sensor-cells : Thermal sensor phandler
0011 - polling-delay: Max number of milliseconds to wait between polls.
0012 - thermal-sensors: A list of thermal sensor phandles and specifier.
0013                    specifier value is tmon ID and it should be
0014                    in correspond with brcm,tmon-mask.
0015 - temperature: trip temperature threshold in millicelsius.
0016 
0017 Example:
0018         tmons {
0019                 compatible = "simple-bus";
0020                 #address-cells = <1>;
0021                 #size-cells = <1>;
0022                 ranges = <0x0 0x0 0x8f100000 0x100>;
0023 
0024                 tmon: tmon@0 {
0025                         compatible = "brcm,sr-thermal";
0026                         reg = <0x0 0x40>;
0027                         brcm,tmon-mask = <0x3f>;
0028                         #thermal-sensor-cells = <1>;
0029                 };
0030         };
0031 
0032         thermal-zones {
0033                 ihost0_thermal: ihost0-thermal {
0034                         polling-delay-passive = <0>;
0035                         polling-delay = <1000>;
0036                         thermal-sensors = <&tmon 0>;
0037                         trips {
0038                                 cpu-crit {
0039                                         temperature = <105000>;
0040                                         hysteresis = <0>;
0041                                         type = "critical";
0042                                 };
0043                         };
0044                 };
0045                 ihost1_thermal: ihost1-thermal {
0046                         polling-delay-passive = <0>;
0047                         polling-delay = <1000>;
0048                         thermal-sensors = <&tmon 1>;
0049                         trips {
0050                                 cpu-crit {
0051                                         temperature = <105000>;
0052                                         hysteresis = <0>;
0053                                         type = "critical";
0054                                 };
0055                         };
0056                 };
0057                 ihost2_thermal: ihost2-thermal {
0058                         polling-delay-passive = <0>;
0059                         polling-delay = <1000>;
0060                         thermal-sensors = <&tmon 2>;
0061                         trips {
0062                                 cpu-crit {
0063                                         temperature = <105000>;
0064                                         hysteresis = <0>;
0065                                         type = "critical";
0066                                 };
0067                         };
0068                 };
0069                 ihost3_thermal: ihost3-thermal {
0070                         polling-delay-passive = <0>;
0071                         polling-delay = <1000>;
0072                         thermal-sensors = <&tmon 3>;
0073                         trips {
0074                                 cpu-crit {
0075                                         temperature = <105000>;
0076                                         hysteresis = <0>;
0077                                         type = "critical";
0078                                 };
0079                         };
0080                 };
0081                 crmu_thermal: crmu-thermal {
0082                         polling-delay-passive = <0>;
0083                         polling-delay = <1000>;
0084                         thermal-sensors = <&tmon 4>;
0085                         trips {
0086                                 cpu-crit {
0087                                         temperature = <105000>;
0088                                         hysteresis = <0>;
0089                                         type = "critical";
0090                                 };
0091                         };
0092                 };
0093                 nitro_thermal: nitro-thermal {
0094                         polling-delay-passive = <0>;
0095                         polling-delay = <1000>;
0096                         thermal-sensors = <&tmon 5>;
0097                         trips {
0098                                 cpu-crit {
0099                                         temperature = <105000>;
0100                                         hysteresis = <0>;
0101                                         type = "critical";
0102                                 };
0103                         };
0104                 };
0105         };