aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWei Ni <wni@nvidia.com>2016-05-11 06:20:22 -0400
committerZhang Rui <rui.zhang@intel.com>2016-09-27 02:02:32 -0400
commita6ebde2540e20fd95150aa1ccdd82fcceb49425b (patch)
treecb02a16a00cdf57c6b87e2e0fabade942979ceae
parent0fa2bfcd1a0ee2f0465b769f37163b7e7d9c2e50 (diff)
arm64: tegra: set critical trips for Tegra132
Set general "critical" trip temperatures for cpu, gpu, mem and pllx thermal zones on Tegra132, these trips can trigger shut down or reset. Signed-off-by: Wei Ni <wni@nvidia.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
-rw-r--r--arch/arm64/boot/dts/nvidia/tegra132.dtsi60
1 files changed, 60 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/nvidia/tegra132.dtsi b/arch/arm64/boot/dts/nvidia/tegra132.dtsi
index e41d8e82d7ed..a3889e930010 100644
--- a/arch/arm64/boot/dts/nvidia/tegra132.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra132.dtsi
@@ -746,6 +746,21 @@
746 746
747 thermal-sensors = 747 thermal-sensors =
748 <&soctherm TEGRA124_SOCTHERM_SENSOR_CPU>; 748 <&soctherm TEGRA124_SOCTHERM_SENSOR_CPU>;
749
750 trips {
751 cpu_shutdown_trip {
752 temperature = <105000>;
753 hysteresis = <1000>;
754 type = "critical";
755 };
756 };
757
758 cooling-maps {
759 /*
760 * There are currently no cooling maps,
761 * because there are no cooling devices.
762 */
763 };
749 }; 764 };
750 mem { 765 mem {
751 polling-delay-passive = <0>; 766 polling-delay-passive = <0>;
@@ -753,6 +768,21 @@
753 768
754 thermal-sensors = 769 thermal-sensors =
755 <&soctherm TEGRA124_SOCTHERM_SENSOR_MEM>; 770 <&soctherm TEGRA124_SOCTHERM_SENSOR_MEM>;
771
772 trips {
773 mem_shutdown_trip {
774 temperature = <101000>;
775 hysteresis = <1000>;
776 type = "critical";
777 };
778 };
779
780 cooling-maps {
781 /*
782 * There are currently no cooling maps,
783 * because there are no cooling devices.
784 */
785 };
756 }; 786 };
757 gpu { 787 gpu {
758 polling-delay-passive = <1000>; 788 polling-delay-passive = <1000>;
@@ -760,6 +790,21 @@
760 790
761 thermal-sensors = 791 thermal-sensors =
762 <&soctherm TEGRA124_SOCTHERM_SENSOR_GPU>; 792 <&soctherm TEGRA124_SOCTHERM_SENSOR_GPU>;
793
794 trips {
795 gpu_shutdown_trip {
796 temperature = <101000>;
797 hysteresis = <1000>;
798 type = "critical";
799 };
800 };
801
802 cooling-maps {
803 /*
804 * There are currently no cooling maps,
805 * because there are no cooling devices.
806 */
807 };
763 }; 808 };
764 pllx { 809 pllx {
765 polling-delay-passive = <0>; 810 polling-delay-passive = <0>;
@@ -767,6 +812,21 @@
767 812
768 thermal-sensors = 813 thermal-sensors =
769 <&soctherm TEGRA124_SOCTHERM_SENSOR_PLLX>; 814 <&soctherm TEGRA124_SOCTHERM_SENSOR_PLLX>;
815
816 trips {
817 pllx_shutdown_trip {
818 temperature = <105000>;
819 hysteresis = <1000>;
820 type = "critical";
821 };
822 };
823
824 cooling-maps {
825 /*
826 * There are currently no cooling maps,
827 * because there are no cooling devices.
828 */
829 };
770 }; 830 };
771 }; 831 };
772 832