Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: ls1021a: move thermal-zones node out of soc/

This fixes dtbs-check error from simple-bus schema:
soc: thermal-zones: {'type': 'object'} is not allowed for {'cpu-thermal': ..... }
From schema: /home/leo/.local/lib/python3.8/site-packages/dtschema/schemas/simple-bus.yaml

Signed-off-by: Li Yang <leoyang.li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>

authored by

Li Yang and committed by
Shawn Guo
1ee1500e 08dc4d0c

+33 -33
+33 -33
arch/arm/boot/dts/ls1021a.dtsi
··· 287 287 #thermal-sensor-cells = <1>; 288 288 }; 289 289 290 - thermal-zones { 291 - cpu_thermal: cpu-thermal { 292 - polling-delay-passive = <1000>; 293 - polling-delay = <5000>; 294 - 295 - thermal-sensors = <&tmu 0>; 296 - 297 - trips { 298 - cpu_alert: cpu-alert { 299 - temperature = <85000>; 300 - hysteresis = <2000>; 301 - type = "passive"; 302 - }; 303 - cpu_crit: cpu-crit { 304 - temperature = <95000>; 305 - hysteresis = <2000>; 306 - type = "critical"; 307 - }; 308 - }; 309 - 310 - cooling-maps { 311 - map0 { 312 - trip = <&cpu_alert>; 313 - cooling-device = 314 - <&cpu0 THERMAL_NO_LIMIT 315 - THERMAL_NO_LIMIT>, 316 - <&cpu1 THERMAL_NO_LIMIT 317 - THERMAL_NO_LIMIT>; 318 - }; 319 - }; 320 - }; 321 - }; 322 - 323 290 dspi0: spi@2100000 { 324 291 compatible = "fsl,ls1021a-v1.0-dspi"; 325 292 #address-cells = <1>; ··· 938 971 fsl,rcpm-wakeup = <&rcpm 0x0 0x20000000>; 939 972 interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>; 940 973 big-endian; 974 + }; 975 + }; 976 + 977 + thermal-zones { 978 + cpu_thermal: cpu-thermal { 979 + polling-delay-passive = <1000>; 980 + polling-delay = <5000>; 981 + 982 + thermal-sensors = <&tmu 0>; 983 + 984 + trips { 985 + cpu_alert: cpu-alert { 986 + temperature = <85000>; 987 + hysteresis = <2000>; 988 + type = "passive"; 989 + }; 990 + cpu_crit: cpu-crit { 991 + temperature = <95000>; 992 + hysteresis = <2000>; 993 + type = "critical"; 994 + }; 995 + }; 996 + 997 + cooling-maps { 998 + map0 { 999 + trip = <&cpu_alert>; 1000 + cooling-device = 1001 + <&cpu0 THERMAL_NO_LIMIT 1002 + THERMAL_NO_LIMIT>, 1003 + <&cpu1 THERMAL_NO_LIMIT 1004 + THERMAL_NO_LIMIT>; 1005 + }; 1006 + }; 941 1007 }; 942 1008 }; 943 1009 };