~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/thermal/max77620_thermal.txt

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 Thermal driver for MAX77620 Power management IC from Maxim Semiconductor.
  2 
  3 Maxim Semiconductor MAX77620 supports alarm interrupts when its
  4 die temperature crosses 120C and 140C. These threshold temperatures
  5 are not configurable. Device does not provide the real temperature
  6 of die other than just indicating whether temperature is above or
  7 below threshold level.
  8 
  9 Required properties:
 10 -------------------
 11 #thermal-sensor-cells:  For more details, please refer to
 12                         <devicetree/bindings/thermal/thermal-sensor.yaml>
 13                         The value must be 0.
 14 
 15 For more details, please refer generic thermal DT binding document
 16 <devicetree/bindings/thermal/thermal*.yaml>.
 17 
 18 Please refer <devicetree/bindings/mfd/max77620.txt> for mfd DT binding
 19 document for the MAX77620.
 20 
 21 Example:
 22 --------
 23 #include <dt-bindings/mfd/max77620.h>
 24 #include <dt-bindings/thermal/thermal.h>
 25 ...
 26 
 27 i2c@7000d000 {
 28         spmic: max77620@3c {
 29                 compatible = "maxim,max77620";
 30                 :::::
 31                 #thermal-sensor-cells = <0>;
 32                 :::
 33         };
 34 };
 35 
 36 cool_dev: cool-dev {
 37         compatible = "cooling-dev";
 38         #cooling-cells = <2>;
 39 };
 40 
 41 thermal-zones {
 42         PMIC-Die {
 43                 polling-delay = <0>;
 44                 polling-delay-passive = <0>;
 45                 thermal-sensors = <&spmic>;
 46 
 47                 trips {
 48                         pmic_die_warn_temp_thresh: hot-die {
 49                                 temperature = <120000>;
 50                                 type = "hot";
 51                                 hysteresis = <0>;
 52                         };
 53 
 54                         pmic_die_cirt_temp_thresh: cirtical-die {
 55                                 temperature = <140000>;
 56                                 type = "critical";
 57                                 hysteresis = <0>;
 58                         };
 59                 };
 60 
 61                 cooling-maps {
 62                         map0 {
 63                                 trip = <&pmic_die_warn_temp_thresh>;
 64                                 cooling-device = <&cool_dev THERMAL_NO_LIMIT
 65                                                   THERMAL_NO_LIMIT>;
 66                                 contribution = <100>;
 67                         };
 68                 };
 69         };
 70 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php