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>,
"Markus Schneider-Pargmann (TI.com)" <msp@baylibre.com>,
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>,
Senthil Nathan Thangaraj <senthilnathan.thangaraj@amd.com>,
Tom Rini <trini@konsulko.com>,
Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Subject: [PATCH v4 0/5] reset: Introduce reset_reset.*() API
Date: Mon, 25 May 2026 13:45:41 +0200 [thread overview]
Message-ID: <cover.1779709539.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 v4:
- change reset test logic
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 | 107 +++++++++++++++++++++++++++++
10 files changed, 307 insertions(+), 14 deletions(-)
--
2.43.0
base-commit: 987c93fc68a641cc735c9828872511a947e54191
branch: xnext/reset
next reply other threads:[~2026-05-25 11:46 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-25 11:45 Michal Simek [this message]
2026-05-25 11:45 ` [PATCH v4 1/5] reset: Add reset_reset() and reset_reset_bulk() API Michal Simek
2026-05-25 11:45 ` [PATCH v4 2/5] reset: Add sandbox tests for reset_reset() and reset_reset_bulk() Michal Simek
2026-05-25 11:45 ` [PATCH v4 3/5] reset: sandbox: Cover reset_reset() fallback with second sandbox provider Michal Simek
2026-05-25 11:45 ` [PATCH v4 4/5] spi: cadence: Use reset_reset_bulk() for proper reset cycling Michal Simek
2026-05-25 11:45 ` [PATCH v4 5/5] reset: zynqmp: Implement rst_reset using PM_RESET_ACTION_PULSE Michal Simek
2026-06-08 8:48 ` [PATCH v4 0/5] reset: Introduce reset_reset.*() API 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.1779709539.git.michal.simek@amd.com \
--to=michal.simek@amd.com \
--cc=andrew.goodbody@linaro.org \
--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=msp@baylibre.com \
--cc=naman.trivedimanojbhai@amd.com \
--cc=neil.armstrong@linaro.org \
--cc=padmarao.begari@amd.com \
--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