Skip to contentSkip to conversation

Watchdog: Adding support for ARM Primecell SP805 Watchdog

PATCH RESEND In review Viresh KUMAR 3 participants 11 messages Jun 2, 2010 – Aug 4, 2010 Watchdog device drivers

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 Watchdog: Adding support for ARM Primecell SP805 Watchdog

Technical Reference Manual can be found at:
http://infocenter.arm.com/help/topic/com.arm.doc.ddi0270b/DDI0270.pdf

---
 drivers/watchdog/Kconfig     |    7 +
 drivers/watchdog/Makefile    |    1 +
 drivers/watchdog/sp805_wdt.c |  386 ++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 394 insertions(+), 0 deletions(-)
 create mode 100644 drivers/watchdog/sp805_wdt.c
drivers/watchdog/Kconfig +7 -0
index b87ba23..2759a91 100644
@@ -73,6 +73,13 @@ config WM8350_WATCHDOG
 
 # ARM Architecture
 
+config ARM_SP805_WATCHDOG
+	tristate "ARM SP805 Watchdog"
+	depends on ARM_AMBA
+	help
+	  ARM Primecell SP805 Watchdog timer. This will reboot your system when
+	  the timeout is reached.
+
 config AT91RM9200_WATCHDOG
 	tristate "AT91RM9200 watchdog"
 	depends on ARCH_AT91RM9200
drivers/watchdog/Makefile +1 -0
index 5e3cb95..28af87a 100644
@@ -25,6 +25,7 @@ obj-$(CONFIG_USBPCWATCHDOG) += pcwd_usb.o
 # ALPHA Architecture
 
 # ARM Architecture
+obj-$(CONFIG_ARM_SP805_WATCHDOG) += sp805_wdt.o
 obj-$(CONFIG_AT91RM9200_WATCHDOG) += at91rm9200_wdt.o
 obj-$(CONFIG_AT91SAM9X_WATCHDOG) += at91sam9_wdt.o
 obj-$(CONFIG_OMAP_WATCHDOG) += omap_wdt.o
drivers/watchdog/sp805_wdt.c new file +386 -0

386 lines not on this page · raw message

Signature · 1 line
1.6.0.2
#1 lore raw
Quoted 11 lines · Viresh KUMAR

Technical Reference Manual can be found at:
http://infocenter.arm.com/help/topic/com.arm.doc.ddi0270b/DDI0270.pdf

---
 drivers/watchdog/Kconfig     |    7 +
 drivers/watchdog/Makefile    |    1 +
 drivers/watchdog/sp805_wdt.c |  386 ++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 394 insertions(+), 0 deletions(-)
 create mode 100644 drivers/watchdog/sp805_wdt.c

Wim,

Is this patch fine or do i need to send V2?

viresh.

#2 lore raw

Hi Viresh,

Still need to look at it. First finishing up another project. Probably for this weekend.

Kind regards,
Wim.

Quoted 18 lines · Viresh KUMAR
Quoted 11 lines

Technical Reference Manual can be found at:
http://infocenter.arm.com/help/topic/com.arm.doc.ddi0270b/DDI0270.pdf

---
 drivers/watchdog/Kconfig     |    7 +
 drivers/watchdog/Makefile    |    1 +
 drivers/watchdog/sp805_wdt.c |  386 ++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 394 insertions(+), 0 deletions(-)
 create mode 100644 drivers/watchdog/sp805_wdt.c

Wim,

Is this patch fine or do i need to send V2?

viresh.

#3 lore raw
Quoted 8 lines · Wim Van Sebroeck

Hi Viresh,

Still need to look at it. First finishing up another project. Probably for this weekend.

Kind regards,
Wim.

Wim,

Have you reviewed this patch or still need to look at it?

viresh.

#4 lore raw

Hi Viresh,

Quoted 10 lines
Quoted 6 lines

Still need to look at it. First finishing up another project. Probably for this weekend.

Kind regards,
Wim.

Wim,

Have you reviewed this patch or still need to look at it?

I'm chasing another bug and must admit I almost forgot about this one. So, yes, I still need to look at this one.

Kind regards,
Wim.

#5 lore raw
Quoted 9 lines · Wim Van Sebroeck

Hi Viresh,

Quoted 7 lines
Quoted 6 lines

Still need to look at it. First finishing up another project. Probably for this weekend.

Kind regards,
Wim.

Quoted 6 lines
Quoted 3 lines

Wim,

Have you reviewed this patch or still need to look at it?

I'm chasing another bug and must admit I almost forgot about this one. So, yes, I still need to look at this one.

Any news on this - its still sitting in the patch system since May 31st... What do I do about it?

#6 lore raw

Hi All,

Quoted 5 lines
Quoted 2 lines

I'm chasing another bug and must admit I almost forgot about this one. So, yes, I still need to look at this one.

Any news on this - its still sitting in the patch system since May 31st... What do I do about it?

The bug was finally fixed and all other code testing that had to be done is also completed since today. I'll have a look at it later this week.

Kind regards,
Wim.

#7 lore raw
In reply to Russell King - ARM Linux

Hi All,

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

Have you reviewed this patch or still need to look at it?

I'm chasing another bug and must admit I almost forgot about this one. So, yes, I still need to look at this one.

Any news on this - its still sitting in the patch system since May 31st... What do I do about it?

Patch looks OK. Will add it to my linux-2.6-watchdog-next tree this week.

Kind regards,
Wim.

#8 lore raw
Quoted 10 lines · Wim Van Sebroeck

Hi All,

Quoted 7 lines
Quoted 7 lines
Quoted 4 lines
Quoted 4 lines
Quoted 1 line
Quoted 1 line

Have you reviewed this patch or still need to look at it?

I'm chasing another bug and must admit I almost forgot about this one. So, yes, I still need to look at this one.

Any news on this - its still sitting in the patch system since May 31st... What do I do about it?

Patch looks OK. Will add it to my linux-2.6-watchdog-next tree this week.

Wim,

I will send V2 of this patch, which will include modification as suggested by Linus walleij.

Viresh.

#9 lore raw

Hi Viresh,

Quoted 2 lines

I will send V2 of this patch, which will include modification as suggested by Linus walleij.

After the discussion about the division: will there be a V2 of this patch or will V1 remain?

Kind regards,
Wim.

#10 lore raw

Hi Wim,

Quoted 1 line

After the discussion about the division: will there be a V2 of this patch or will V1 remain?

Yes, i will send V2 of this patch.
There is one change, inclusion of slab.h.

viresh.