Skip to contentSkip to conversation

NUC900: add timer 0-4 clk enabling definition

PATCH New Wan ZongShun 2 participants 3 messages Dec 23, 2009 – Jan 22, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 NUC900: add timer 0-4 clk enabling definition

Dear sirs,

Li Jie, please re-make your previous patch relative to this.

---
 arch/arm/mach-w90x900/cpu.c |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
arch/arm/mach-w90x900/cpu.c +11 -0
index 20dc0c9..1192424 100644
@@ -61,6 +61,11 @@ static DEFINE_CLK(usbd, 8);
 static DEFINE_CLK(usbh, 9);
 static DEFINE_CLK(g2d, 10);;
 static DEFINE_CLK(pwm, 18);
+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 DEFINE_CLK(ps2, 24);
 static DEFINE_CLK(kpi, 25);
 static DEFINE_CLK(wdt, 26);
@@ -90,6 +95,12 @@ 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 */
Signature · 1 line
1.5.6.3
#1 lore raw

PATCH 1/1 NUC900: add timer 0-4 clk enabling definition

hello, all
This patch was lost.
It makes our system crash.

To Wan
Can you re-patch it again?
If you do not have time, I can do it for you.

wangqiang

2009/12/23 Wan ZongShun <[email protected]>:

Quoted 49 lines

Dear sirs,

Li Jie, please re-make your previous patch relative to this.

---
?arch/arm/mach-w90x900/cpu.c | ? 11 +++++++++++ ?1 files changed, 11 insertions(+), 0 deletions(-)

arch/arm/mach-w90x900/cpu.c +11 -0
index 20dc0c9..1192424 100644
@@ -61,6 +61,11 @@ static DEFINE_CLK(usbd, 8);
 ?static DEFINE_CLK(usbh, 9);
 ?static DEFINE_CLK(g2d, 10);;
 ?static DEFINE_CLK(pwm, 18);
+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 DEFINE_CLK(ps2, 24);
 ?static DEFINE_CLK(kpi, 25);
 ?static DEFINE_CLK(wdt, 26);
@@ -90,6 +95,12 @@ 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.5.6.3

--
????"NUC900 Linux BSP?????????".
????NUC900 Linux????????????
NUC900 at googlegroups.com
?????????
NUC900+unsubscribe at googlegroups.com

#2 lore raw

PATCH 1/1 NUC900: add timer 0-4 clk enabling definition

2010/1/22 Qiang Wang <[email protected]>:

Quoted 7 lines

hello, all
?This patch was lost.
?It makes our system crash.

To Wan
?Can you re-patch it again?
?If you do not have time, I can do it for you.

Okay, please.

Quoted 53 lines

wangqiang

2009/12/23 Wan ZongShun <[email protected]>:

Quoted 49 lines

Dear sirs,

Li Jie, please re-make your previous patch relative to this.

---
?arch/arm/mach-w90x900/cpu.c | ? 11 +++++++++++ ?1 files changed, 11 insertions(+), 0 deletions(-)

arch/arm/mach-w90x900/cpu.c +11 -0
index 20dc0c9..1192424 100644
@@ -61,6 +61,11 @@ static DEFINE_CLK(usbd, 8);
 ?static DEFINE_CLK(usbh, 9);
 ?static DEFINE_CLK(g2d, 10);;
 ?static DEFINE_CLK(pwm, 18);
+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 DEFINE_CLK(ps2, 24);
 ?static DEFINE_CLK(kpi, 25);
 ?static DEFINE_CLK(wdt, 26);
@@ -90,6 +95,12 @@ 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.5.6.3

--
????"NUC900 Linux BSP?????????".
????NUC900 Linux????????????
NUC900 at googlegroups.com
?????????
NUC900+unsubscribe at googlegroups.com

Signature · 10 lines
*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