reset: Introduce reset_reset.*() API
Status from this message: Applied.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest5 patches 1 replyApplied
- v35 patches 9 repliesSuperseded
- v24 patches 7 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 4 patches | 8 replies | Superseded |
Changes in v4 from the cover letter
- change reset test logic
Patches in v4 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | reset: Add reset_reset() and reset_reset_bulk() APIdrivers/ include/ include/ | +102 | 0 replies | |
| 2/5 | reset: Add sandbox tests for reset_reset() and reset_reset_bulk()arch/ drivers/ drivers/ +1 more | +115 | 0 replies | |
| 3/5 | reset: sandbox: Cover reset_reset() fallback with second sandbox providerarch/ drivers/ test/ | +75 | 0 replies | |
| 4/5 | spi: cadence: Use reset_reset_bulk() for proper reset cyclingdrivers/ | +4 | 0 replies | |
| 5/5 | reset: zynqmp: Implement rst_reset using PM_RESET_ACTION_PULSEdrivers/ | +11 | 0 replies |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Simon Glass |
|---|---|
| 1/5 | R-b |
| 2/5 | R-b |
| 3/5 | R-b |
| 4/5 | R-b |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 0/5] reset: Introduce reset_reset.*() API
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(-)
Signature · 4 lines
2.43.0 base-commit: 987c93fc68a641cc735c9828872511a947e54191 branch: xnext/reset