Skip to contentSkip to conversation

ftwdt010_wdt: support faraday ftwdt010 watchdog

PATCH Superseded Macpaul Lin 3 participants 6 messages Jan 5, 2011 – Feb 10, 2011 Watchdog device drivers

v3 of 6 Superseded Latest is v6 →

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 ftwdt010_wdt: support faraday ftwdt010 watchdog

Faraday ftwdt010 watchdog is an architecture independant watchdog. It is usaually used in SoC chip design.

---
Change v2:
Fix the wrong title of ftwdt010_wdt patch.
Change v3:
Patch v2 was encoded in utf-8. Fixed to ASCII.

 drivers/watchdog/Makefile       |    1 +
 drivers/watchdog/ftwdt010_wdt.c |   95 ++++++++++++++++++++++++++++++++++++++
 drivers/watchdog/ftwdt010_wdt.h |   96 +++++++++++++++++++++++++++++++++++++++
 3 files changed, 192 insertions(+), 0 deletions(-)
 create mode 100644 drivers/watchdog/ftwdt010_wdt.c
 create mode 100644 drivers/watchdog/ftwdt010_wdt.h
drivers/watchdog/Makefile +1 -0
index 6ab4d52..5579bf2 100644
@@ -26,6 +26,7 @@ include $(TOPDIR)/config.mk
 LIB	:= $(obj)libwatchdog.o
 
 COBJS-$(CONFIG_AT91SAM9_WATCHDOG) += at91sam9_wdt.o
+COBJS-$(CONFIG_FTWDT010_WATCHDOG) += ftwdt010_wdt.o
 
 COBJS	:= $(COBJS-y)
 SRCS	:= $(COBJS:.o=.c)
drivers/watchdog/ftwdt010_wdt.c new file +95 -0

95 lines not on this page · raw message

drivers/watchdog/ftwdt010_wdt.h new file +96 -0

96 lines not on this page · raw message

Signature · 1 line
1.7.3.2
#1 lore raw

PATCH v3 1/1 ftwdt010_wdt: support faraday ftwdt010 watchdog

Dear Macpaul Lin,

Quoted 9 lines · In message <[email protected]> you wrote:

Faraday ftwdt010 watchdog is an architecture independant watchdog. It is usaually used in SoC chip design.

---
Change v2:
Fix the wrong title of ftwdt010_wdt patch.
Change v3:
Patch v2 was encoded in utf-8. Fixed to ASCII.

...

Review line 2

Quoted 4 lines

+++ b/drivers/watchdog/ftwdt010_wdt.c

(quoted diff) +2 -0
@@ -0,0 +1,95 @@
+/*
+ * [origin: Linux kernel drivers/watchdog/ftwdt010_wdt.c]

Sorry, but I see only now that this file was derived from Linux. Please note this accordingly in the commit message - see
http://www.denx.de/wiki/view/U-Boot/Patches#Attributing_Code_Copyrights_Sign

Quoted 1 line

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
No man knows what true happiness is until he gets married.  By  then,
of course, its too late.
#2 lore raw

PATCH v3 1/1 ftwdt010_wdt: support faraday ftwdt010 watchdog

Hi Wolfgang,

2011/1/26 Wolfgang Denk <[email protected]>

Quoted 22 lines

Dear Macpaul Lin,

In message <[email protected]> you

Quoted 9 lines · wrote:

Faraday ftwdt010 watchdog is an architecture independant watchdog. It is usaually used in SoC chip design.

---
Change v2:
Fix the wrong title of ftwdt010_wdt patch.
Change v3:
Patch v2 was encoded in utf-8. Fixed to ASCII.

...

Review line 2

Quoted 4 lines

+++ b/drivers/watchdog/ftwdt010_wdt.c

(quoted diff) +2 -0
@@ -0,0 +1,95 @@
+/*
+ * [origin: Linux kernel drivers/watchdog/ftwdt010_wdt.c]

Sorry, but I see only now that this file was derived from Linux. Please note this accordingly in the commit message - see

Quoted 4 lines

http://www.denx.de/wiki/view/U-Boot/Patches#Attributing_Code_Copyrights_Sign

Quoted 1 line

Ah, there is a problem here.

The upstream Linux Kernel source tree has not accept this commit. If the reference driver source (GPL) haven't released to Linux Kernel yet, or the reference source code is just send to Linux Kernel. How do we deal with it?

If the driver source haven't be accepted by Linux kernel, I think I can modify the copyright
statement hence this driver is independent with current Linux Kernel.

Signature · 2 lines
Best regards,
Macpaul Lin
#3 lore raw

PATCH v3 1/1 ftwdt010_wdt: support faraday ftwdt010 watchdog

Dear Macpaul Lin,

Quoted 5 lines · In message <[email protected]> you…
Quoted 5 lines

Sorry, but I see only now that this file was derived from Linux. Please note this accordingly in the commit message - see

http://www.denx.de/wiki/view/U-Boot/Patches#Attributing_Code_Copyrights_Sign

...

Quoted 4 lines

The upstream Linux Kernel source tree has not accept this commit. If the reference driver source (GPL) haven't released to Linux Kernel yet, or the reference source code is just send to Linux Kernel. How do we deal with it?

Maybe you can add a link to the mailing list entry which shows your submission? I think it is in any case interesting to the reader to be able to refer to the Linux driver source as well.

Quoted 3 lines

If the driver source haven't be accepted by Linux kernel, I think I can modify the copyright
statement hence this driver is independent with current Linux Kernel.

Indeed.

Best regards,

Wolfgang Denk

Signature · 6 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
If it happens once, it's a bug.
If it happens twice, it's a feature.
If it happens more than twice, it's a design philosophy.
#4 lore raw

PATCH v3 1/1 ftwdt010_wdt: support faraday ftwdt010 watchdog

Dear Wolfgang

2011/1/26 Wolfgang Denk <[email protected]>

Quoted 3 lines

Dear Macpaul Lin,

[deleted]

Quoted 11 lines

Maybe you can add a link to the mailing list entry which shows your submission? I think it is in any case interesting to the reader to be able to refer to the Linux driver source as well.

Quoted 3 lines

If the driver source haven't be accepted by Linux kernel, I think I can modify the copyright
statement hence this driver is independent with current Linux Kernel.

Indeed.

Since the Linux Driver still under clean up, I will modify the copyright statement
of this driver for u-boot and send patch v3.

Po-Yu: If you were doing the code clean up works for watchdog timer for Linux
Kernel, please keep on doing this work. Since I have no time to deal with Linux
Kernel recently. If you have clean patch of this watchdog driver please commit it, too.

Best regards,
Macpaul Lin

#5 lore raw

PATCH v3 1/1 ftwdt010_wdt: support faraday ftwdt010 watchdog

Dear Wolfgang,

Since the Linux Driver still under clean up, I will modify the copyright

Quoted 4 lines

statement
of this driver for u-boot and send patch v3.

I have modified copyright statement for this patch ftwdt010_wdt v3
http://patchwork.ozlabs.org/patch/77564/
and send patch v4
http://patchwork.ozlabs.org/patch/80490/
about 2 weeks ago.

Just remind you if this method is capable, please apply the new patch. Thanks a lot.

Signature · 2 lines
Best regards,
Macpaul Lin