* [PATCH]NUC900 clk enable problem fix
@ 2010-01-22 12:04 Qiang Wang
2010-02-01 8:24 ` Qiang Wang
2010-02-10 2:33 ` Qiang Wang
0 siblings, 2 replies; 4+ messages in thread
From: Qiang Wang @ 2010-01-22 12:04 UTC (permalink / raw)
To: linux-arm-kernel
hello, Wan
There is the patch of nuc900 clk enable problem of timers.
I tested it in 950 env-board, and shell can come correctly.
Signed-off-by: Wang Qiang <rurality.linux@gmail.com>
---
arch/arm/mach-w90x900/cpu.c | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-w90x900/cpu.c b/arch/arm/mach-w90x900/cpu.c
index 20dc0c9..dd8e1fd 100644
--- a/arch/arm/mach-w90x900/cpu.c
+++ b/arch/arm/mach-w90x900/cpu.c
@@ -68,6 +68,11 @@ static DEFINE_CLK(gdma, 27);
static DEFINE_CLK(adc, 28);
static DEFINE_CLK(usi, 29);
static DEFINE_CLK(ext, 0);
+static DEFINE_CLK(timer0, 19);
+static DEFINE_CLK(timer1, 20);
+static DEFINE_CLK(timer2, 21);
+static DEFINE_CLK(timer3, 22);
+static DEFINE_CLK(timer4, 23);
static struct clk_lookup nuc900_clkregs[] = {
DEF_CLKLOOK(&clk_lcd, "nuc900-lcd", NULL),
@@ -90,6 +95,11 @@ static struct clk_lookup nuc900_clkregs[] = {
DEF_CLKLOOK(&clk_adc, "nuc900-adc", NULL),
DEF_CLKLOOK(&clk_usi, "nuc900-spi", NULL),
DEF_CLKLOOK(&clk_ext, NULL, "ext"),
+ DEF_CLKLOOK(&clk_timer0, NULL, "timer0"),
+ DEF_CLKLOOK(&clk_timer1, NULL, "timer1"),
+ DEF_CLKLOOK(&clk_timer2, NULL, "timer2"),
+ DEF_CLKLOOK(&clk_timer3, NULL, "timer3"),
+ DEF_CLKLOOK(&clk_timer4, NULL, "timer4"),
};
/* Initial serial platform data */
--
1.6.6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-fix-the-timer-clk-enable-problem.patch
Type: application/octet-stream
Size: 1179 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20100122/f3e596f0/attachment.obj>
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH]NUC900 clk enable problem fix
2010-01-22 12:04 [PATCH]NUC900 clk enable problem fix Qiang Wang
@ 2010-02-01 8:24 ` Qiang Wang
2010-02-10 2:33 ` Qiang Wang
1 sibling, 0 replies; 4+ messages in thread
From: Qiang Wang @ 2010-02-01 8:24 UTC (permalink / raw)
To: linux-arm-kernel
hello, Dear Wan
please check and ack this patch.
Thank you very much.
best regards
wang qiang
2010/1/22 Qiang Wang <rurality.linux@gmail.com>:
> hello, Wan
>
> ?There is the patch of nuc900 clk enable problem of timers.
> ?I tested it ?in 950 env-board, and shell can come correctly.
>
>
>
> Signed-off-by: Wang Qiang <rurality.linux@gmail.com>
>
> ---
> ?arch/arm/mach-w90x900/cpu.c | ? 10 ++++++++++
> ?1 files changed, 10 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-w90x900/cpu.c b/arch/arm/mach-w90x900/cpu.c
> index 20dc0c9..dd8e1fd 100644
> --- a/arch/arm/mach-w90x900/cpu.c
> +++ b/arch/arm/mach-w90x900/cpu.c
> @@ -68,6 +68,11 @@ static DEFINE_CLK(gdma, 27);
> ?static DEFINE_CLK(adc, 28);
> ?static DEFINE_CLK(usi, 29);
> ?static DEFINE_CLK(ext, 0);
> +static DEFINE_CLK(timer0, 19);
> +static DEFINE_CLK(timer1, 20);
> +static DEFINE_CLK(timer2, 21);
> +static DEFINE_CLK(timer3, 22);
> +static DEFINE_CLK(timer4, 23);
>
> ?static struct clk_lookup nuc900_clkregs[] = {
> ? ? ? ?DEF_CLKLOOK(&clk_lcd, "nuc900-lcd", NULL),
> @@ -90,6 +95,11 @@ static struct clk_lookup nuc900_clkregs[] = {
> ? ? ? ?DEF_CLKLOOK(&clk_adc, "nuc900-adc", NULL),
> ? ? ? ?DEF_CLKLOOK(&clk_usi, "nuc900-spi", NULL),
> ? ? ? ?DEF_CLKLOOK(&clk_ext, NULL, "ext"),
> + ? ? ? DEF_CLKLOOK(&clk_timer0, NULL, "timer0"),
> + ? ? ? DEF_CLKLOOK(&clk_timer1, NULL, "timer1"),
> + ? ? ? DEF_CLKLOOK(&clk_timer2, NULL, "timer2"),
> + ? ? ? DEF_CLKLOOK(&clk_timer3, NULL, "timer3"),
> + ? ? ? DEF_CLKLOOK(&clk_timer4, NULL, "timer4"),
> ?};
>
> ?/* Initial serial platform data */
> --
> 1.6.6
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH]NUC900 clk enable problem fix
2010-01-22 12:04 [PATCH]NUC900 clk enable problem fix Qiang Wang
2010-02-01 8:24 ` Qiang Wang
@ 2010-02-10 2:33 ` Qiang Wang
2010-02-10 4:50 ` [Linux-arm-nuc900] " Wan ZongShun
1 sibling, 1 reply; 4+ messages in thread
From: Qiang Wang @ 2010-02-10 2:33 UTC (permalink / raw)
To: linux-arm-kernel
hi, Mr Russell
please check and ack this patch.
thank you very much.
best regards
Wang Qiang
2010/1/22 Qiang Wang <rurality.linux@gmail.com>:
> hello, Wan
>
> ?There is the patch of nuc900 clk enable problem of timers.
> ?I tested it ?in 950 env-board, and shell can come correctly.
>
>
>
> Signed-off-by: Wang Qiang <rurality.linux@gmail.com>
>
> ---
> ?arch/arm/mach-w90x900/cpu.c | ? 10 ++++++++++
> ?1 files changed, 10 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-w90x900/cpu.c b/arch/arm/mach-w90x900/cpu.c
> index 20dc0c9..dd8e1fd 100644
> --- a/arch/arm/mach-w90x900/cpu.c
> +++ b/arch/arm/mach-w90x900/cpu.c
> @@ -68,6 +68,11 @@ static DEFINE_CLK(gdma, 27);
> ?static DEFINE_CLK(adc, 28);
> ?static DEFINE_CLK(usi, 29);
> ?static DEFINE_CLK(ext, 0);
> +static DEFINE_CLK(timer0, 19);
> +static DEFINE_CLK(timer1, 20);
> +static DEFINE_CLK(timer2, 21);
> +static DEFINE_CLK(timer3, 22);
> +static DEFINE_CLK(timer4, 23);
>
> ?static struct clk_lookup nuc900_clkregs[] = {
> ? ? ? ?DEF_CLKLOOK(&clk_lcd, "nuc900-lcd", NULL),
> @@ -90,6 +95,11 @@ static struct clk_lookup nuc900_clkregs[] = {
> ? ? ? ?DEF_CLKLOOK(&clk_adc, "nuc900-adc", NULL),
> ? ? ? ?DEF_CLKLOOK(&clk_usi, "nuc900-spi", NULL),
> ? ? ? ?DEF_CLKLOOK(&clk_ext, NULL, "ext"),
> + ? ? ? DEF_CLKLOOK(&clk_timer0, NULL, "timer0"),
> + ? ? ? DEF_CLKLOOK(&clk_timer1, NULL, "timer1"),
> + ? ? ? DEF_CLKLOOK(&clk_timer2, NULL, "timer2"),
> + ? ? ? DEF_CLKLOOK(&clk_timer3, NULL, "timer3"),
> + ? ? ? DEF_CLKLOOK(&clk_timer4, NULL, "timer4"),
> ?};
>
> ?/* Initial serial platform data */
> --
> 1.6.6
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Linux-arm-nuc900] Re: [PATCH]NUC900 clk enable problem fix
2010-02-10 2:33 ` Qiang Wang
@ 2010-02-10 4:50 ` Wan ZongShun
0 siblings, 0 replies; 4+ messages in thread
From: Wan ZongShun @ 2010-02-10 4:50 UTC (permalink / raw)
To: linux-arm-kernel
Acked.
? 2010?2?10? ??10:33?Qiang Wang <rurality.linux@gmail.com> ???
> hi, Mr Russell
>
> please check and ack this patch.
>
> thank you very much.
>
> best regards
> Wang Qiang
>
> 2010/1/22 Qiang Wang <rurality.linux@gmail.com>:
>> hello, Wan
>>
>> ?There is the patch of nuc900 clk enable problem of timers.
>> ?I tested it ?in 950 env-board, and shell can come correctly.
>>
>>
>>
>> Signed-off-by: Wang Qiang <rurality.linux@gmail.com>
>>
>> ---
>> ?arch/arm/mach-w90x900/cpu.c | ? 10 ++++++++++
>> ?1 files changed, 10 insertions(+), 0 deletions(-)
>>
>> diff --git a/arch/arm/mach-w90x900/cpu.c b/arch/arm/mach-w90x900/cpu.c
>> index 20dc0c9..dd8e1fd 100644
>> --- a/arch/arm/mach-w90x900/cpu.c
>> +++ b/arch/arm/mach-w90x900/cpu.c
>> @@ -68,6 +68,11 @@ static DEFINE_CLK(gdma, 27);
>> ?static DEFINE_CLK(adc, 28);
>> ?static DEFINE_CLK(usi, 29);
>> ?static DEFINE_CLK(ext, 0);
>> +static DEFINE_CLK(timer0, 19);
>> +static DEFINE_CLK(timer1, 20);
>> +static DEFINE_CLK(timer2, 21);
>> +static DEFINE_CLK(timer3, 22);
>> +static DEFINE_CLK(timer4, 23);
>>
>> ?static struct clk_lookup nuc900_clkregs[] = {
>> ? ? ? ?DEF_CLKLOOK(&clk_lcd, "nuc900-lcd", NULL),
>> @@ -90,6 +95,11 @@ static struct clk_lookup nuc900_clkregs[] = {
>> ? ? ? ?DEF_CLKLOOK(&clk_adc, "nuc900-adc", NULL),
>> ? ? ? ?DEF_CLKLOOK(&clk_usi, "nuc900-spi", NULL),
>> ? ? ? ?DEF_CLKLOOK(&clk_ext, NULL, "ext"),
>> + ? ? ? DEF_CLKLOOK(&clk_timer0, NULL, "timer0"),
>> + ? ? ? DEF_CLKLOOK(&clk_timer1, NULL, "timer1"),
>> + ? ? ? DEF_CLKLOOK(&clk_timer2, NULL, "timer2"),
>> + ? ? ? DEF_CLKLOOK(&clk_timer3, NULL, "timer3"),
>> + ? ? ? DEF_CLKLOOK(&clk_timer4, NULL, "timer4"),
>> ?};
>>
>> ?/* Initial serial platform data */
>> --
>> 1.6.6
>>
>
> --
> ????"NUC900 Linux BSP????".
> NUC900 Linux????????????
> NUC900 at googlegroups.com
> ?????????
> NUC900+unsubscribe at googlegroups.com
> ??????????
> https://groups.google.com/group/NUC900?hl=zh-CN
>
--
*linux-arm-kernel mailing list
mail addr:linux-arm-kernel at lists.infradead.org
you can subscribe by:
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
* linux-arm-NUC900 mailing list
mail addr:NUC900 at googlegroups.com
main web: https://groups.google.com/group/NUC900
you can subscribe it by sending me mail:
mcuos.com at gmail.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-02-10 4:50 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-22 12:04 [PATCH]NUC900 clk enable problem fix Qiang Wang
2010-02-01 8:24 ` Qiang Wang
2010-02-10 2:33 ` Qiang Wang
2010-02-10 4:50 ` [Linux-arm-nuc900] " Wan ZongShun
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).