Add reset controllers for other TH1520 subsystems
Status from this message: I've applied this to thead-dt-for-next.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest5 patches 16 repliesApplied
- v25 patches 6 repliesSuperseded
- v14 patches 9 repliesSuperseded
Changes in v3 from the cover letter
- Collect review tags
- Fix duplicated dt-binding IDs for DSP-subsystem resets
- Link to v2: https://lore.kernel.org/all/[email protected]/
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | dt-bindings: reset: thead,th1520-reset: Remove non-VO-subsystem resetsinclude/ | +0 | 2 replies | |
| 2/5 | dt-bindings: reset: thead,th1520-reset: Add controllers for more subsysDocumentation/ include/ | +223 | 2 replies | |
| 3/5 | reset: th1520: Prepare for supporting multiple controllersdrivers/ | +30 | 4 replies | |
| 4/5 | reset: th1520: Support reset controllers in more subsystemsdrivers/ | +793 | 2 replies | |
| 5/5 | riscv: dts: thead: Add reset controllers of more subsystems for TH1520arch/ | +37 | 5 replies |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Rob Herring (Arm) | Guo Ren | Drew Fustini |
|---|---|---|---|
| 1/5 | A-b | A-b | R-b |
| 2/5 | A-b | A-b | R-b |
| 3/5 | A-b | R-b | |
| 4/5 | A-b | R-b | |
| 5/5 | A-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v3 0/5] Add reset controllers for other TH1520 subsystems
TH1520 SoC is split into several subsystems, and each of them comes with distinct reset controllers. We've already had the one for VO subsystem documented as "thead,th1520-reset" and supported, and this series adds support for others, including AO, VI, MISC, AP, DSP and VO.
For TH1520_RESET_ID_{NPU,WDT0,WDT1}, these're reset signals that have been introduced along with support for the VO reset controller. However, registers in control of these resets don't stay in the VO reset region, instead they're AP-subsystem resets, thus the original ABI is problematic. I remove them in PATCH 1 and reintroduce them in PATCH 2.
Note the reset controller for AO subsystem is marked as "reserved" in devicetree since AON firmware may make use of it and access in Linux side may cause races.
This series is based on next-20251013, thanks for your time and review.
Changed from v2
- Collect review tags
- Fix duplicated dt-binding IDs for DSP-subsystem resets
- Link to v2: https://lore.kernel.org/all/[email protected]/
Changed from v1
- Make a separate patch for the ABI-breaking change of TH1520_RESET_ID_{NPU,WDT0,WDT1}
- Fix the duplicated dt-binding IDs
- Sort compatibles/reset-signal definitions in alphabetical order in the driver
- Sort dt-binding IDs in alphabetical order by subsystem names
- Link to v1: https://lore.kernel.org/all/[email protected]/
Yao Zi (5):
dt-bindings: reset: thead,th1520-reset: Remove non-VO-subsystem resets
dt-bindings: reset: thead,th1520-reset: Add controllers for more
subsys
reset: th1520: Prepare for supporting multiple controllers
reset: th1520: Support reset controllers in more subsystems
riscv: dts: thead: Add reset controllers of more subsystems for TH1520
.../bindings/reset/thead,th1520-reset.yaml | 8 +- arch/riscv/boot/dts/thead/th1520.dtsi | 37 + drivers/reset/reset-th1520.c | 835 +++++++++++++++++- .../dt-bindings/reset/thead,th1520-reset.h | 219 ++++- 4 files changed, 1083 insertions(+), 16 deletions(-)
Signature · 1 line
2.50.1