aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>2013-04-01 21:37:41 -0400
committerZhang Rui <rui.zhang@intel.com>2013-04-02 09:04:09 -0400
commitfa0d654c84c7705d90a2492b4611e1da7ccdf69c (patch)
tree1886969009b9aeea4cb805545c3a7730b6403953 /Documentation/devicetree
parent57df8106932b57427df1eaaa13871857f75b1194 (diff)
thermal: Add driver for Armada 370/XP SoC thermal management
This driver supports both Armada 370 and Armada XP SoC thermal management controllers. Armada 370 has a register to check a valid temperature, whereas Armada XP does not. Each has a different initialization (i.e. calibration) function. The temperature conversion formula is the same for both. The controller present in each SoC have a very similar feature set, so it corresponds to have one driver to support both of them. Although this driver may present similarities to Dove and Kirkwood thermal driver, the exact differences and coincidences are not fully known. For this reason, support is given through a separate driver. Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r--Documentation/devicetree/bindings/thermal/armada-thermal.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/thermal/armada-thermal.txt b/Documentation/devicetree/bindings/thermal/armada-thermal.txt
new file mode 100644
index 000000000000..fff93d5f92de
--- /dev/null
+++ b/Documentation/devicetree/bindings/thermal/armada-thermal.txt
@@ -0,0 +1,22 @@
1* Marvell Armada 370/XP thermal management
2
3Required properties:
4
5- compatible: Should be set to one of the following:
6 marvell,armada370-thermal
7 marvell,armadaxp-thermal
8
9- reg: Device's register space.
10 Two entries are expected, see the examples below.
11 The first one is required for the sensor register;
12 the second one is required for the control register
13 to be used for sensor initialization (a.k.a. calibration).
14
15Example:
16
17 thermal@d0018300 {
18 compatible = "marvell,armada370-thermal";
19 reg = <0xd0018300 0x4
20 0xd0018304 0x4>;
21 status = "okay";
22 };