watchdog: it87_wdt: Add IT8659 ID
authorWerner Fischer <devlists@wefi.net>
Wed, 13 Dec 2023 09:45:24 +0000 (10:45 +0100)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Sun, 17 Dec 2023 15:14:26 +0000 (16:14 +0100)
commitab6dea00fd6d148deecf2e8baaf0c110b35d7cea
treee24ec430ccf963e6fe8b1185c03d13bcc8ff9761
parent133530a5b99d6755bb9f712405d5d1a493cbaeab
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>
drivers/watchdog/it87_wdt.c