Devicetree
 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
       [not found] ` <CACna6rwRzw1fo2_DyV3T4fa4+cA3=LTcFHRpRsfZWwR2ugQn_w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 2 replies; 7+ messages in thread
From: Rafał Miłecki @ 2014-03-29 11:54 UTC (permalink / raw)
  To: linux-watchdog-u79uwXL29TY76Z2rM5mHXA, Alexander Shiyan,
	Florian Fainelli
  Cc: devicetree-u79uwXL29TY76Z2rM5mHXA, 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ł
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2014-04-01  0:13 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
     [not found]   ` <1396096185.560264234-mjcJgDj8AytsdVUOrk1QfQ@public.gmane.org>
2014-03-29 13:16     ` Hauke Mehrtens
     [not found]       ` <5336C7B8.90707-5/S+JYg5SzeELgA04lAiVw@public.gmane.org>
2014-03-29 13:33         ` Alexander Shiyan
     [not found]           ` <1396100017.585010881-zErZ3GTiYPVsdVUOrk1QfQ@public.gmane.org>
2014-03-29 13:51             ` Rafał Miłecki
     [not found]               ` <CACna6rw5eryfe_yFzUs4oTv697LudngogmdOJNK-P8Qq12fJLQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-03-29 13:56                 ` Alexander Shiyan
     [not found] ` <CACna6rwRzw1fo2_DyV3T4fa4+cA3=LTcFHRpRsfZWwR2ugQn_w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
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