rtc: stm32: fix misspelling and misalignment issues
[linux/fpc-iii.git] / Documentation / devicetree / bindings / thermal / max77620_thermal.txt
blob323a3b3822aacfb8236222933ab916df1e58d340
1 Thermal driver for MAX77620 Power management IC from Maxim Semiconductor.
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.
9 Required properties:
10 -------------------
11 #thermal-sensor-cells:  Please refer <devicetree/bindings/thermal/thermal.txt>
12                         for more details.
13                         The value must be 0.
15 For more details, please refer generic thermal DT binding document
16 <devicetree/bindings/thermal/thermal.txt>.
18 Please refer <devicetree/bindings/mfd/max77620.txt> for mfd DT binding
19 document for the MAX77620.
21 Example:
22 --------
23 #include <dt-bindings/mfd/max77620.h>
24 #include <dt-bindings/thermal/thermal.h>
25 ...
27 i2c@7000d000 {
28         spmic: max77620@3c {
29                 compatible = "maxim,max77620";
30                 :::::
31                 #thermal-sensor-cells = <0>;
32                 :::
33         };
36 cool_dev: cool-dev {
37         compatible = "cooling-dev";
38         #cooling-cells = <2>;
41 thermal-zones {
42         PMIC-Die {
43                 polling-delay = <0>;
44                 polling-delay-passive = <0>;
45                 thermal-sensors = <&spmic>;
47                 trips {
48                         pmic_die_warn_temp_thresh: hot-die {
49                                 temperature = <120000>;
50                                 type = "hot";
51                                 hysteresis = <0>;
52                         };
54                         pmic_die_cirt_temp_thresh: cirtical-die {
55                                 temperature = <140000>;
56                                 type = "critical";
57                                 hysteresis = <0>;
58                         };
59                 };
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         };