Skip to contentSkip to conversation

WD: add IT8783 ID

PATCH In review Paolo Teti 3 participants 3 messages Oct 19, 2014 – Feb 2, 2015 Watchdog device drivers

lore
Share & tools
lore

Paolo Teti

author
#0 lore raw

PATCH 1/1 WD: add IT8783 ID

IT8783 watchdog works as in IT872x

Tested on Adlink cPCI-6520 boards

---
 drivers/watchdog/it87_wdt.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
drivers/watchdog/it87_wdt.c +4 -2
index 0b93739..e54839b 100644
@@ -12,8 +12,8 @@
  *		    http://www.ite.com.tw/
  *
  *	Support of the watchdog timers, which are available on
- *	IT8702, IT8712, IT8716, IT8718, IT8720, IT8721, IT8726
- *	and IT8728.
+ *	IT8702, IT8712, IT8716, IT8718, IT8720, IT8721, IT8726,
+ *	IT8728 and IT8783.
  *
  *	This program is free software; you can redistribute it and/or
  *	modify it under the terms of the GNU General Public License
@@ -87,6 +87,7 @@
 #define IT8721_ID	0x8721
 #define IT8726_ID	0x8726	/* the data sheet suggest wrongly 0x8716 */
 #define IT8728_ID	0x8728
+#define IT8783_ID	0x8783
 
 /* GPIO Configuration Registers LDN=0x07 */
 #define WDTCTRL		0x71
@@ -633,6 +634,7 @@ static int __init it87_wdt_init(void)
 	case IT8720_ID:
 	case IT8721_ID:
 	case IT8728_ID:
+	case IT8783_ID:
 		max_units = 65535;
 		try_gameport = 0;
 		break;
Signature · 1 line
1.9.1
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Paolo Teti

IT8783 watchdog works as in IT872x

Tested on Adlink cPCI-6520 boards

Quoted 36 lines
---
  drivers/watchdog/it87_wdt.c | 6 ++++--
  1 file changed, 4 insertions(+), 2 deletions(-)
drivers/watchdog/it87_wdt.c +4 -2
index 0b93739..e54839b 100644
@@ -12,8 +12,8 @@
   *		    http://www.ite.com.tw/
   *
   *	Support of the watchdog timers, which are available on
- *	IT8702, IT8712, IT8716, IT8718, IT8720, IT8721, IT8726
- *	and IT8728.
+ *	IT8702, IT8712, IT8716, IT8718, IT8720, IT8721, IT8726,
+ *	IT8728 and IT8783.
   *
   *	This program is free software; you can redistribute it and/or
   *	modify it under the terms of the GNU General Public License
@@ -87,6 +87,7 @@
  #define IT8721_ID	0x8721
  #define IT8726_ID	0x8726	/* the data sheet suggest wrongly 0x8716 */
  #define IT8728_ID	0x8728
+#define IT8783_ID	0x8783
 
  /* GPIO Configuration Registers LDN=0x07 */
  #define WDTCTRL		0x71
@@ -633,6 +634,7 @@ static int __init it87_wdt_init(void)
  	case IT8720_ID:
  	case IT8721_ID:
  	case IT8728_ID:
+	case IT8783_ID:
  		max_units = 65535;
  		try_gameport = 0;
  		break;