diff mbox

[RESEND,3/3] arm64: dts: mt8173: Add dynamic power node.

Message ID 1458029437-12846-4-git-send-email-dawei.chien@mediatek.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Dawei Chien March 15, 2016, 8:10 a.m. UTC
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(+)

Comments

Dawei Chien April 21, 2016, 4:12 a.m. UTC | #1
On Tue, 2016-03-15 at 16:10 +0800, Dawei Chien (???) wrote:
> 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

Sorry for miss one dependence for this device node.
https://lkml.org/lkml/2015/7/9/206

> ---
>  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 f9c44cc..5cb6b4e 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-pm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Matthias Brugger April 21, 2016, 10:28 a.m. UTC | #2
On 21/04/16 06:12, dawei chien wrote:
> On Tue, 2016-03-15 at 16:10 +0800, Dawei Chien (???) wrote:
>> 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
>
> Sorry for miss one dependence for this device node.
> https://lkml.org/lkml/2015/7/9/206
>

This patch got somehow forgotten.
Thanks for the reminder.
Matthias

>> ---
>>   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 f9c44cc..5cb6b4e 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-pm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
index f9c44cc..5cb6b4e 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 {