projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bdf6ac
)
watchdog: jz4740: Add support for the watchdog in jz4780 SoC
author
Mathieu Malaterre
<
[email protected]
>
Fri, 15 Sep 2017 19:20:19 +0000
(21:20 +0200)
committer
Wim Van Sebroeck
<
[email protected]
>
Thu, 28 Dec 2017 19:44:44 +0000
(20:44 +0100)
The watchdog unit present in the JZ4780 works the same as the one in the
JZ4740.
Signed-off-by: Mathieu Malaterre <
[email protected]
>
Reviewed-by: Guenter Roeck <
[email protected]
>
Signed-off-by: Guenter Roeck <
[email protected]
>
Signed-off-by: Wim Van Sebroeck <
[email protected]
>
drivers/watchdog/jz4740_wdt.c
patch
|
blob
|
history
diff --git
a/drivers/watchdog/jz4740_wdt.c
b/drivers/watchdog/jz4740_wdt.c
index 20627f22baf6a7004f74218b13152933d902b03b..aafbeb96561b506c1053162eb76f119e110cedbc 100644
(file)
--- 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);