From: Zixun LI <admin@hifiphile.com>
To: Eugen Hristev <eugen.hristev@linaro.org>, Tom Rini <trini@konsulko.com>
Cc: Zixun LI <admin@hifiphile.com>, u-boot@lists.denx.de
Subject: [PATCH 0/7] watchdog: at91sam9_wdt driver enhancement
Date: Wed, 2 Apr 2025 23:00:20 +0200 [thread overview]
Message-ID: <20250402210021.1684179-1-admin@hifiphile.com> (raw)
In-Reply-To: <20250331191520.1805001-2-admin@hifiphile.com>
It looks like cover letter was missing...
This patch series includes some code refactor and adds new device support
for at91sam9_wdt driver.
Instead of add a new driver like Linux kernel, at91sam9_wdt driver is
extended as new watchdog variant is similar to existing one, especially
for the function subset used by u-boot.
1. Remove unused typedef and rename variables for readability.
2. Add SAMA5D4 compatible, it has the same watchdog as SAM9260 except a
new lockout feature is added. Currently this feature is unimplemented.
3. SAM9X60, SAM9X7 and SAMA7 series have a new watchdog variant, some
bitfields bof MR register shifted their position, a new register is added
for timer value.
4. Add DT node to SAM9X60-Currently board
It has been tested on SAM9X60-Currently board:
- Start & stop
- Set timeout from DT node
- Reset kick in with a while(1) loop
Zixun LI (7):
arm: at91: wdt: Remove unused at91_wdt struct
arm: at91: wdt: Rename regval in priv data to mr
watchdog: at91sam9_wdt: Rename priv to wdt
arm: at91: wdt: Add SAM9X60 register definition
watchdog: at91sam9_wdt: Add SAM9X60 support
ARM: dts: sam9x60: Add watchdog DT node.
ARM: dts: at91: sam9x60-curiosity: Enable watchdog node
arch/arm/dts/at91-sam9x60_curiosity.dts | 5 ++
arch/arm/dts/sam9x60.dtsi | 7 +++
arch/arm/mach-at91/include/mach/at91_wdt.h | 25 ++++++----
drivers/watchdog/at91sam9_wdt.c | 55 +++++++++++++++-------
4 files changed, 68 insertions(+), 24 deletions(-)
--
2.49.0
next prev parent reply other threads:[~2025-04-02 22:23 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20250331191520.1805001-1-admin@hifiphile.com>
2025-03-31 19:15 ` [PATCH 1/7] arm: at91: wdt: Remove unused at91_wdt struct Zixun LI
2025-04-02 21:00 ` Zixun LI [this message]
2025-04-10 10:28 ` Eugen Hristev
2025-04-10 16:42 ` Zixun LI
2025-03-31 19:15 ` [PATCH 2/7] arm: at91: wdt: Rename regval in priv data to mr Zixun LI
2025-03-31 19:15 ` [PATCH 3/7] watchdog: at91sam9_wdt: Rename priv to wdt Zixun LI
2025-03-31 19:15 ` [PATCH 4/7] arm: at91: wdt: Add SAM9X60 register definition Zixun LI
2025-03-31 19:15 ` [PATCH 5/7] watchdog: at91sam9_wdt: Add SAM9X60 support Zixun LI
2025-03-31 19:15 ` [PATCH 6/7] ARM: dts: sam9x60: Add watchdog DT node Zixun LI
2025-03-31 19:15 ` [PATCH 7/7] ARM: dts: at91: sam9x60-curiosity: Enable watchdog node Zixun LI
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=20250402210021.1684179-1-admin@hifiphile.com \
--to=admin@hifiphile.com \
--cc=eugen.hristev@linaro.org \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/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