-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'for_3.12/exynos' of git://git.kernel.org/pub/scm/linux/…
…kernel/git/evalenti/linux-soc-thermal into exynos
- Loading branch information
Showing
14 changed files
with
2,143 additions
and
1,196 deletions.
There are no files selected for viewing
55 changes: 55 additions & 0 deletions
55
Documentation/devicetree/bindings/thermal/exynos-thermal.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
* Exynos Thermal Management Unit (TMU) | ||
|
||
** Required properties: | ||
|
||
- compatible : One of the following: | ||
"samsung,exynos4412-tmu" | ||
"samsung,exynos4210-tmu" | ||
"samsung,exynos5250-tmu" | ||
"samsung,exynos5440-tmu" | ||
- interrupt-parent : The phandle for the interrupt controller | ||
- reg : Address range of the thermal registers. For soc's which has multiple | ||
instances of TMU and some registers are shared across all TMU's like | ||
interrupt related then 2 set of register has to supplied. First set | ||
belongs to each instance of TMU and second set belongs to common TMU | ||
registers. | ||
- interrupts : Should contain interrupt for thermal system | ||
- clocks : The main clock for TMU device | ||
- clock-names : Thermal system clock name | ||
- vtmu-supply: This entry is optional and provides the regulator node supplying | ||
voltage to TMU. If needed this entry can be placed inside | ||
board/platform specific dts file. | ||
|
||
Example 1): | ||
|
||
tmu@100C0000 { | ||
compatible = "samsung,exynos4412-tmu"; | ||
interrupt-parent = <&combiner>; | ||
reg = <0x100C0000 0x100>; | ||
interrupts = <2 4>; | ||
clocks = <&clock 383>; | ||
clock-names = "tmu_apbif"; | ||
status = "disabled"; | ||
vtmu-supply = <&tmu_regulator_node>; | ||
}; | ||
|
||
Example 2): | ||
|
||
tmuctrl_0: tmuctrl@160118 { | ||
compatible = "samsung,exynos5440-tmu"; | ||
reg = <0x160118 0x230>, <0x160368 0x10>; | ||
interrupts = <0 58 0>; | ||
clocks = <&clock 21>; | ||
clock-names = "tmu_apbif"; | ||
}; | ||
|
||
Note: For multi-instance tmu each instance should have an alias correctly | ||
numbered in "aliases" node. | ||
|
||
Example: | ||
|
||
aliases { | ||
tmuctrl0 = &tmuctrl_0; | ||
tmuctrl1 = &tmuctrl_1; | ||
tmuctrl2 = &tmuctrl_2; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.