watchdog: w83627hf_wdt: Add quirk for Inves system
authorJean Delvare <jdelvare@suse.de>
Mon, 19 Nov 2018 08:17:38 +0000 (09:17 +0100)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Sun, 9 Dec 2018 14:03:28 +0000 (15:03 +0100)
commit31eb42bd9353c807522697ddc2a6ab14b4924fa5
treeaa020152d15f871eb0afcbd33baccc7fff6926c9
parent06f8f2ca0585ea0c8df7e6c65659b1f679b4254b
watchdog: w83627hf_wdt: Add quirk for Inves system

On some systems, the NCT6791D comes with a companion chip and the
watchdog function is in this companion chip. We must use a different
unlocking sequence to access the companion chip.

Use DMI strings to identify such system and adjust the unlocking
sequence automatically.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/w83627hf_wdt.c