diff options
author | Paolo Teti <paolo.teti@gmail.com> | 2014-10-19 15:39:33 -0400 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2015-02-17 15:32:08 -0500 |
commit | f83918fb5cb0fd257fd05d588e0c0b3472ef18b0 (patch) | |
tree | 94d9d24e64ea2b059f5b816be9e4b808cf0e6194 /drivers/watchdog | |
parent | 4bd8ce33c0046e81dfc2b4d5886b6b253741261c (diff) |
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>
Diffstat (limited to 'drivers/watchdog')
-rw-r--r-- | drivers/watchdog/it87_wdt.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/watchdog/it87_wdt.c b/drivers/watchdog/it87_wdt.c index 0b93739c0106..e54839b12650 100644 --- a/drivers/watchdog/it87_wdt.c +++ b/drivers/watchdog/it87_wdt.c | |||
@@ -12,8 +12,8 @@ | |||
12 | * http://www.ite.com.tw/ | 12 | * http://www.ite.com.tw/ |
13 | * | 13 | * |
14 | * Support of the watchdog timers, which are available on | 14 | * Support of the watchdog timers, which are available on |
15 | * IT8702, IT8712, IT8716, IT8718, IT8720, IT8721, IT8726 | 15 | * IT8702, IT8712, IT8716, IT8718, IT8720, IT8721, IT8726, |
16 | * and IT8728. | 16 | * IT8728 and IT8783. |
17 | * | 17 | * |
18 | * This program is free software; you can redistribute it and/or | 18 | * This program is free software; you can redistribute it and/or |
19 | * modify it under the terms of the GNU General Public License | 19 | * modify it under the terms of the GNU General Public License |
@@ -87,6 +87,7 @@ | |||
87 | #define IT8721_ID 0x8721 | 87 | #define IT8721_ID 0x8721 |
88 | #define IT8726_ID 0x8726 /* the data sheet suggest wrongly 0x8716 */ | 88 | #define IT8726_ID 0x8726 /* the data sheet suggest wrongly 0x8716 */ |
89 | #define IT8728_ID 0x8728 | 89 | #define IT8728_ID 0x8728 |
90 | #define IT8783_ID 0x8783 | ||
90 | 91 | ||
91 | /* GPIO Configuration Registers LDN=0x07 */ | 92 | /* GPIO Configuration Registers LDN=0x07 */ |
92 | #define WDTCTRL 0x71 | 93 | #define WDTCTRL 0x71 |
@@ -633,6 +634,7 @@ static int __init it87_wdt_init(void) | |||
633 | case IT8720_ID: | 634 | case IT8720_ID: |
634 | case IT8721_ID: | 635 | case IT8721_ID: |
635 | case IT8728_ID: | 636 | case IT8728_ID: |
637 | case IT8783_ID: | ||
636 | max_units = 65535; | 638 | max_units = 65535; |
637 | try_gameport = 0; | 639 | try_gameport = 0; |
638 | break; | 640 | break; |