diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2018-07-16 10:42:01 -0400 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2018-07-27 17:43:18 -0400 |
commit | c3ab5dfff1e088e163aa2f866dd66e5a55af463f (patch) | |
tree | cb1e682676a9d6d6c423e24068dff732669fa05a | |
parent | e1ea68beaf539a1872debd749c62025cde0e2430 (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.txt | 37 |
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 | ||
14 | SYSTEM CONTROLLER 0 | ||
15 | =================== | ||
16 | |||
14 | Clocks: | 17 | Clocks: |
15 | ------- | 18 | ------- |
16 | 19 | ||
@@ -186,3 +189,37 @@ CP110_LABEL(syscon0): system-controller@440000 { | |||
186 | }; | 189 | }; |
187 | 190 | ||
188 | }; | 191 | }; |
192 | |||
193 | SYSTEM CONTROLLER 1 | ||
194 | =================== | ||
195 | |||
196 | Thermal: | ||
197 | -------- | ||
198 | |||
199 | The thermal IP can probe the temperature all around the processor. It | ||
200 | may feature several channels, each of them wired to one sensor. | ||
201 | |||
202 | For common binding part and usage, refer to | ||
203 | Documentation/devicetree/bindings/thermal/thermal.txt | ||
204 | |||
205 | Required properties: | ||
206 | - compatible: must be one of: | ||
207 | * marvell,armada-cp110-thermal | ||
208 | - reg: register range associated with the thermal functions. | ||
209 | |||
210 | Optional 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 | |||
215 | Example: | ||
216 | CP110_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 | }; | ||