Linux Watchdog driver development
 help / color / mirror / Atom feed
* Extending wdt-gpio to be used on non-of (no DT) platforms
@ 2014-03-29 11:54 Rafał Miłecki
  2014-03-29 12:29 ` Alexander Shiyan
  2014-04-01  0:13 ` Guenter Roeck
  0 siblings, 2 replies; 7+ messages in thread
From: Rafał Miłecki @ 2014-03-29 11:54 UTC (permalink / raw)
  To: linux-watchdog, Alexander Shiyan, Florian Fainelli
  Cc: devicetree, Wim Van Sebroeck, Rob Herring, Pawel Moll,
	Mark Rutland, Stephen Warren, Ian Campbell, Grant Likely,
	Hauke Mehrtens

Hi guys,

I've noticed gpio_wdt was added to the kernel to support some devices
based on devicetree.
We used to have our own (not mainlined) gpio_wdt in OpenWrt project:
http://git.openwrt.org/?p=openwrt.git;a=blob;f=target/linux/generic/patches-3.10/990-gpio_wdt.patch;hb=HEAD

The main difference is that the mainlined one uses OF, while OpenWrt's
one uses plain platform API (with struct gpio_wdt_platform_data).

I wanted to bring a topic of mainlining OpenWrt's solution. We
definitely need that and at the same time our device(s) don't use OF /
DT.

Do you think we should extend wdt-gpio to handle that? Or do you think
this driver is so small, it's not worth it and we should submit a
separated one?

Apart from API being used, one other difference I see is OpenWrt
supports different values for "first tick" and "interval". But that
could be easily handled.

-- 
Rafał

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-04-01  0:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-29 11:54 Extending wdt-gpio to be used on non-of (no DT) platforms Rafał Miłecki
2014-03-29 12:29 ` Alexander Shiyan
2014-03-29 13:16   ` Hauke Mehrtens
2014-03-29 13:33     ` Alexander Shiyan
2014-03-29 13:51       ` Rafał Miłecki
2014-03-29 13:56         ` Alexander Shiyan
2014-04-01  0:13 ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox