* [PATCH 5/7] ARM: dts: r8a7791-koelsch: Add DVFS parameters into cpu0 node for r8a7791
@ 2014-05-29 7:49 Gaku Inami
2014-05-29 16:01 ` Sergei Shtylyov
2014-05-30 0:37 ` Gaku Inami
0 siblings, 2 replies; 3+ messages in thread
From: Gaku Inami @ 2014-05-29 7:49 UTC (permalink / raw)
To: linux-sh
Add needed information inside CPU0 for the generic cpufreq-cpu0 driver.
- voltage-tolerance = 1%
It reflects the tolerance for the CPU voltage defined inside the OPP
table. Due to the lack of proper OPP definition, use an arbitrary safe
value.
- clock-latency = 300 us
Approximate worst-case latency to do a full DVFS transition for every
OPPs. Due to the lack of HW information, use an arbitrary safe value.
Note: The term transition-latency will be more accurate to define this
value since the clock transition latency is not the only parameter that
will define the overall DVFS transition.
- operating-points = < kHz - uV >
List of 6 operating points. All of them are using the same voltage
since DVS is not supported in R-CAR Gen2.
- clocks
phandle to the CPU clock source. This clock source is used for all the
2 CortexA15 located inside the same cluster.
Signed-off-by: Gaku Inami <gaku.inami.xw@bp.renesas.com>
---
arch/arm/boot/dts/r8a7791.dtsi | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7791.dtsi b/arch/arm/boot/dts/r8a7791.dtsi
index 8d7ffae..b9b3c74 100644
--- a/arch/arm/boot/dts/r8a7791.dtsi
+++ b/arch/arm/boot/dts/r8a7791.dtsi
@@ -45,6 +45,17 @@
compatible = "arm,cortex-a15";
reg = <0>;
clock-frequency = <1500000000>;
+ voltage-tolerance = <1>; /* 1% */
+ clocks = <&cpg_clocks R8A7791_CLK_Z>;
+ clock-latency = <300000>; /* 300 us */
+
+ /* kHz - uV - OPPs unknown yet */
+ operating-points = <1500000 1000000>,
+ <1312500 1000000>,
+ <1125000 1000000>,
+ < 937500 1000000>,
+ < 750000 1000000>,
+ < 375000 1000000>;
};
cpu1: cpu@1 {
--
1.7.9.5
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH 5/7] ARM: dts: r8a7791-koelsch: Add DVFS parameters into cpu0 node for r8a7791
2014-05-29 7:49 [PATCH 5/7] ARM: dts: r8a7791-koelsch: Add DVFS parameters into cpu0 node for r8a7791 Gaku Inami
@ 2014-05-29 16:01 ` Sergei Shtylyov
2014-05-30 0:37 ` Gaku Inami
1 sibling, 0 replies; 3+ messages in thread
From: Sergei Shtylyov @ 2014-05-29 16:01 UTC (permalink / raw)
To: linux-sh
On 05/29/2014 11:49 AM, Gaku Inami wrote:
> Add needed information inside CPU0 for the generic cpufreq-cpu0 driver.
> - voltage-tolerance = 1%
> It reflects the tolerance for the CPU voltage defined inside the OPP
> table. Due to the lack of proper OPP definition, use an arbitrary safe
> value.
> - clock-latency = 300 us
> Approximate worst-case latency to do a full DVFS transition for every
> OPPs. Due to the lack of HW information, use an arbitrary safe value.
> Note: The term transition-latency will be more accurate to define this
> value since the clock transition latency is not the only parameter that
> will define the overall DVFS transition.
> - operating-points = < kHz - uV >
> List of 6 operating points. All of them are using the same voltage
> since DVS is not supported in R-CAR Gen2.
> - clocks
> phandle to the CPU clock source. This clock source is used for all the
> 2 CortexA15 located inside the same cluster.
> Signed-off-by: Gaku Inami <gaku.inami.xw@bp.renesas.com>
> ---
> arch/arm/boot/dts/r8a7791.dtsi | 11 +++++++++++
> 1 file changed, 11 insertions(+)
You're not touching the Koelsch code in this patch, why mention the board
name in the subject?
WBR, Sergei
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 5/7] ARM: dts: r8a7791-koelsch: Add DVFS parameters into cpu0 node for r8a7791
2014-05-29 7:49 [PATCH 5/7] ARM: dts: r8a7791-koelsch: Add DVFS parameters into cpu0 node for r8a7791 Gaku Inami
2014-05-29 16:01 ` Sergei Shtylyov
@ 2014-05-30 0:37 ` Gaku Inami
1 sibling, 0 replies; 3+ messages in thread
From: Gaku Inami @ 2014-05-30 0:37 UTC (permalink / raw)
To: linux-sh
Hi Sergei
Thank you for your comment.
>> Signed-off-by: Gaku Inami <gaku.inami.xw@bp.renesas.com>
>> ---
>> arch/arm/boot/dts/r8a7791.dtsi | 11 +++++++++++
>> 1 file changed, 11 insertions(+)
> You're not touching the Koelsch code in this patch, why mention the board
> name in the subject?
>
The description of subject was not appropriate.
I will fix it.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-05-30 0:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-29 7:49 [PATCH 5/7] ARM: dts: r8a7791-koelsch: Add DVFS parameters into cpu0 node for r8a7791 Gaku Inami
2014-05-29 16:01 ` Sergei Shtylyov
2014-05-30 0:37 ` Gaku Inami
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.