About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / devicetree / bindings / thermal / exynos-thermal.txt




Custom Search

Based on kernel version 3.19. Page generated on 2015-02-13 21:19 EST.

1	* Exynos Thermal Management Unit (TMU)
2	
3	** Required properties:
4	
5	- compatible : One of the following:
6		       "samsung,exynos3250-tmu"
7		       "samsung,exynos4412-tmu"
8		       "samsung,exynos4210-tmu"
9		       "samsung,exynos5250-tmu"
10		       "samsung,exynos5260-tmu"
11		       "samsung,exynos5420-tmu" for TMU channel 0, 1 on Exynos5420
12		       "samsung,exynos5420-tmu-ext-triminfo" for TMU channels 2, 3 and 4
13				Exynos5420 (Must pass triminfo base and triminfo clock)
14		       "samsung,exynos5440-tmu"
15	- interrupt-parent : The phandle for the interrupt controller
16	- reg : Address range of the thermal registers. For soc's which has multiple
17		instances of TMU and some registers are shared across all TMU's like
18		interrupt related then 2 set of register has to supplied. First set
19		belongs	to register set of TMU instance and second set belongs to
20		registers shared with the TMU instance.
21	
22	  NOTE: On Exynos5420, the TRIMINFO register is misplaced for TMU
23		channels 2, 3 and 4
24		Use "samsung,exynos5420-tmu-ext-triminfo" in cases, there is a misplaced
25		register, also provide clock to access that base.
26	
27		TRIMINFO at 0x1006c000 contains data for TMU channel 3
28		TRIMINFO at 0x100a0000 contains data for TMU channel 4
29		TRIMINFO at 0x10068000 contains data for TMU channel 2
30	
31	- interrupts : Should contain interrupt for thermal system
32	- clocks : The main clocks for TMU device
33		-- 1. operational clock for TMU channel
34		-- 2. optional clock to access the shared registers of TMU channel
35	- clock-names : Thermal system clock name
36		-- "tmu_apbif" operational clock for current TMU channel
37		-- "tmu_triminfo_apbif" clock to access the shared triminfo register
38			for current TMU channel
39	- vtmu-supply: This entry is optional and provides the regulator node supplying
40			voltage to TMU. If needed this entry can be placed inside
41			board/platform specific dts file.
42	
43	Example 1):
44	
45		tmu@100C0000 {
46			compatible = "samsung,exynos4412-tmu";
47			interrupt-parent = <&combiner>;
48			reg = <0x100C0000 0x100>;
49			interrupts = <2 4>;
50			clocks = <&clock 383>;
51			clock-names = "tmu_apbif";
52			status = "disabled";
53			vtmu-supply = <&tmu_regulator_node>;
54		};
55	
56	Example 2):
57	
58		tmuctrl_0: tmuctrl@160118 {
59			compatible = "samsung,exynos5440-tmu";
60			reg = <0x160118 0x230>, <0x160368 0x10>;
61			interrupts = <0 58 0>;
62			clocks = <&clock 21>;
63			clock-names = "tmu_apbif";
64		};
65	
66	Example 3): (In case of Exynos5420 "with misplaced TRIMINFO register")
67		tmu_cpu2: tmu@10068000 {
68			compatible = "samsung,exynos5420-tmu-ext-triminfo";
69			reg = <0x10068000 0x100>, <0x1006c000 0x4>;
70			interrupts = <0 184 0>;
71			clocks = <&clock 318>, <&clock 318>;
72			clock-names = "tmu_apbif", "tmu_triminfo_apbif";
73		};
74	
75		tmu_cpu3: tmu@1006c000 {
76			compatible = "samsung,exynos5420-tmu-ext-triminfo";
77			reg = <0x1006c000 0x100>, <0x100a0000 0x4>;
78			interrupts = <0 185 0>;
79			clocks = <&clock 318>, <&clock 319>;
80			clock-names = "tmu_apbif", "tmu_triminfo_apbif";
81		};
82	
83		tmu_gpu: tmu@100a0000 {
84			compatible = "samsung,exynos5420-tmu-ext-triminfo";
85			reg = <0x100a0000 0x100>, <0x10068000 0x4>;
86			interrupts = <0 215 0>;
87			clocks = <&clock 319>, <&clock 318>;
88			clock-names = "tmu_apbif", "tmu_triminfo_apbif";
89		};
90	
91	Note: For multi-instance tmu each instance should have an alias correctly
92	numbered in "aliases" node.
93	
94	Example:
95	
96	aliases {
97		tmuctrl0 = &tmuctrl_0;
98		tmuctrl1 = &tmuctrl_1;
99		tmuctrl2 = &tmuctrl_2;
100	};
Hide Line Numbers
About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Information is copyright its respective author. All material is available from the Linux Kernel Source distributed under a GPL License. This page is provided as a free service by mjmwired.net.