Couple of SA11x0 cpufreq fixes
Subsystems (2)
cover Couple of SA11x0 cpufreq fixes
Hi!
Here's couple of simple sa11x0 cpufreq-related fixes:
Dmitry Artamonow (2):
SA1100: fix wrong CPU type for h3100 and h3600
SA1100: add processor check to sa1110-cpufreq driver
arch/arm/mach-sa1100/Kconfig | 4 ++-- arch/arm/mach-sa1100/cpu-sa1110.c | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-)
PATCH 1/2 SA1100: fix wrong CPU type for h3100 and h3600
They have StrongARM SA1110, not SA1100.
--- arch/arm/mach-sa1100/Kconfig | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
arch/arm/mach-sa1100/Kconfig +2 -2
@@ -57,7 +57,7 @@ config SA1100_COLLIE config SA1100_H3100 bool "Compaq iPAQ H3100" select HTC_EGPIO - select CPU_FREQ_SA1100 + select CPU_FREQ_SA1110 help Say Y here if you intend to run this kernel on the Compaq iPAQ H3100 handheld computer. Information about this machine and the
@@ -68,7 +68,7 @@ config SA1100_H3100 config SA1100_H3600 bool "Compaq iPAQ H3600/H3700" select HTC_EGPIO - select CPU_FREQ_SA1100 + select CPU_FREQ_SA1110 help Say Y here if you intend to run this kernel on the Compaq iPAQ H3600 handheld computer. Information about this machine and the
Signature · 1 line
1.7.0.4
PATCH 1/2 SA1100: fix wrong CPU type for h3100 and h3600
Quoted 3 lines · Dmitry Artamonow
They have StrongARM SA1110, not SA1100.
Signed-off-by Dmitry Artamonow <[email protected]>
Looks correct to me.
Quoted 35 lines
---
?arch/arm/mach-sa1100/Kconfig | ? ?4 ++--
?1 files changed, 2 insertions(+), 2 deletions(-)arch/arm/mach-sa1100/Kconfig +0
-0@@ -57,7 +57,7 @@ config SA1100_COLLIE?config
SA1100_H3100
? ? ? ?bool "Compaq iPAQ H3100"
? ? ? ?selectHTC_EGPIO
- ? ? ? selectCPU_FREQ_SA1100
+ ? ? ? selectCPU_FREQ_SA1110
? ? ? ?help
? ? ? ? ?Say Y here if you intend to run this kernel on the Compaq iPAQ ? ? ? ? ?H3100 handheld computer. ?Information about this machine and thearch/arm/mach-sa1100/Kconfig +0
-0@@ -68,7 +68,7 @@ config SA1100_H3100?config
SA1100_H3600
? ? ? ?bool "Compaq iPAQ H3600/H3700"
? ? ? ?selectHTC_EGPIO
- ? ? ? selectCPU_FREQ_SA1100
+ ? ? ? selectCPU_FREQ_SA1110
? ? ? ?help
? ? ? ? ?Say Y here if you intend to run this kernel on the Compaq iPAQ ? ? ? ? ?H3600 handheld computer. ?Information about this machine and the --
1.7.0.4_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
PATCH 1/2 SA1100: fix wrong CPU type for h3100 and h3600
In reply to Dmitry ArtamonowQuoted 32 lines · On Wed, 21 Apr 2010 22:49:08 +0400 Dmitry Artamonow <[email protected]> wrote:
They have StrongARM SA1110, not SA1100.
Signed-off-by Dmitry Artamonow <[email protected]>--- arch/arm/mach-sa1100/Kconfig | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)arch/arm/mach-sa1100/Kconfig +2
-2@@ -57,7 +57,7 @@ config SA1100_COLLIE config SA1100_H3100 bool "Compaq iPAQ H3100" select HTC_EGPIO - select CPU_FREQ_SA1100 + select CPU_FREQ_SA1110 help Say Y here if you intend to run this kernel on the Compaq iPAQ H3100 handheld computer. Information about this machine and the@@ -68,7 +68,7 @@ config SA1100_H3100 config SA1100_H3600 bool "Compaq iPAQ H3600/H3700" select HTC_EGPIO - select CPU_FREQ_SA1100 + select CPU_FREQ_SA1110 help Say Y here if you intend to run this kernel on the Compaq iPAQ H3600 handheld computer. Information about this machine and theSignature · 1 line
1.7.0.4
Signature · 1 line
Kristoffer Ericson <[email protected]>
PATCH 2/2 SA1100: add processor check to sa1110-cpufreq driver
In reply to Dmitry ArtamonowJust to make sure that this driver won't run on StrongArm SA1100 when both SA1100 and SA1110 cpufreq drivers are built in (usually in multimachine config). SA1100 driver already has similar check.
--- arch/arm/mach-sa1100/cpu-sa1110.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
arch/arm/mach-sa1100/cpu-sa1110.c +3 -0
@@ -363,6 +363,9 @@ static int __init sa1110_clk_init(void)struct sdram_params *sdram;const char *name = sdram_name; +if (!cpu_is_sa1110 ()) +return -ENODEV ; +if (!name[0 ]) {if (machine_is_assabet ()) name ="TC59SM716-CL3" ;
Signature · 1 line
1.7.0.4
PATCH 2/2 SA1100: add processor check to sa1110-cpufreq driver
Quoted 5 lines · Dmitry Artamonow
Just to make sure that this driver won't run on StrongArm SA1100 when both SA1100 and SA1110 cpufreq drivers are built in (usually in multimachine config). SA1100 driver already has similar check.
Signed-off-by Dmitry Artamonow <[email protected]>
Looks correct to me as well.
Quoted 27 lines
---
?arch/arm/mach-sa1100/cpu-sa1110.c | ? ?3 +++
?1 files changed, 3 insertions(+), 0 deletions(-)arch/arm/mach-sa1100/cpu-sa1110.c +3
-1@@ -363,6 +363,9 @@ static int __init sa1110_clk_init(void) ? ? ? ?struct sdram_params *sdram; ? ? ? ?const char *name = sdram_name; + ? ? ? if (!cpu_is_sa1110()) + ? ? ? ? ? ? ? return -ENODEV; + ? ? ? ?if (!name[0]) { ? ? ? ? ? ? ? ?if (machine_is_assabet()) ? ? ? ? ? ? ? ? ? ? ? ?name = "TC59SM716-CL3"; --1.7.0.4
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
PATCH 2/2 SA1100: add processor check to sa1110-cpufreq driver
In reply to Dmitry ArtamonowQuoted 26 lines · On Wed, 21 Apr 2010 22:49:09 +0400 Dmitry Artamonow <[email protected]> wrote:
Just to make sure that this driver won't run on StrongArm SA1100 when both SA1100 and SA1110 cpufreq drivers are built in (usually in multimachine config). SA1100 driver already has similar check.
Signed-off-by Dmitry Artamonow <[email protected]>--- arch/arm/mach-sa1100/cpu-sa1110.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)arch/arm/mach-sa1100/cpu-sa1110.c +3
-0@@ -363,6 +363,9 @@ static int __init sa1110_clk_init(void)struct sdram_params *sdram;const char *name = sdram_name; +if (!cpu_is_sa1110 ()) +return -ENODEV ; +if (!name[0 ]) {if (machine_is_assabet ()) name ="TC59SM716-CL3" ;Signature · 1 line
1.7.0.4
Signature · 1 line
Kristoffer Ericson <[email protected]>