Skip to contentSkip to conversation

S3C6410: Add some lower frequencies for 800MHz base clock operation

PATCH In review Mark Brown 2 participants 2 messages Jun 29, 2011

Subsystems (2)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 S3C6410: Add some lower frequencies for 800MHz base clock operation

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 I've given them quite a bit of runtime testing.

The major risk is synchronization with the non-ARM clocks but as we can't currently scale the ARM PLL the risk should be relatively low.

---
 drivers/cpufreq/s3c64xx-cpufreq.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
drivers/cpufreq/s3c64xx-cpufreq.c +2 -0
index e818248..b8d1d20 100644
@@ -36,7 +36,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 },
Signature · 1 line
1.7.5.4
Acked-by on v1 1/1
#1 lore raw
Quoted 10 lines · Mark Brown

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 I've given them quite a bit of runtime testing.

The major risk is synchronization with the non-ARM clocks but as we can't currently scale the ARM PLL the risk should be relatively low.

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.

Review

Quoted 5 lines
---
 drivers/cpufreq/s3c64xx-cpufreq.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
(quoted diff) +0 -0

b/drivers/cpufreq/s3c64xx-cpufreq.c

Quoted 15 lines

index e818248..b8d1d20 100644

drivers/cpufreq/s3c64xx-cpufreq.c +2 -1
@@ -36,7 +36,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.5.4