aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2018-07-16 10:42:01 -0400
committerEduardo Valentin <edubezval@gmail.com>2018-07-27 17:43:18 -0400
commitc3ab5dfff1e088e163aa2f866dd66e5a55af463f (patch)
treecb1e682676a9d6d6c423e24068dff732669fa05a
parente1ea68beaf539a1872debd749c62025cde0e2430 (diff)
dt-bindings: cp110: add the thermal node in the syscon file
Explain the thermal bindings now that the thermal IP is described being inside of a system controller. Add a reference to the thermal-zone node. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
-rw-r--r--Documentation/devicetree/bindings/arm/marvell/cp110-system-controller.txt37
1 files changed, 37 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/arm/marvell/cp110-system-controller.txt b/Documentation/devicetree/bindings/arm/marvell/cp110-system-controller.txt
index 54b0d64ce819..81ce742d2760 100644
--- a/Documentation/devicetree/bindings/arm/marvell/cp110-system-controller.txt
+++ b/Documentation/devicetree/bindings/arm/marvell/cp110-system-controller.txt
@@ -11,6 +11,9 @@ For the top level node:
11 - compatible: must be: "syscon", "simple-mfd"; 11 - compatible: must be: "syscon", "simple-mfd";
12 - reg: register area of the CP110 system controller 12 - reg: register area of the CP110 system controller
13 13
14SYSTEM CONTROLLER 0
15===================
16
14Clocks: 17Clocks:
15------- 18-------
16 19
@@ -186,3 +189,37 @@ CP110_LABEL(syscon0): system-controller@440000 {
186 }; 189 };
187 190
188}; 191};
192
193SYSTEM CONTROLLER 1
194===================
195
196Thermal:
197--------
198
199The thermal IP can probe the temperature all around the processor. It
200may feature several channels, each of them wired to one sensor.
201
202For common binding part and usage, refer to
203Documentation/devicetree/bindings/thermal/thermal.txt
204
205Required properties:
206- compatible: must be one of:
207 * marvell,armada-cp110-thermal
208- reg: register range associated with the thermal functions.
209
210Optional properties:
211- #thermal-sensor-cells: shall be <1> when thermal-zones subnodes refer
212 to this IP and represents the channel ID. There is one sensor per
213 channel. O refers to the thermal IP internal channel.
214
215Example:
216CP110_LABEL(syscon1): system-controller@6f8000 {
217 compatible = "syscon", "simple-mfd";
218 reg = <0x6f8000 0x1000>;
219
220 CP110_LABEL(thermal): thermal-sensor@70 {
221 compatible = "marvell,armada-cp110-thermal";
222 reg = <0x70 0x10>;
223 #thermal-sensor-cells = <1>;
224 };
225};