diff options
author | Amit Daniel Kachhap <amit.daniel@samsung.com> | 2013-06-24 06:50:48 -0400 |
---|---|---|
committer | Eduardo Valentin <eduardo.valentin@ti.com> | 2013-08-13 09:52:04 -0400 |
commit | 0e97194bcfa09fc835016e3aa12b932827a9e2a6 (patch) | |
tree | e647abb418fdddb8b9348f2dcc7e370f976834a0 /Documentation/devicetree | |
parent | 498d22f616f6880531b6d75630a9cc0ecd1f7865 (diff) |
ARM: dts: thermal: exynos: Add documentation for Exynos SoC thermal bindings
Proper description for Exynos4 bindings added to Documentation/devicetree/
bindings. It adds description to use multiple TMU instances, optional voltage
supply node and optional shared register across multiple TMU's.
Acked-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Amit Daniel Kachhap <amit.daniel@samsung.com>
Acked-by: Eduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r-- | Documentation/devicetree/bindings/thermal/exynos-thermal.txt | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/thermal/exynos-thermal.txt b/Documentation/devicetree/bindings/thermal/exynos-thermal.txt new file mode 100644 index 000000000000..284f5300fd8b --- /dev/null +++ b/Documentation/devicetree/bindings/thermal/exynos-thermal.txt | |||
@@ -0,0 +1,55 @@ | |||
1 | * Exynos Thermal Management Unit (TMU) | ||
2 | |||
3 | ** Required properties: | ||
4 | |||
5 | - compatible : One of the following: | ||
6 | "samsung,exynos4412-tmu" | ||
7 | "samsung,exynos4210-tmu" | ||
8 | "samsung,exynos5250-tmu" | ||
9 | "samsung,exynos5440-tmu" | ||
10 | - interrupt-parent : The phandle for the interrupt controller | ||
11 | - reg : Address range of the thermal registers. For soc's which has multiple | ||
12 | instances of TMU and some registers are shared across all TMU's like | ||
13 | interrupt related then 2 set of register has to supplied. First set | ||
14 | belongs to each instance of TMU and second set belongs to common TMU | ||
15 | registers. | ||
16 | - interrupts : Should contain interrupt for thermal system | ||
17 | - clocks : The main clock for TMU device | ||
18 | - clock-names : Thermal system clock name | ||
19 | - vtmu-supply: This entry is optional and provides the regulator node supplying | ||
20 | voltage to TMU. If needed this entry can be placed inside | ||
21 | board/platform specific dts file. | ||
22 | |||
23 | Example 1): | ||
24 | |||
25 | tmu@100C0000 { | ||
26 | compatible = "samsung,exynos4412-tmu"; | ||
27 | interrupt-parent = <&combiner>; | ||
28 | reg = <0x100C0000 0x100>; | ||
29 | interrupts = <2 4>; | ||
30 | clocks = <&clock 383>; | ||
31 | clock-names = "tmu_apbif"; | ||
32 | status = "disabled"; | ||
33 | vtmu-supply = <&tmu_regulator_node>; | ||
34 | }; | ||
35 | |||
36 | Example 2): | ||
37 | |||
38 | tmuctrl_0: tmuctrl@160118 { | ||
39 | compatible = "samsung,exynos5440-tmu"; | ||
40 | reg = <0x160118 0x230>, <0x160368 0x10>; | ||
41 | interrupts = <0 58 0>; | ||
42 | clocks = <&clock 21>; | ||
43 | clock-names = "tmu_apbif"; | ||
44 | }; | ||
45 | |||
46 | Note: For multi-instance tmu each instance should have an alias correctly | ||
47 | numbered in "aliases" node. | ||
48 | |||
49 | Example: | ||
50 | |||
51 | aliases { | ||
52 | tmuctrl0 = &tmuctrl_0; | ||
53 | tmuctrl1 = &tmuctrl_1; | ||
54 | tmuctrl2 = &tmuctrl_2; | ||
55 | }; | ||