diff options
Diffstat (limited to 'Documentation/devicetree/bindings/thermal/tegra-soctherm.txt')
-rw-r--r-- | Documentation/devicetree/bindings/thermal/tegra-soctherm.txt | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/thermal/tegra-soctherm.txt b/Documentation/devicetree/bindings/thermal/tegra-soctherm.txt new file mode 100644 index 000000000000..ecf3ed76cd46 --- /dev/null +++ b/Documentation/devicetree/bindings/thermal/tegra-soctherm.txt | |||
@@ -0,0 +1,53 @@ | |||
1 | Tegra124 SOCTHERM thermal management system | ||
2 | |||
3 | The SOCTHERM IP block contains thermal sensors, support for polled | ||
4 | or interrupt-based thermal monitoring, CPU and GPU throttling based | ||
5 | on temperature trip points, and handling external overcurrent | ||
6 | notifications. It is also used to manage emergency shutdown in an | ||
7 | overheating situation. | ||
8 | |||
9 | Required properties : | ||
10 | - compatible : "nvidia,tegra124-soctherm". | ||
11 | - reg : Should contain 1 entry: | ||
12 | - SOCTHERM register set | ||
13 | - interrupts : Defines the interrupt used by SOCTHERM | ||
14 | - clocks : Must contain an entry for each entry in clock-names. | ||
15 | See ../clocks/clock-bindings.txt for details. | ||
16 | - clock-names : Must include the following entries: | ||
17 | - tsensor | ||
18 | - soctherm | ||
19 | - resets : Must contain an entry for each entry in reset-names. | ||
20 | See ../reset/reset.txt for details. | ||
21 | - reset-names : Must include the following entries: | ||
22 | - soctherm | ||
23 | - #thermal-sensor-cells : Should be 1. See ./thermal.txt for a description | ||
24 | of this property. See <dt-bindings/thermal/tegra124-soctherm.h> for a | ||
25 | list of valid values when referring to thermal sensors. | ||
26 | |||
27 | |||
28 | Example : | ||
29 | |||
30 | soctherm@0,700e2000 { | ||
31 | compatible = "nvidia,tegra124-soctherm"; | ||
32 | reg = <0x0 0x700e2000 0x0 0x1000>; | ||
33 | interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>; | ||
34 | clocks = <&tegra_car TEGRA124_CLK_TSENSOR>, | ||
35 | <&tegra_car TEGRA124_CLK_SOC_THERM>; | ||
36 | clock-names = "tsensor", "soctherm"; | ||
37 | resets = <&tegra_car 78>; | ||
38 | reset-names = "soctherm"; | ||
39 | |||
40 | #thermal-sensor-cells = <1>; | ||
41 | }; | ||
42 | |||
43 | Example: referring to thermal sensors : | ||
44 | |||
45 | thermal-zones { | ||
46 | cpu { | ||
47 | polling-delay-passive = <1000>; | ||
48 | polling-delay = <1000>; | ||
49 | |||
50 | thermal-sensors = | ||
51 | <&soctherm TEGRA124_SOCTHERM_SENSOR_CPU>; | ||
52 | }; | ||
53 | }; | ||