aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2013-07-11 15:26:08 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-07-11 15:26:08 -0400
commit8cbd0eefcaf8cc32ded2bf229f0fc379b2ad69f2 (patch)
tree08cc79685a888470509b969a2c079249ee28b69f /Documentation/devicetree
parent1466b77a7be75144dee1cb09839be3435854dd0b (diff)
parente8d39240d635ed9bcaddbec898b1c9f063c5dbb2 (diff)
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux
Pull thermal management updates from Zhang Rui: "There are not too many changes this time, except two new platform thermal drivers, ti-soc-thermal driver and x86_pkg_temp_thermal driver, and a couple of small fixes. Highlights: - move the ti-soc-thermal driver out of the staging tree to the thermal tree. - introduce the x86_pkg_temp_thermal driver. This driver registers CPU digital temperature package level sensor as a thermal zone. - small fixes/cleanups including removing redundant use of platform_set_drvdata() and of_match_ptr for all platform thermal drivers" * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux: (34 commits) thermal: cpu_cooling: fix stub function thermal: ti-soc-thermal: use standard GPIO DT bindings thermal: MAINTAINERS: Add git tree path for SoC specific updates thermal: fix x86_pkg_temp_thermal.c build and Kconfig Thermal: Documentation for x86 package temperature thermal driver Thermal: CPU Package temperature thermal thermal: consider emul_temperature while computing trend thermal: ti-soc-thermal: add DT example for DRA752 chip thermal: ti-soc-thermal: add dra752 chip to device table thermal: ti-soc-thermal: add thermal data for DRA752 chips thermal: ti-soc-thermal: remove usage of IS_ERR_OR_NULL thermal: ti-soc-thermal: freeze FSM while computing trend thermal: ti-soc-thermal: remove external heat while extrapolating hotspot thermal: ti-soc-thermal: update DT reference for OMAP5430 x86, mcheck, therm_throt: Process package thresholds thermal: cpu_cooling: fix 'descend' check in get_property() Thermal: spear: Remove redundant use of of_match_ptr Thermal: kirkwood: Remove redundant use of of_match_ptr Thermal: dove: Remove redundant use of of_match_ptr Thermal: armada: Remove redundant use of of_match_ptr ...
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r--Documentation/devicetree/bindings/thermal/ti_soc_thermal.txt74
1 files changed, 74 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/thermal/ti_soc_thermal.txt b/Documentation/devicetree/bindings/thermal/ti_soc_thermal.txt
new file mode 100644
index 000000000000..0c9222d27fae
--- /dev/null
+++ b/Documentation/devicetree/bindings/thermal/ti_soc_thermal.txt
@@ -0,0 +1,74 @@
1* Texas Instrument OMAP SCM bandgap bindings
2
3In the System Control Module, OMAP supplies a voltage reference
4and a temperature sensor feature that are gathered in the band
5gap voltage and temperature sensor (VBGAPTS) module. The band
6gap provides current and voltage reference for its internal
7circuits and other analog IP blocks. The analog-to-digital
8converter (ADC) produces an output value that is proportional
9to the silicon temperature.
10
11Required properties:
12- compatible : Should be:
13 - "ti,omap4430-bandgap" : for OMAP4430 bandgap
14 - "ti,omap4460-bandgap" : for OMAP4460 bandgap
15 - "ti,omap4470-bandgap" : for OMAP4470 bandgap
16 - "ti,omap5430-bandgap" : for OMAP5430 bandgap
17- interrupts : this entry should indicate which interrupt line
18the talert signal is routed to;
19Specific:
20- gpios : this entry should be used to inform which GPIO
21line the tshut signal is routed to. The informed GPIO will
22be treated as an IRQ;
23- regs : this entry must also be specified and it is specific
24to each bandgap version, because the mapping may change from
25soc to soc, apart of depending on available features.
26
27Example:
28OMAP4430:
29bandgap {
30 reg = <0x4a002260 0x4 0x4a00232C 0x4>;
31 compatible = "ti,omap4430-bandgap";
32};
33
34OMAP4460:
35bandgap {
36 reg = <0x4a002260 0x4
37 0x4a00232C 0x4
38 0x4a002378 0x18>;
39 compatible = "ti,omap4460-bandgap";
40 interrupts = <0 126 4>; /* talert */
41 gpios = <&gpio3 22 0>; /* tshut */
42};
43
44OMAP4470:
45bandgap {
46 reg = <0x4a002260 0x4
47 0x4a00232C 0x4
48 0x4a002378 0x18>;
49 compatible = "ti,omap4470-bandgap";
50 interrupts = <0 126 4>; /* talert */
51 gpios = <&gpio3 22 0>; /* tshut */
52};
53
54OMAP5430:
55bandgap {
56 reg = <0x4a0021e0 0xc
57 0x4a00232c 0xc
58 0x4a002380 0x2c
59 0x4a0023C0 0x3c>;
60 compatible = "ti,omap5430-bandgap";
61 interrupts = <0 126 4>; /* talert */
62};
63
64DRA752:
65bandgap {
66 reg = <0x4a0021e0 0xc
67 0x4a00232c 0xc
68 0x4a002380 0x2c
69 0x4a0023C0 0x3c
70 0x4a002564 0x8
71 0x4a002574 0x50>;
72 compatible = "ti,dra752-bandgap";
73 interrupts = <0 126 4>; /* talert */
74};