diff options
author | Caesar Wang <wxt@rock-chips.com> | 2016-04-22 06:02:53 -0400 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2016-04-25 03:52:56 -0400 |
commit | f87305fa00b1d0633d2dc5fd7fb4995bed6a59e8 (patch) | |
tree | 5b0dd0908730ed524a1dd805d683553079716c54 /arch/arm/boot/dts/rk3288.dtsi | |
parent | 162718cb1a76f75d76e4b335034e341e8b656a5c (diff) |
ARM: dts: rockchip: move the rk3288 thermal data into rk3288.dtsi
In order to be standard to manage for rockchip SoCs, move the thermal
data into rk3288 dtsi, we needn't to add a new file for thermal.
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Eduardo Valentin <edubezval@gmail.com>
Cc: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'arch/arm/boot/dts/rk3288.dtsi')
-rw-r--r-- | arch/arm/boot/dts/rk3288.dtsi | 73 |
1 files changed, 72 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi index 906818955215..3b44ef3cff12 100644 --- a/arch/arm/boot/dts/rk3288.dtsi +++ b/arch/arm/boot/dts/rk3288.dtsi | |||
@@ -445,7 +445,78 @@ | |||
445 | }; | 445 | }; |
446 | 446 | ||
447 | thermal-zones { | 447 | thermal-zones { |
448 | #include "rk3288-thermal.dtsi" | 448 | reserve_thermal: reserve_thermal { |
449 | polling-delay-passive = <1000>; /* milliseconds */ | ||
450 | polling-delay = <5000>; /* milliseconds */ | ||
451 | |||
452 | thermal-sensors = <&tsadc 0>; | ||
453 | }; | ||
454 | |||
455 | cpu_thermal: cpu_thermal { | ||
456 | polling-delay-passive = <100>; /* milliseconds */ | ||
457 | polling-delay = <5000>; /* milliseconds */ | ||
458 | |||
459 | thermal-sensors = <&tsadc 1>; | ||
460 | |||
461 | trips { | ||
462 | cpu_alert0: cpu_alert0 { | ||
463 | temperature = <70000>; /* millicelsius */ | ||
464 | hysteresis = <2000>; /* millicelsius */ | ||
465 | type = "passive"; | ||
466 | }; | ||
467 | cpu_alert1: cpu_alert1 { | ||
468 | temperature = <75000>; /* millicelsius */ | ||
469 | hysteresis = <2000>; /* millicelsius */ | ||
470 | type = "passive"; | ||
471 | }; | ||
472 | cpu_crit: cpu_crit { | ||
473 | temperature = <90000>; /* millicelsius */ | ||
474 | hysteresis = <2000>; /* millicelsius */ | ||
475 | type = "critical"; | ||
476 | }; | ||
477 | }; | ||
478 | |||
479 | cooling-maps { | ||
480 | map0 { | ||
481 | trip = <&cpu_alert0>; | ||
482 | cooling-device = | ||
483 | <&cpu0 THERMAL_NO_LIMIT 6>; | ||
484 | }; | ||
485 | map1 { | ||
486 | trip = <&cpu_alert1>; | ||
487 | cooling-device = | ||
488 | <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; | ||
489 | }; | ||
490 | }; | ||
491 | }; | ||
492 | |||
493 | gpu_thermal: gpu_thermal { | ||
494 | polling-delay-passive = <100>; /* milliseconds */ | ||
495 | polling-delay = <5000>; /* milliseconds */ | ||
496 | |||
497 | thermal-sensors = <&tsadc 2>; | ||
498 | |||
499 | trips { | ||
500 | gpu_alert0: gpu_alert0 { | ||
501 | temperature = <70000>; /* millicelsius */ | ||
502 | hysteresis = <2000>; /* millicelsius */ | ||
503 | type = "passive"; | ||
504 | }; | ||
505 | gpu_crit: gpu_crit { | ||
506 | temperature = <90000>; /* millicelsius */ | ||
507 | hysteresis = <2000>; /* millicelsius */ | ||
508 | type = "critical"; | ||
509 | }; | ||
510 | }; | ||
511 | |||
512 | cooling-maps { | ||
513 | map0 { | ||
514 | trip = <&gpu_alert0>; | ||
515 | cooling-device = | ||
516 | <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; | ||
517 | }; | ||
518 | }; | ||
519 | }; | ||
449 | }; | 520 | }; |
450 | 521 | ||
451 | tsadc: tsadc@ff280000 { | 522 | tsadc: tsadc@ff280000 { |