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

Configure Feed

Select the types of activity you want to include in your feed.

watchdog: it87_wdt: Add IT8659 ID

This patch adds watchdog support for the ITE IT8659 watchdog.
IT8659 watchdog works in the same way as the other watchdogs supported
by it87_wdt.

Before this patch, IT8659 watchdog is not supported. After a modprobe,
dmesg reports:
it87_wdt: Unknown Chip found, Chip 8659 Revision 0007

With this patch, modprobe it87_wdt recognizes the watchdog as the dmesg
output shows:
it87_wdt: Chip IT8659 revision 7 initialized. timeout=60 sec (nowayout=0
testmode=0)

Watchdog tests on a YANLING YL-ALP3L2C-1235U system have been successful,
the watchdog works as expected with this patch.

Signed-off-by: Werner Fischer <devlists@wefi.net>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20231213094525.11849-3-devlists@wefi.net
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>

authored by

Werner Fischer and committed by
Wim Van Sebroeck
ab6dea00 133530a5

+5 -3
+5 -3
drivers/watchdog/it87_wdt.c
··· 13 13 * http://www.ite.com.tw/ 14 14 * 15 15 * Support of the watchdog timers, which are available on 16 - * IT8607, IT8613, IT8620, IT8622, IT8625, IT8628, IT8655, IT8665, 17 - * IT8686, IT8702, IT8712, IT8716, IT8718, IT8720, IT8721, IT8726, 18 - * IT8728, IT8772, IT8783 and IT8784. 16 + * IT8607, IT8613, IT8620, IT8622, IT8625, IT8628, IT8655, IT8659, 17 + * IT8665, IT8686, IT8702, IT8712, IT8716, IT8718, IT8720, IT8721, 18 + * IT8726, IT8728, IT8772, IT8783, IT8784 and IT8786. 19 19 */ 20 20 21 21 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt ··· 56 56 #define IT8625_ID 0x8625 57 57 #define IT8628_ID 0x8628 58 58 #define IT8655_ID 0x8655 59 + #define IT8659_ID 0x8659 59 60 #define IT8665_ID 0x8665 60 61 #define IT8686_ID 0x8686 61 62 #define IT8702_ID 0x8702 ··· 282 281 case IT8625_ID: 283 282 case IT8628_ID: 284 283 case IT8655_ID: 284 + case IT8659_ID: 285 285 case IT8665_ID: 286 286 case IT8686_ID: 287 287 case IT8716_ID: