diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2018-02-05 13:45:32 -0500 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2018-02-12 00:11:03 -0500 |
commit | 3c0b186ec515071b6872cdafa64a5a6044444fd4 (patch) | |
tree | 0ed5789ab4093d658b6e30d50471641f7330e0bb | |
parent | b3a151ce1b7bc805eea29fdd2479b8565a889ef5 (diff) |
arm64: dts: ls1012a: Move cpu_thermal out of bus node
Move cpu_thermal node from soc node to root node.
cpu_thermal node does not have any register properties and thus
shouldn't be placed on the bus.
This fixes the following build warnings with W=1:
arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dtb: Warning (simple_bus_reg): Node /soc/thermal-zones missing or empty reg/ranges property
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
-rw-r--r-- | arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi index 82b272fb41b9..4e98d057253b 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi | |||
@@ -118,6 +118,37 @@ | |||
118 | mask = <0x02>; | 118 | mask = <0x02>; |
119 | }; | 119 | }; |
120 | 120 | ||
121 | thermal-zones { | ||
122 | cpu_thermal: cpu-thermal { | ||
123 | polling-delay-passive = <1000>; | ||
124 | polling-delay = <5000>; | ||
125 | thermal-sensors = <&tmu 0>; | ||
126 | |||
127 | trips { | ||
128 | cpu_alert: cpu-alert { | ||
129 | temperature = <85000>; | ||
130 | hysteresis = <2000>; | ||
131 | type = "passive"; | ||
132 | }; | ||
133 | |||
134 | cpu_crit: cpu-crit { | ||
135 | temperature = <95000>; | ||
136 | hysteresis = <2000>; | ||
137 | type = "critical"; | ||
138 | }; | ||
139 | }; | ||
140 | |||
141 | cooling-maps { | ||
142 | map0 { | ||
143 | trip = <&cpu_alert>; | ||
144 | cooling-device = | ||
145 | <&cpu0 THERMAL_NO_LIMIT | ||
146 | THERMAL_NO_LIMIT>; | ||
147 | }; | ||
148 | }; | ||
149 | }; | ||
150 | }; | ||
151 | |||
121 | soc { | 152 | soc { |
122 | compatible = "simple-bus"; | 153 | compatible = "simple-bus"; |
123 | #address-cells = <2>; | 154 | #address-cells = <2>; |
@@ -304,37 +335,6 @@ | |||
304 | #thermal-sensor-cells = <1>; | 335 | #thermal-sensor-cells = <1>; |
305 | }; | 336 | }; |
306 | 337 | ||
307 | thermal-zones { | ||
308 | cpu_thermal: cpu-thermal { | ||
309 | polling-delay-passive = <1000>; | ||
310 | polling-delay = <5000>; | ||
311 | thermal-sensors = <&tmu 0>; | ||
312 | |||
313 | trips { | ||
314 | cpu_alert: cpu-alert { | ||
315 | temperature = <85000>; | ||
316 | hysteresis = <2000>; | ||
317 | type = "passive"; | ||
318 | }; | ||
319 | |||
320 | cpu_crit: cpu-crit { | ||
321 | temperature = <95000>; | ||
322 | hysteresis = <2000>; | ||
323 | type = "critical"; | ||
324 | }; | ||
325 | }; | ||
326 | |||
327 | cooling-maps { | ||
328 | map0 { | ||
329 | trip = <&cpu_alert>; | ||
330 | cooling-device = | ||
331 | <&cpu0 THERMAL_NO_LIMIT | ||
332 | THERMAL_NO_LIMIT>; | ||
333 | }; | ||
334 | }; | ||
335 | }; | ||
336 | }; | ||
337 | |||
338 | i2c0: i2c@2180000 { | 338 | i2c0: i2c@2180000 { |
339 | compatible = "fsl,vf610-i2c"; | 339 | compatible = "fsl,vf610-i2c"; |
340 | #address-cells = <1>; | 340 | #address-cells = <1>; |