Skip to content

Commit 0671612

Browse files
maciejsszmigierogroeck
authored andcommitted
watchdog: it87_wdt: add IT8620E ID
This adds IT8620E chip ID to it87_wdt driver. Such chip is often found on current Gigabyte motherboards, it is allegedly custom made for this manufacturer. Upon testing it looks like it has a 16-bit timer and cannot be reset via game port (only via CIR), so it is similar to IT87{18,20,21,28,83} chips. Tested on GA-F2A88XM-HD3P board. Signed-off-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
1 parent f01d74c commit 0671612

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

drivers/watchdog/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1008,8 +1008,8 @@ config IT87_WDT
10081008
tristate "IT87 Watchdog Timer"
10091009
depends on X86
10101010
---help---
1011-
This is the driver for the hardware watchdog on the ITE IT8702,
1012-
IT8712, IT8716, IT8718, IT8720, IT8721, IT8726 and IT8728
1011+
This is the driver for the hardware watchdog on the ITE IT8620,
1012+
IT8702, IT8712, IT8716, IT8718, IT8720, IT8721, IT8726 and IT8728
10131013
Super I/O chips.
10141014

10151015
If the driver does not work, then make sure that the game port in

drivers/watchdog/it87_wdt.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* http://www.ite.com.tw/
1313
*
1414
* Support of the watchdog timers, which are available on
15-
* IT8702, IT8712, IT8716, IT8718, IT8720, IT8721, IT8726,
15+
* IT8620, IT8702, IT8712, IT8716, IT8718, IT8720, IT8721, IT8726,
1616
* IT8728 and IT8783.
1717
*
1818
* This program is free software; you can redistribute it and/or
@@ -78,6 +78,7 @@
7878

7979
/* Chip Id numbers */
8080
#define NO_DEV_ID 0xffff
81+
#define IT8620_ID 0x8620
8182
#define IT8702_ID 0x8702
8283
#define IT8705_ID 0x8705
8384
#define IT8712_ID 0x8712
@@ -630,6 +631,7 @@ static int __init it87_wdt_init(void)
630631
case IT8726_ID:
631632
max_units = 65535;
632633
break;
634+
case IT8620_ID:
633635
case IT8718_ID:
634636
case IT8720_ID:
635637
case IT8721_ID:

0 commit comments

Comments
 (0)