summaryrefslogtreecommitdiff
path: root/drivers/watchdog/it87_wdt.c
diff options
context:
space:
mode:
authorVincent Prince <Vincent.PRINCE.fr@gmail.com>2020-01-23 17:05:44 +0300
committerWim Van Sebroeck <wim@linux-watchdog.org>2020-01-27 17:55:47 +0300
commit6ae58eecad31362f5caa0bd44ff7e78fbac391dd (patch)
tree15293938357a9fc888343191d496a34d15e73a46 /drivers/watchdog/it87_wdt.c
parente7046df873548bfc87c0c594ca473226c5d3317b (diff)
downloadlinux-6ae58eecad31362f5caa0bd44ff7e78fbac391dd.tar.xz
watchdog: it87_wdt: add IT8786 ID
IT8786 watchdog works as in IT872x Tested on VECOW ECS-9000 board. Signed-off-by: Vincent Prince <Vincent.PRINCE.fr@gmail.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/20200123140544.25937-1-vincent.prince.fr@gmail.com Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'drivers/watchdog/it87_wdt.c')
-rw-r--r--drivers/watchdog/it87_wdt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/watchdog/it87_wdt.c b/drivers/watchdog/it87_wdt.c
index a4b71ebc8cab..f3bf3ea50e39 100644
--- a/drivers/watchdog/it87_wdt.c
+++ b/drivers/watchdog/it87_wdt.c
@@ -67,6 +67,7 @@
#define IT8726_ID 0x8726 /* the data sheet suggest wrongly 0x8716 */
#define IT8728_ID 0x8728
#define IT8783_ID 0x8783
+#define IT8786_ID 0x8786
/* GPIO Configuration Registers LDN=0x07 */
#define WDTCTRL 0x71
@@ -294,6 +295,7 @@ static int __init it87_wdt_init(void)
case IT8721_ID:
case IT8728_ID:
case IT8783_ID:
+ case IT8786_ID:
max_units = 65535;
break;
case IT8705_ID: