From: Michal Simek <michal.simek@amd.com>
To: <u-boot@lists.denx.de>, <git@amd.com>, Simon Glass <sjg@chromium.org>
Cc: Andrew Goodbody <andrew.goodbody@linaro.org>,
Dinesh Maniyam <dinesh.maniyam@altera.com>,
Heiko Schocher <hs@nabladev.com>,
Lucien.Jheng <lucienzx159@gmail.com>,
Marek Vasut <marek.vasut+renesas@mailbox.org>,
Martin Schwan <m.schwan@phytec.de>,
Mattijs Korpershoek <mkorpershoek@kernel.org>,
Naman Trivedi <naman.trivedimanojbhai@amd.com>,
Neil Armstrong <neil.armstrong@linaro.org>,
Padmarao Begari <padmarao.begari@amd.com>,
Rasmus Villemoes <ravi@prevas.dk>,
"Senthil Nathan Thangaraj" <senthilnathan.thangaraj@amd.com>,
Svyatoslav Ryhel <clamor95@gmail.com>,
Tom Rini <trini@konsulko.com>,
Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Subject: [PATCH v3 0/5] reset: Introduce reset_reset.*() API
Date: Wed, 13 May 2026 11:42:05 +0200 [thread overview]
Message-ID: <cover.1778665323.git.michal.simek@amd.com> (raw)
Hi,
the patchset is adding reset_reset.*() interface which is common
in Linux. And implement it for ZynqMP.
Thanks,
Michal
Changes in v3:
- extend function documentation
- align commit message with implementation
- new patch in series
Changes in v2:
- Add delay_us parameter to specify delay between assert and deassert
- Pass delay_us to rst_reset op so drivers can use it if needed
- Return -ENOSYS in stubs when !CONFIG_DM_RESET (like clk.h)
- Fix line length to stay within 80 characters
- Add reset_count field to track reset pulse operations
- Implement sandbox_reset_reset() for rst_reset op
- Add sandbox_reset_get_count() to query reset pulse count
- Clear reset_count when reset is requested
- Update tests to verify reset pulse actually happened
- Pass 10us via parameter
Michal Simek (5):
reset: Add reset_reset() and reset_reset_bulk() API
reset: Add sandbox tests for reset_reset() and reset_reset_bulk()
reset: sandbox: Cover reset_reset() fallback with second sandbox
provider
spi: cadence: Use reset_reset_bulk() for proper reset cycling
reset: zynqmp: Implement rst_reset using PM_RESET_ACTION_PULSE
arch/sandbox/dts/test.dts | 10 ++-
arch/sandbox/include/asm/reset.h | 3 +
drivers/reset/reset-uclass.c | 34 ++++++++++
drivers/reset/reset-zynqmp.c | 11 ++++
drivers/reset/sandbox-reset-test.c | 14 ++++
drivers/reset/sandbox-reset.c | 58 ++++++++++++++++
drivers/spi/cadence_qspi.c | 16 ++---
include/reset-uclass.h | 19 ++++++
include/reset.h | 49 ++++++++++++++
test/dm/reset.c | 102 +++++++++++++++++++++++++++++
10 files changed, 302 insertions(+), 14 deletions(-)
--
2.43.0
base-commit: 36d4c653580824b16574560b21d4401614d8b68e
branch: xnext/reset
next reply other threads:[~2026-05-13 9:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-13 9:42 Michal Simek [this message]
2026-05-13 9:42 ` [PATCH v3 1/5] reset: Add reset_reset() and reset_reset_bulk() API Michal Simek
2026-05-13 9:42 ` [PATCH v3 2/5] reset: Add sandbox tests for reset_reset() and reset_reset_bulk() Michal Simek
2026-05-13 9:42 ` [PATCH v3 3/5] reset: sandbox: Cover reset_reset() fallback with second sandbox provider Michal Simek
2026-05-15 13:34 ` Simon Glass
2026-05-13 9:42 ` [PATCH v3 4/5] spi: cadence: Use reset_reset_bulk() for proper reset cycling Michal Simek
2026-05-13 9:42 ` [PATCH v3 5/5] reset: zynqmp: Implement rst_reset using PM_RESET_ACTION_PULSE Michal Simek
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=cover.1778665323.git.michal.simek@amd.com \
--to=michal.simek@amd.com \
--cc=andrew.goodbody@linaro.org \
--cc=clamor95@gmail.com \
--cc=dinesh.maniyam@altera.com \
--cc=git@amd.com \
--cc=hs@nabladev.com \
--cc=lucienzx159@gmail.com \
--cc=m.schwan@phytec.de \
--cc=marek.vasut+renesas@mailbox.org \
--cc=mkorpershoek@kernel.org \
--cc=naman.trivedimanojbhai@amd.com \
--cc=neil.armstrong@linaro.org \
--cc=padmarao.begari@amd.com \
--cc=ravi@prevas.dk \
--cc=senthilnathan.thangaraj@amd.com \
--cc=sjg@chromium.org \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
--cc=venkatesh.abbarapu@amd.com \
/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