watchdog: sp805_wdt: add arm cmsdk apb wdt support
authorBing Fan <tombinfan@tencent.com>
Fri, 24 Jun 2022 02:24:42 +0000 (10:24 +0800)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Sat, 23 Jul 2022 12:21:24 +0000 (14:21 +0200)
commit3b1905456aad0d111bba3388165e7bb78537db72
tree4752ba94877c2b25dd0853e6e5ddb3dae83ffd5f
parentc6d9c0798ed366a09a9e53d71edcd2266e34a6eb
watchdog: sp805_wdt: add arm cmsdk apb wdt support

Support arm CMSDK ip apb watchdog device.
Description details of this device can be found in the
document DDI0479D_m_class_processor_system_r1p1_trm.pdf
on the arm's document web. Which periphid is 0x001bb824.
The registers are basically the same as the 805, just a
few more: Periphid4/5/6/7 with offset 0xFD0/0xFD4/0xFD8/0xFDC.
For the register description of arm,sp805, please refer
to the document DDI0270-arm-sp805.pdf.

Signed-off-by: Bing Fan <tombinfan@tencent.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/1656037482-19505-1-git-send-email-hptsfb@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/sp805_wdt.c