aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/thermal/max77620_thermal.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/devicetree/bindings/thermal/max77620_thermal.txt')
-rw-r--r--Documentation/devicetree/bindings/thermal/max77620_thermal.txt70
1 files changed, 70 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/thermal/max77620_thermal.txt b/Documentation/devicetree/bindings/thermal/max77620_thermal.txt
new file mode 100644
index 000000000000..323a3b3822aa
--- /dev/null
+++ b/Documentation/devicetree/bindings/thermal/max77620_thermal.txt
@@ -0,0 +1,70 @@
1Thermal driver for MAX77620 Power management IC from Maxim Semiconductor.
2
3Maxim Semiconductor MAX77620 supports alarm interrupts when its
4die temperature crosses 120C and 140C. These threshold temperatures
5are not configurable. Device does not provide the real temperature
6of die other than just indicating whether temperature is above or
7below threshold level.
8
9Required properties:
10-------------------
11#thermal-sensor-cells: Please refer <devicetree/bindings/thermal/thermal.txt>
12 for more details.
13 The value must be 0.
14
15For more details, please refer generic thermal DT binding document
16<devicetree/bindings/thermal/thermal.txt>.
17
18Please refer <devicetree/bindings/mfd/max77620.txt> for mfd DT binding
19document for the MAX77620.
20
21Example:
22--------
23#include <dt-bindings/mfd/max77620.h>
24#include <dt-bindings/thermal/thermal.h>
25...
26
27i2c@7000d000 {
28 spmic: max77620@3c {
29 compatible = "maxim,max77620";
30 :::::
31 #thermal-sensor-cells = <0>;
32 :::
33 };
34};
35
36cool_dev: cool-dev {
37 compatible = "cooling-dev";
38 #cooling-cells = <2>;
39};
40
41thermal-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};