* [PATCH 0/2] Couple of SA11x0 cpufreq fixes
@ 2010-04-21 18:49 Dmitry Artamonow
2010-04-21 18:49 ` [PATCH 1/2] SA1100: fix wrong CPU type for h3100 and h3600 Dmitry Artamonow
2010-04-21 18:49 ` [PATCH 2/2] SA1100: add processor check to sa1110-cpufreq driver Dmitry Artamonow
0 siblings, 2 replies; 7+ messages in thread
From: Dmitry Artamonow @ 2010-04-21 18:49 UTC (permalink / raw)
To: linux-arm-kernel
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(-)
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 1/2] SA1100: fix wrong CPU type for h3100 and h3600
2010-04-21 18:49 [PATCH 0/2] Couple of SA11x0 cpufreq fixes Dmitry Artamonow
@ 2010-04-21 18:49 ` Dmitry Artamonow
2010-04-21 22:10 ` Eric Miao
2010-04-22 9:27 ` Kristoffer Ericson
2010-04-21 18:49 ` [PATCH 2/2] SA1100: add processor check to sa1110-cpufreq driver Dmitry Artamonow
1 sibling, 2 replies; 7+ messages in thread
From: Dmitry Artamonow @ 2010-04-21 18:49 UTC (permalink / raw)
To: linux-arm-kernel
They have StrongARM SA1110, not SA1100.
Signed-off-by: Dmitry Artamonow <mad_soft@inbox.ru>
---
arch/arm/mach-sa1100/Kconfig | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-sa1100/Kconfig b/arch/arm/mach-sa1100/Kconfig
index b17d52f..fd4c52b 100644
--- a/arch/arm/mach-sa1100/Kconfig
+++ b/arch/arm/mach-sa1100/Kconfig
@@ -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
--
1.7.0.4
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 2/2] SA1100: add processor check to sa1110-cpufreq driver
2010-04-21 18:49 [PATCH 0/2] Couple of SA11x0 cpufreq fixes Dmitry Artamonow
2010-04-21 18:49 ` [PATCH 1/2] SA1100: fix wrong CPU type for h3100 and h3600 Dmitry Artamonow
@ 2010-04-21 18:49 ` Dmitry Artamonow
2010-04-21 22:11 ` Eric Miao
2010-04-22 9:26 ` Kristoffer Ericson
1 sibling, 2 replies; 7+ messages in thread
From: Dmitry Artamonow @ 2010-04-21 18:49 UTC (permalink / raw)
To: linux-arm-kernel
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 <mad_soft@inbox.ru>
---
arch/arm/mach-sa1100/cpu-sa1110.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-sa1100/cpu-sa1110.c b/arch/arm/mach-sa1100/cpu-sa1110.c
index 63b32b6..7252874 100644
--- a/arch/arm/mach-sa1100/cpu-sa1110.c
+++ b/arch/arm/mach-sa1100/cpu-sa1110.c
@@ -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
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 1/2] SA1100: fix wrong CPU type for h3100 and h3600
2010-04-21 18:49 ` [PATCH 1/2] SA1100: fix wrong CPU type for h3100 and h3600 Dmitry Artamonow
@ 2010-04-21 22:10 ` Eric Miao
2010-04-22 9:27 ` Kristoffer Ericson
1 sibling, 0 replies; 7+ messages in thread
From: Eric Miao @ 2010-04-21 22:10 UTC (permalink / raw)
To: linux-arm-kernel
On Thu, Apr 22, 2010 at 2:49 AM, Dmitry Artamonow <mad_soft@inbox.ru> wrote:
> They have StrongARM SA1110, not SA1100.
>
> Signed-off-by: Dmitry Artamonow <mad_soft@inbox.ru>
Looks correct to me.
> ---
> ?arch/arm/mach-sa1100/Kconfig | ? ?4 ++--
> ?1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/mach-sa1100/Kconfig b/arch/arm/mach-sa1100/Kconfig
> index b17d52f..fd4c52b 100644
> --- a/arch/arm/mach-sa1100/Kconfig
> +++ b/arch/arm/mach-sa1100/Kconfig
> @@ -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
> --
> 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
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 2/2] SA1100: add processor check to sa1110-cpufreq driver
2010-04-21 18:49 ` [PATCH 2/2] SA1100: add processor check to sa1110-cpufreq driver Dmitry Artamonow
@ 2010-04-21 22:11 ` Eric Miao
2010-04-22 9:26 ` Kristoffer Ericson
1 sibling, 0 replies; 7+ messages in thread
From: Eric Miao @ 2010-04-21 22:11 UTC (permalink / raw)
To: linux-arm-kernel
On Thu, Apr 22, 2010 at 2:49 AM, Dmitry Artamonow <mad_soft@inbox.ru> 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 <mad_soft@inbox.ru>
Looks correct to me as well.
> ---
> ?arch/arm/mach-sa1100/cpu-sa1110.c | ? ?3 +++
> ?1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-sa1100/cpu-sa1110.c b/arch/arm/mach-sa1100/cpu-sa1110.c
> index 63b32b6..7252874 100644
> --- a/arch/arm/mach-sa1100/cpu-sa1110.c
> +++ b/arch/arm/mach-sa1100/cpu-sa1110.c
> @@ -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
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 2/2] SA1100: add processor check to sa1110-cpufreq driver
2010-04-21 18:49 ` [PATCH 2/2] SA1100: add processor check to sa1110-cpufreq driver Dmitry Artamonow
2010-04-21 22:11 ` Eric Miao
@ 2010-04-22 9:26 ` Kristoffer Ericson
1 sibling, 0 replies; 7+ messages in thread
From: Kristoffer Ericson @ 2010-04-22 9:26 UTC (permalink / raw)
To: linux-arm-kernel
Acked-by: Kristoffer Ericson <kristoffer.ericson@gmail.com>
On Wed, 21 Apr 2010 22:49:09 +0400
Dmitry Artamonow <mad_soft@inbox.ru> 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 <mad_soft@inbox.ru>
> ---
> arch/arm/mach-sa1100/cpu-sa1110.c | 3 +++
> 1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-sa1100/cpu-sa1110.c b/arch/arm/mach-sa1100/cpu-sa1110.c
> index 63b32b6..7252874 100644
> --- a/arch/arm/mach-sa1100/cpu-sa1110.c
> +++ b/arch/arm/mach-sa1100/cpu-sa1110.c
> @@ -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
>
--
Kristoffer Ericson <kristoffer.ericson@gmail.com>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 1/2] SA1100: fix wrong CPU type for h3100 and h3600
2010-04-21 18:49 ` [PATCH 1/2] SA1100: fix wrong CPU type for h3100 and h3600 Dmitry Artamonow
2010-04-21 22:10 ` Eric Miao
@ 2010-04-22 9:27 ` Kristoffer Ericson
1 sibling, 0 replies; 7+ messages in thread
From: Kristoffer Ericson @ 2010-04-22 9:27 UTC (permalink / raw)
To: linux-arm-kernel
Acked-by: Kristoffer Ericson <kristoffer.ericson@gmail.com>
On Wed, 21 Apr 2010 22:49:08 +0400
Dmitry Artamonow <mad_soft@inbox.ru> wrote:
> They have StrongARM SA1110, not SA1100.
>
> Signed-off-by: Dmitry Artamonow <mad_soft@inbox.ru>
> ---
> arch/arm/mach-sa1100/Kconfig | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/mach-sa1100/Kconfig b/arch/arm/mach-sa1100/Kconfig
> index b17d52f..fd4c52b 100644
> --- a/arch/arm/mach-sa1100/Kconfig
> +++ b/arch/arm/mach-sa1100/Kconfig
> @@ -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
> --
> 1.7.0.4
>
--
Kristoffer Ericson <kristoffer.ericson@gmail.com>
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2010-04-22 9:27 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-21 18:49 [PATCH 0/2] Couple of SA11x0 cpufreq fixes Dmitry Artamonow
2010-04-21 18:49 ` [PATCH 1/2] SA1100: fix wrong CPU type for h3100 and h3600 Dmitry Artamonow
2010-04-21 22:10 ` Eric Miao
2010-04-22 9:27 ` Kristoffer Ericson
2010-04-21 18:49 ` [PATCH 2/2] SA1100: add processor check to sa1110-cpufreq driver Dmitry Artamonow
2010-04-21 22:11 ` Eric Miao
2010-04-22 9:26 ` Kristoffer Ericson
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).