Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1292952

[PATCH v6 3/3] arm64: dts: mt8173: Add dynamic power node.

From Dawei Chien <dawei.chien@mediatek.com>
Newsgroups linux.kernel
Subject [PATCH v6 3/3] arm64: dts: mt8173: Add dynamic power node.
Date 2015-12-16 14:30 +0100
Message-ID <qGkjw-2hR-29@gated-at.bofh.it> (permalink)
References <qGkjw-2hR-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


This device node is for calculating dynamic power in mW.
Since mt8173 has two clusters, there are two dynamic power
coefficient as well.

Signed-off-by: Dawei Chien <dawei.chien@mediatek.com>
---
This patch is base on patchset:
https://lkml.org/lkml/2015/11/17/251
---
 arch/arm64/boot/dts/mediatek/mt8173.dtsi |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
index c962d94..b6f4ea5 100644
--- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
@@ -71,6 +71,7 @@
 			#cooling-cells = <2>;
 			#cooling-min-level = <0>;
 			#cooling-max-level = <7>;
+			dynamic-power-coefficient = <263>;
 		};
 
 		cpu1: cpu@1 {
@@ -95,6 +96,7 @@
 			#cooling-cells = <2>;
 			#cooling-min-level = <0>;
 			#cooling-max-level = <7>;
+			dynamic-power-coefficient = <263>;
 		};
 
 		cpu2: cpu@100 {
@@ -119,6 +121,7 @@
 			#cooling-cells = <2>;
 			#cooling-min-level = <0>;
 			#cooling-max-level = <7>;
+			dynamic-power-coefficient = <530>;
 		};
 
 		cpu3: cpu@101 {
@@ -143,6 +146,7 @@
 			#cooling-cells = <2>;
 			#cooling-min-level = <0>;
 			#cooling-max-level = <7>;
+			dynamic-power-coefficient = <530>;
 		};
 
 		idle-states {
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v6 0/3] thermal: mediatek: Add cpu dynamic power cooling model. Dawei Chien <dawei.chien@mediatek.com> - 2015-12-16 14:30 +0100
  [PATCH v6 3/3] arm64: dts: mt8173: Add dynamic power node. Dawei Chien <dawei.chien@mediatek.com> - 2015-12-16 14:30 +0100
  [PATCH v6 2/3] arm64: dts: mt8173: Add thermal zone node. Dawei Chien <dawei.chien@mediatek.com> - 2015-12-16 14:30 +0100
  [PATCH v6 1/3] thermal: mediatek: Add cpu dynamic power cooling model. Dawei Chien <dawei.chien@mediatek.com> - 2015-12-16 14:40 +0100
  Re: [PATCH v6 0/3] thermal: mediatek: Add cpu dynamic power cooling  model. Viresh Kumar <viresh.kumar@linaro.org> - 2015-12-17 03:00 +0100

csiph-web