aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2017-12-22 11:14:03 -0500
committerEduardo Valentin <edubezval@gmail.com>2018-01-01 15:28:20 -0500
commit7ba03c2599654eeb93912f4c4286df5b83b44044 (patch)
treebedf1db558950286774f4bcae2f8f14a66fb5833
parent2d14a0ee5e73d5224873777892fd86d3a283b059 (diff)
dt-bindings: thermal: Describe Armada AP806 and CP110
Add compatible strings for AP806 and CP110 that are part of the Armada 8k/7k line of SoCs. Add a note on the differences in the size of the control area in different bindings. This is an existing difference between the Armada 375 binding and the other boards already supported. The new AP806 and CP110 bindings are similar to the existing Armada 375 in this regard. Signed-off-by: Baruch Siach <baruch@tkos.co.il> [<miquel.raynal@free-electrons.com>: reword, additional details] Signed-off-by: Miquel Raynal <miquel.raynal@free-electrons.com> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
-rw-r--r--Documentation/devicetree/bindings/thermal/armada-thermal.txt37
1 files changed, 25 insertions, 12 deletions
diff --git a/Documentation/devicetree/bindings/thermal/armada-thermal.txt b/Documentation/devicetree/bindings/thermal/armada-thermal.txt
index 24aacf8948c5..e0d013a2e66d 100644
--- a/Documentation/devicetree/bindings/thermal/armada-thermal.txt
+++ b/Documentation/devicetree/bindings/thermal/armada-thermal.txt
@@ -2,22 +2,35 @@
2 2
3Required properties: 3Required properties:
4 4
5- compatible: Should be set to one of the following: 5- compatible: Should be set to one of the following:
6 marvell,armada370-thermal 6 * marvell,armada370-thermal
7 marvell,armada375-thermal 7 * marvell,armada375-thermal
8 marvell,armada380-thermal 8 * marvell,armada380-thermal
9 marvell,armadaxp-thermal 9 * marvell,armadaxp-thermal
10 * marvell,armada-ap806-thermal
11 * marvell,armada-cp110-thermal
10 12
11- reg: Device's register space. 13- reg: Device's register space.
12 Two entries are expected, see the examples below. 14 Two entries are expected, see the examples below. The first one points
13 The first one is required for the sensor register; 15 to the status register (4B). The second one points to the control
14 the second one is required for the control register 16 registers (8B).
15 to be used for sensor initialization (a.k.a. calibration). 17 Note: The compatibles marvell,armada370-thermal,
18 marvell,armada380-thermal, and marvell,armadaxp-thermal must point to
19 "control MSB/control 1", with size of 4 (deprecated binding), or point
20 to "control LSB/control 0" with size of 8 (current binding). All other
21 compatibles must point to "control LSB/control 0" with size of 8.
16 22
17Example: 23Examples:
18 24
25 /* Legacy bindings */
19 thermal@d0018300 { 26 thermal@d0018300 {
20 compatible = "marvell,armada370-thermal"; 27 compatible = "marvell,armada370-thermal";
21 reg = <0xd0018300 0x4 28 reg = <0xd0018300 0x4
22 0xd0018304 0x4>; 29 0xd0018304 0x4>;
23 }; 30 };
31
32 ap_thermal: thermal@6f8084 {
33 compatible = "marvell,armada-ap806-thermal";
34 reg = <0x6f808C 0x4>,
35 <0x6f8084 0x8>;
36 };