The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/thermal/max77620_thermal.txt

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    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 };

Cache object: 60a065955a98eafa316a15b91b84d98c


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.