aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/watchdog
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2020-09-04 23:16:39 +0200
committerWim Van Sebroeck <wim@linux-watchdog.org>2020-10-14 15:22:58 +0200
commitc113739ce5d3b2fcdad3a7b6650dd4bcbf56118a (patch)
tree918fe912ac5a5ae0c2ef3e18df8f4c1a34d0c335 /drivers/watchdog
parentwatchdog: sp5100_tco: Enable watchdog on Family 17h devices if disabled (diff)
downloadlinux-dev-c113739ce5d3b2fcdad3a7b6650dd4bcbf56118a.tar.xz
linux-dev-c113739ce5d3b2fcdad3a7b6650dd4bcbf56118a.zip
watchdog: it87_wdt: add IT8784 ID
IT8784 watchdog works as in IT878x Tested on SHAREVDY K10 board. Signed-off-by: Hanspeter Portner <dev@open-music-kontrollers.ch> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/20200904211639.18787-2-dev@open-music-kontrollers.ch Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'drivers/watchdog')
-rw-r--r--drivers/watchdog/it87_wdt.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/watchdog/it87_wdt.c b/drivers/watchdog/it87_wdt.c
index 2dac0ba551ce..2b4831842162 100644
--- a/drivers/watchdog/it87_wdt.c
+++ b/drivers/watchdog/it87_wdt.c
@@ -15,7 +15,7 @@
* Support of the watchdog timers, which are available on
* IT8607, IT8620, IT8622, IT8625, IT8628, IT8655, IT8665, IT8686,
* IT8702, IT8712, IT8716, IT8718, IT8720, IT8721, IT8726, IT8728,
- * IT8772 and IT8783.
+ * IT8772, IT8783 and IT8784.
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
@@ -68,6 +68,7 @@
#define IT8728_ID 0x8728
#define IT8772_ID 0x8772
#define IT8783_ID 0x8783
+#define IT8784_ID 0x8784
#define IT8786_ID 0x8786
/* GPIO Configuration Registers LDN=0x07 */
@@ -297,6 +298,7 @@ static int __init it87_wdt_init(void)
case IT8728_ID:
case IT8772_ID:
case IT8783_ID:
+ case IT8784_ID:
case IT8786_ID:
max_units = 65535;
break;