Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

watchdog: it87_wdt: add IT8783 ID

IT8783 watchdog works as in IT872x

Tested on Adlink cPCI-6520 boards

Signed-off-by: Paolo Teti <paolo.teti@gmail.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>

authored by

Paolo Teti and committed by
Wim Van Sebroeck
f83918fb 4bd8ce33

+4 -2
+4 -2
drivers/watchdog/it87_wdt.c
··· 12 12 * http://www.ite.com.tw/ 13 13 * 14 14 * Support of the watchdog timers, which are available on 15 - * IT8702, IT8712, IT8716, IT8718, IT8720, IT8721, IT8726 16 - * and IT8728. 15 + * IT8702, IT8712, IT8716, IT8718, IT8720, IT8721, IT8726, 16 + * IT8728 and IT8783. 17 17 * 18 18 * This program is free software; you can redistribute it and/or 19 19 * modify it under the terms of the GNU General Public License ··· 87 87 #define IT8721_ID 0x8721 88 88 #define IT8726_ID 0x8726 /* the data sheet suggest wrongly 0x8716 */ 89 89 #define IT8728_ID 0x8728 90 + #define IT8783_ID 0x8783 90 91 91 92 /* GPIO Configuration Registers LDN=0x07 */ 92 93 #define WDTCTRL 0x71 ··· 634 633 case IT8720_ID: 635 634 case IT8721_ID: 636 635 case IT8728_ID: 636 + case IT8783_ID: 637 637 max_units = 65535; 638 638 try_gameport = 0; 639 639 break;