Skip to contentSkip to conversation

watchdog: it87_wdt: add IT8786 ID

PATCH In review Vincent Prince 2 participants 2 messages Jan 23, 2020 Watchdog device drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 watchdog: it87_wdt: add IT8786 ID

From: Vincent Prince <[email protected]>

IT8786 watchdog works as in IT872x

Tested on VECOW ECS-9000 board.

---
 drivers/watchdog/it87_wdt.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/watchdog/it87_wdt.c +2 -0
index a4b71ebc8cab..f3bf3ea50e39 100644
@@ -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:
Signature · 1 line
2.24.0
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · Vincent Prince

From: Vincent Prince <[email protected]>

IT8786 watchdog works as in IT872x

Tested on VECOW ECS-9000 board.

Quoted 25 lines
---
  drivers/watchdog/it87_wdt.c | 2 ++
  1 file changed, 2 insertions(+)
drivers/watchdog/it87_wdt.c +2 -0
index a4b71ebc8cab..f3bf3ea50e39 100644
@@ -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: