[PATCH 0/2] watchdog: add Cadence watchdog support for Xilinx SoCs

Ahmad Fatoum a.fatoum at pengutronix.de
Wed Sep 13 05:08:05 PDT 2023


This adds support for the Cadence watchdog IP available in Zynq-7000
and ZynqMP SoCs.

The driver has been ported from Linux v6.4 and tested on the ZynqMP.
Keep in mind that changes to the XSA may be necessary for the watchdog
to actually be able to reset the system.

Ahmad Fatoum (2):
  clk: implement clk_get_enabled helper
  watchdog: add Cadence watchdog support for Xilinx SoCs

 drivers/watchdog/Kconfig       |   6 +
 drivers/watchdog/Makefile      |   1 +
 drivers/watchdog/cadence_wdt.c | 278 +++++++++++++++++++++++++++++++++
 include/linux/clk.h            |  29 ++++
 4 files changed, 314 insertions(+)
 create mode 100644 drivers/watchdog/cadence_wdt.c

-- 
2.39.2




More information about the barebox mailing list