]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
arm64: dts: t210: update jetson cpu-emc table
authorRajkumar Kasirajan <rkasirajan@nvidia.com>
Fri, 13 Nov 2015 06:46:29 +0000 (14:46 +0800)
committermobile promotions <svcmobile_promotions@nvidia.com>
Mon, 14 Dec 2015 17:17:54 +0000 (09:17 -0800)
updated jetson cpu-to-emc ratio table based on loki-e
to optimize power and performance.

Bug 200146718

Change-Id: Icd6aad5b27a6c36a7ec598be87f051fa9c84148f
Signed-off-by: Rajkumar Kasirajan <rkasirajan@nvidia.com>
Reviewed-on: http://git-master/r/832619
(cherry picked from commit 69f00966c2881b6803b13769ffe30b0a2e9b3bec)
Reviewed-on: http://git-master/r/839327
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Shreshtha Sahu <ssahu@nvidia.com>
Reviewed-by: Ninad Malwade <nmalwade@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
arch/arm64/boot/dts/tegra210-hawkeye-p2290-common.dtsi
arch/arm64/boot/dts/tegra210-jetson-cv-base-p2597-2180-a00.dts
arch/arm64/boot/dts/tegra210-jetson-e-base-p2595-0000-a00.dts
arch/arm64/boot/dts/tegra210-platforms/tegra210-hawkeye-cpufreq.dtsi [moved from arch/arm64/boot/dts/tegra210-platforms/tegra210-hawkeye-jetson-cpufreq.dtsi with 100% similarity]
arch/arm64/boot/dts/tegra210-platforms/tegra210-jetson-cpufreq.dtsi [new file with mode: 0644]

index 5b4c320fe08842bb458fab4f06f81674fdabfb7d..bec7fc396272934363a6dfdb19aab3c314735c05 100644 (file)
@@ -50,7 +50,7 @@
 #include "tegra210-platforms/tegra210-hawkeye-powermon.dtsi"
 #include "tegra210-platforms/tegra210-hawkeye-e-prods.dtsi"
 #include "tegra210-platforms/tegra210-hawkeye-thermal-zone-p2290-1100-a00.dtsi"
-#include "tegra210-platforms/tegra210-hawkeye-jetson-cpufreq.dtsi"
+#include "tegra210-platforms/tegra210-hawkeye-cpufreq.dtsi"
 
 /* TODO: comm's dtsi should be included after GPIO dtsi */
 #include "tegra210-platforms/tegra210-hawkeye-comms.dtsi"
index 044b67847166fc83ba6a98dc337d9937d9651df7..4e1bb7856ab51677f30ef70fcfd4695845b3892f 100644 (file)
@@ -42,7 +42,7 @@
 #include "tegra210-platforms/tegra210-thermal-nct72-p2530.dtsi"
 #include "tegra210-platforms/tegra210-thermal-Tboard-Tdiode.dtsi"
 #include "tegra210-platforms/tegra210-jetson-cv-powermon-p2180-1000-a00.dtsi"
-#include "tegra210-platforms/tegra210-hawkeye-jetson-cpufreq.dtsi"
+#include "tegra210-platforms/tegra210-jetson-cpufreq.dtsi"
 
 / {
        model = "jetson_cv";
index 425dc09fe2a724b36427684d0911f5c4439a9a28..269c038037c593f6919d58e1a33af8e07ec586fb 100644 (file)
@@ -46,7 +46,7 @@
 #include "tegra210-platforms/tegra210-thermal-Tboard-Tdiode.dtsi"
 #include "tegra210-platforms/tegra210-jetson-e-powermon-p2530-0930-e03.dtsi"
 #include "tegra210-platforms/tegra210-therm-est.dtsi"
-#include "tegra210-platforms/tegra210-hawkeye-jetson-cpufreq.dtsi"
+#include "tegra210-platforms/tegra210-jetson-cpufreq.dtsi"
 
 / {
        model = "jetson_e";
diff --git a/arch/arm64/boot/dts/tegra210-platforms/tegra210-jetson-cpufreq.dtsi b/arch/arm64/boot/dts/tegra210-platforms/tegra210-jetson-cpufreq.dtsi
new file mode 100644 (file)
index 0000000..4b09847
--- /dev/null
@@ -0,0 +1,33 @@
+/*
+ * Copyright (c) 2015 NVIDIA CORPORATION. All rights reserved.
+ *
+ * This software is licensed under the terms of the GNU General Public
+ * License version 2, as published by the Free Software Foundation, and
+ * may be copied, distributed, and modified under those terms.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ */
+
+/ {
+        cpufreq {
+               compatible = "nvidia,tegra210-cpufreq";
+               emc-scaling-data {
+                       emc-cpu-limit-table = <
+                               /* CPU    EMC */
+                               102000  68000
+                               204800  102000
+                               307200  204000
+                               403000  408000
+                               714000  665600
+                               1122000 800000
+                               1224000 1056000
+                               1428000 1331200
+                               1632000 1600000
+                       >;
+               };
+       };
+};