mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 4/5] watchdog: jz4740: Add support for the watchdog in jz4780 SoC
@ 2017-09-15 19:20 Mathieu Malaterre
  2017-09-15 22:42 ` Guenter Roeck
  0 siblings, 1 reply; 3+ messages in thread
From: Mathieu Malaterre @ 2017-09-15 19:20 UTC (permalink / raw)
  Cc: Zubair Lutfullah Kakakhel, Mathieu Malaterre, Wim Van Sebroeck,
	Guenter Roeck, linux-watchdog, linux-kernel

The watchdog unit present in the JZ4780 works the same as the one in the
JZ4740.

Signed-off-by: Mathieu Malaterre <malat@debian.org>
---
Changes in v2:
* do not re-use the compatible string for different SoC (Paul Cercueil)

 drivers/watchdog/jz4740_wdt.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/watchdog/jz4740_wdt.c b/drivers/watchdog/jz4740_wdt.c
index 20627f22baf6..aafbeb96561b 100644
--- a/drivers/watchdog/jz4740_wdt.c
+++ b/drivers/watchdog/jz4740_wdt.c
@@ -146,6 +146,7 @@ static const struct watchdog_ops jz4740_wdt_ops = {
 #ifdef CONFIG_OF
 static const struct of_device_id jz4740_wdt_of_matches[] = {
 	{ .compatible = "ingenic,jz4740-watchdog", },
+	{ .compatible = "ingenic,jz4780-watchdog", },
 	{ /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, jz4740_wdt_of_matches);
-- 
2.11.0

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

end of thread, other threads:[~2017-09-18 10:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-15 19:20 [PATCH v2 4/5] watchdog: jz4740: Add support for the watchdog in jz4780 SoC Mathieu Malaterre
2017-09-15 22:42 ` Guenter Roeck
2017-09-18 10:00   ` Mathieu Malaterre

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

all inboxes | Powered by JetHome®