mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH 0/2] watchdog: add Cadence watchdog support for Xilinx SoCs
Date: Wed, 13 Sep 2023 14:08:05 +0200	[thread overview]
Message-ID: <20230913120807.1869600-1-a.fatoum@pengutronix.de> (raw)

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




             reply	other threads:[~2023-09-13 12:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-13 12:08 Ahmad Fatoum [this message]
2023-09-13 12:08 ` [PATCH 1/2] clk: implement clk_get_enabled helper Ahmad Fatoum
2023-09-14  7:46   ` Sascha Hauer
2023-09-14  7:52     ` Ahmad Fatoum
2023-09-14  7:52     ` Sascha Hauer
2023-09-13 12:08 ` [PATCH 2/2] watchdog: add Cadence watchdog support for Xilinx SoCs Ahmad Fatoum

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230913120807.1869600-1-a.fatoum@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox