* [PATCH] ARM: S3C6410: Add some lower frequencies for 800MHz base clock operation
@ 2011-04-28 15:26 Mark Brown
2011-05-06 4:58 ` Kukjin Kim
0 siblings, 1 reply; 3+ messages in thread
From: Mark Brown @ 2011-04-28 15:26 UTC (permalink / raw)
To: linux-arm-kernel
By extension from the 667MHz based clocks currently supported add 100MHz
and 200MHz operating points. Due to a lack of documentation these have not
been confirmed as supported but by extension from the existing frequencies
they should be OK and there is less risk than with the previuus patch for
800MHz operation.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
In spite of the commit log this is based on top of the previous patch.
arch/arm/mach-s3c64xx/cpufreq.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-s3c64xx/cpufreq.c b/arch/arm/mach-s3c64xx/cpufreq.c
index db722a5..1e7df30 100644
--- a/arch/arm/mach-s3c64xx/cpufreq.c
+++ b/arch/arm/mach-s3c64xx/cpufreq.c
@@ -37,7 +37,9 @@ static struct s3c64xx_dvfs s3c64xx_dvfs_table[] = {
static struct cpufreq_frequency_table s3c64xx_freq_table[] = {
{ 0, 66000 },
+ { 0, 100000 },
{ 0, 133000 },
+ { 1, 200000 },
{ 1, 222000 },
{ 1, 266000 },
{ 2, 333000 },
--
1.7.4.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH] ARM: S3C6410: Add some lower frequencies for 800MHz base clock operation
2011-04-28 15:26 [PATCH] ARM: S3C6410: Add some lower frequencies for 800MHz base clock operation Mark Brown
@ 2011-05-06 4:58 ` Kukjin Kim
2011-05-06 9:45 ` Mark Brown
0 siblings, 1 reply; 3+ messages in thread
From: Kukjin Kim @ 2011-05-06 4:58 UTC (permalink / raw)
To: linux-arm-kernel
Mark Brown wrote:
>
> By extension from the 667MHz based clocks currently supported add 100MHz
> and 200MHz operating points. Due to a lack of documentation these have not
> been confirmed as supported but by extension from the existing frequencies
> they should be OK and there is less risk than with the previuus patch for
> 800MHz operation.
>
> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
> ---
>
> In spite of the commit log this is based on top of the previous patch.
>
> arch/arm/mach-s3c64xx/cpufreq.c | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-s3c64xx/cpufreq.c b/arch/arm/mach-
> s3c64xx/cpufreq.c
> index db722a5..1e7df30 100644
> --- a/arch/arm/mach-s3c64xx/cpufreq.c
> +++ b/arch/arm/mach-s3c64xx/cpufreq.c
> @@ -37,7 +37,9 @@ static struct s3c64xx_dvfs s3c64xx_dvfs_table[] = {
>
> static struct cpufreq_frequency_table s3c64xx_freq_table[] = {
> { 0, 66000 },
> + { 0, 100000 },
> { 0, 133000 },
> + { 1, 200000 },
> { 1, 222000 },
> { 1, 266000 },
> { 2, 333000 },
> --
Hmm, I'm not sure this should be OK...because guided(or tested?) dvfs level
is following for 800Mhz.
L3: 133, L2: 266, L1: 400 and L0: 800.
And I couldn't find about supporting of 100Mhz or 200Mhz in its hw design
guide. Of course, it doesn't mean this is wrong but at least need to check
again.
Thanks.
Best regards,
Kgene.
--
Kukjin Kim <kgene.kim@samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] ARM: S3C6410: Add some lower frequencies for 800MHz base clock operation
2011-05-06 4:58 ` Kukjin Kim
@ 2011-05-06 9:45 ` Mark Brown
0 siblings, 0 replies; 3+ messages in thread
From: Mark Brown @ 2011-05-06 9:45 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, May 06, 2011 at 01:58:21PM +0900, Kukjin Kim wrote:
> Hmm, I'm not sure this should be OK...because guided(or tested?) dvfs level
> is following for 800Mhz.
> L3: 133, L2: 266, L1: 400 and L0: 800.
> And I couldn't find about supporting of 100Mhz or 200Mhz in its hw design
> guide. Of course, it doesn't mean this is wrong but at least need to check
> again.
It appears to work for me in my tests; I've been running my systems like
this since I introduced the change. Since it's the same divisions down
from 800MHz as the existing ones from 667MHz and the part supports
operation down to 66MHz so all the frequencies are well within the
absolute limits I'd be a little surprised if there were any problems.
As I've not yet been able to obtain the design guide I've no idea about
any information it may provide.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-05-06 9:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-28 15:26 [PATCH] ARM: S3C6410: Add some lower frequencies for 800MHz base clock operation Mark Brown
2011-05-06 4:58 ` Kukjin Kim
2011-05-06 9:45 ` Mark Brown
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).