* Re: [PATCH] [RESEND] arm64: dts: mt8173: Add dynamic power node.
[not found] <20191122090610.17015-1-michael.kao@mediatek.com>
@ 2019-12-05 16:00 ` Daniel Lezcano
2019-12-11 8:13 ` Michael Kao
0 siblings, 1 reply; 3+ messages in thread
From: Daniel Lezcano @ 2019-12-05 16:00 UTC (permalink / raw)
To: michael.kao, Zhang Rui, Eduardo Valentin, Rob Herring,
Mark Rutland, Matthias Brugger, hsinyi, linux-pm
Cc: devicetree, linux-kernel, linux-arm-kernel, linux-mediatek, Dawei Chien
Hi Michael,
On 22/11/2019 10:06, michael.kao@mediatek.com wrote:
> From: "michael.kao" <michael.kao@mediatek.com>
>
> This device node is for calculating dynamic power in mW.
> Since mt8173 has two clusters, there are two dynamic power
> coefficient as well.
Are you sure about the values? Usually, Big is ~x4 little, here it is ~x2.
> Signed-off-by: Dawei Chien <dawei.chien@mediatek.com>
> Signed-off-by: Michael.Kao <michael.kao@mediatek.com>
>
> ---
> 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 15f1842f6df3..b03ca5a71338 100644
> --- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi
> +++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
> @@ -157,6 +157,7 @@
> enable-method = "psci";
> cpu-idle-states = <&CPU_SLEEP_0>;
> #cooling-cells = <2>;
> + dynamic-power-coefficient = <263>;
> clocks = <&infracfg CLK_INFRA_CA53SEL>,
> <&apmixedsys CLK_APMIXED_MAINPLL>;
> clock-names = "cpu", "intermediate";
> @@ -170,6 +171,7 @@
> enable-method = "psci";
> cpu-idle-states = <&CPU_SLEEP_0>;
> #cooling-cells = <2>;
> + dynamic-power-coefficient = <263>;
> clocks = <&infracfg CLK_INFRA_CA53SEL>,
> <&apmixedsys CLK_APMIXED_MAINPLL>;
> clock-names = "cpu", "intermediate";
> @@ -183,6 +185,7 @@
> enable-method = "psci";
> cpu-idle-states = <&CPU_SLEEP_0>;
> #cooling-cells = <2>;
> + dynamic-power-coefficient = <530>;
> clocks = <&infracfg CLK_INFRA_CA72SEL>,
> <&apmixedsys CLK_APMIXED_MAINPLL>;
> clock-names = "cpu", "intermediate";
> @@ -196,6 +199,7 @@
> enable-method = "psci";
> cpu-idle-states = <&CPU_SLEEP_0>;
> #cooling-cells = <2>;
> + dynamic-power-coefficient = <530>;
> clocks = <&infracfg CLK_INFRA_CA72SEL>,
> <&apmixedsys CLK_APMIXED_MAINPLL>;
> clock-names = "cpu", "intermediate";
>
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] [RESEND] arm64: dts: mt8173: Add dynamic power node.
2019-12-05 16:00 ` [PATCH] [RESEND] arm64: dts: mt8173: Add dynamic power node Daniel Lezcano
@ 2019-12-11 8:13 ` Michael Kao
2019-12-11 18:06 ` Matthias Brugger
0 siblings, 1 reply; 3+ messages in thread
From: Michael Kao @ 2019-12-11 8:13 UTC (permalink / raw)
To: Daniel Lezcano
Cc: Zhang Rui, Eduardo Valentin, Rob Herring, Mark Rutland,
Matthias Brugger, hsinyi, linux-pm, devicetree, linux-kernel,
linux-arm-kernel, linux-mediatek, Dawei Chien, mn.tsou
On Thu, 2019-12-05 at 17:00 +0100, Daniel Lezcano wrote:
> Hi Michael,
>
>
> On 22/11/2019 10:06, michael.kao@mediatek.com wrote:
> > From: "michael.kao" <michael.kao@mediatek.com>
> >
> > This device node is for calculating dynamic power in mW.
> > Since mt8173 has two clusters, there are two dynamic power
> > coefficient as well.
>
> Are you sure about the values? Usually, Big is ~x4 little, here it is ~x2.
Hi Daniel,
I have confirmed again with our IC designer.
The dynamic power coefficients are these value is right.
Designer comment that it is result from different IC implement.
>
> > Signed-off-by: Dawei Chien <dawei.chien@mediatek.com>
> > Signed-off-by: Michael.Kao <michael.kao@mediatek.com>
> >
> > ---
> > 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 15f1842f6df3..b03ca5a71338 100644
> > --- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi
> > +++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
> > @@ -157,6 +157,7 @@
> > enable-method = "psci";
> > cpu-idle-states = <&CPU_SLEEP_0>;
> > #cooling-cells = <2>;
> > + dynamic-power-coefficient = <263>;
> > clocks = <&infracfg CLK_INFRA_CA53SEL>,
> > <&apmixedsys CLK_APMIXED_MAINPLL>;
> > clock-names = "cpu", "intermediate";
> > @@ -170,6 +171,7 @@
> > enable-method = "psci";
> > cpu-idle-states = <&CPU_SLEEP_0>;
> > #cooling-cells = <2>;
> > + dynamic-power-coefficient = <263>;
> > clocks = <&infracfg CLK_INFRA_CA53SEL>,
> > <&apmixedsys CLK_APMIXED_MAINPLL>;
> > clock-names = "cpu", "intermediate";
> > @@ -183,6 +185,7 @@
> > enable-method = "psci";
> > cpu-idle-states = <&CPU_SLEEP_0>;
> > #cooling-cells = <2>;
> > + dynamic-power-coefficient = <530>;
> > clocks = <&infracfg CLK_INFRA_CA72SEL>,
> > <&apmixedsys CLK_APMIXED_MAINPLL>;
> > clock-names = "cpu", "intermediate";
> > @@ -196,6 +199,7 @@
> > enable-method = "psci";
> > cpu-idle-states = <&CPU_SLEEP_0>;
> > #cooling-cells = <2>;
> > + dynamic-power-coefficient = <530>;
> > clocks = <&infracfg CLK_INFRA_CA72SEL>,
> > <&apmixedsys CLK_APMIXED_MAINPLL>;
> > clock-names = "cpu", "intermediate";
> >
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] [RESEND] arm64: dts: mt8173: Add dynamic power node.
2019-12-11 8:13 ` Michael Kao
@ 2019-12-11 18:06 ` Matthias Brugger
0 siblings, 0 replies; 3+ messages in thread
From: Matthias Brugger @ 2019-12-11 18:06 UTC (permalink / raw)
To: Michael Kao, Daniel Lezcano
Cc: Zhang Rui, Eduardo Valentin, Rob Herring, Mark Rutland, hsinyi,
linux-pm, devicetree, linux-kernel, linux-arm-kernel,
linux-mediatek, Dawei Chien, mn.tsou
On 11/12/2019 09:13, Michael Kao wrote:
> On Thu, 2019-12-05 at 17:00 +0100, Daniel Lezcano wrote:
>> Hi Michael,
>>
>>
>> On 22/11/2019 10:06, michael.kao@mediatek.com wrote:
>>> From: "michael.kao" <michael.kao@mediatek.com>
>>>
>>> This device node is for calculating dynamic power in mW.
>>> Since mt8173 has two clusters, there are two dynamic power
>>> coefficient as well.
>>
>> Are you sure about the values? Usually, Big is ~x4 little, here it is ~x2.
>
> Hi Daniel,
>
> I have confirmed again with our IC designer.
> The dynamic power coefficients are these value is right.
> Designer comment that it is result from different IC implement.
Applied to v5.5-next/dts64
Thanks!
Matthias
>>
>>> Signed-off-by: Dawei Chien <dawei.chien@mediatek.com>
>>> Signed-off-by: Michael.Kao <michael.kao@mediatek.com>
>>>
>>> ---
>>> 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 15f1842f6df3..b03ca5a71338 100644
>>> --- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi
>>> +++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
>>> @@ -157,6 +157,7 @@
>>> enable-method = "psci";
>>> cpu-idle-states = <&CPU_SLEEP_0>;
>>> #cooling-cells = <2>;
>>> + dynamic-power-coefficient = <263>;
>>> clocks = <&infracfg CLK_INFRA_CA53SEL>,
>>> <&apmixedsys CLK_APMIXED_MAINPLL>;
>>> clock-names = "cpu", "intermediate";
>>> @@ -170,6 +171,7 @@
>>> enable-method = "psci";
>>> cpu-idle-states = <&CPU_SLEEP_0>;
>>> #cooling-cells = <2>;
>>> + dynamic-power-coefficient = <263>;
>>> clocks = <&infracfg CLK_INFRA_CA53SEL>,
>>> <&apmixedsys CLK_APMIXED_MAINPLL>;
>>> clock-names = "cpu", "intermediate";
>>> @@ -183,6 +185,7 @@
>>> enable-method = "psci";
>>> cpu-idle-states = <&CPU_SLEEP_0>;
>>> #cooling-cells = <2>;
>>> + dynamic-power-coefficient = <530>;
>>> clocks = <&infracfg CLK_INFRA_CA72SEL>,
>>> <&apmixedsys CLK_APMIXED_MAINPLL>;
>>> clock-names = "cpu", "intermediate";
>>> @@ -196,6 +199,7 @@
>>> enable-method = "psci";
>>> cpu-idle-states = <&CPU_SLEEP_0>;
>>> #cooling-cells = <2>;
>>> + dynamic-power-coefficient = <530>;
>>> clocks = <&infracfg CLK_INFRA_CA72SEL>,
>>> <&apmixedsys CLK_APMIXED_MAINPLL>;
>>> clock-names = "cpu", "intermediate";
>>>
>>
>>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-12-11 18:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20191122090610.17015-1-michael.kao@mediatek.com>
2019-12-05 16:00 ` [PATCH] [RESEND] arm64: dts: mt8173: Add dynamic power node Daniel Lezcano
2019-12-11 8:13 ` Michael Kao
2019-12-11 18:06 ` Matthias Brugger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).