]> git.ipfire.org Git - thirdparty/linux.git/commit
watchdog: loongson1: Add Loongson-2k0300 watchdog support
authorBinbin Zhou <zhoubinbin@loongson.cn>
Fri, 7 Nov 2025 06:01:51 +0000 (14:01 +0800)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Sat, 15 Nov 2025 14:28:10 +0000 (15:28 +0100)
commite0c50cddbd942338cbd6029ddbbcef4268a30718
tree54e1b9ffa4299f877f963dd82ed5552de89b5ea0
parente4948e801129aa577cc4aa8b67c224fe5f037f77
watchdog: loongson1: Add Loongson-2k0300 watchdog support

According to the manual, the Loongson-2K0300 watchdog is similar to the
Loongson-1, except for some register offsets and inconsistent register
bit definitions. Separate definitions via driver_data suffice.

Co-developed-by: Xiaochuang Mao <maoxiaochuan@loongson.cn>
Signed-off-by: Xiaochuang Mao <maoxiaochuan@loongson.cn>
Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn>
Reviewed-by: Huacai Chen <chenhuacai@loongson.cn>
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/Kconfig
drivers/watchdog/loongson1_wdt.c