Skip to content

Scope TH1520 reset driver to VO subsystem

Yao Zi linux-devicetree linux-riscv lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 5 repliesIn review

Changes in v2 from the cover letter

- Split the original patch
- Deprecate the old compatible instead of removing it in dt-binding
- Drop the redundant label and outer SoC node for the dt-binding
example
- Keep the old compatible in driver for compatibility
- Link to v1: https://lore.kernel.org/all/[email protected]/

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3dt-bindings: reset: Scope the compatible to VO subsystem explicitlyDocumentation/devicetree/bindings/reset/thead,th1520-reset.yaml+8 -93 replies
2/3reset: th1520: Support the new compatible for VO-subsystem controllerdrivers/reset/reset-th1520.c+1 -01 reply
3/3riscv: dts: thead: Scope the reset controller to VO for TH1520arch/riscv/boot/dts/thead/th1520.dtsi+3 -31 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] Scope TH1520 reset driver to VO subsystem

T-Head TH1520 SoC integrates nine distinct reset controllers (AON, AP, DDR, MISC, VI, VO, VP, DSP and AUDIO). Currently only the reset controller for the VO (Video Output) subsystem is implemented in mainline Linux.

However, the controller is described with a generic compatible string "thead,th1520-reset", which may imply control over all reset signals on the SoC and thus is confusing. It may also cause conflicts when reset support for other subsystems are introduced.

This series deprecates the generic "thead,th1520-reset" compatible string, documents a new one, "thead,th1520-reset-vo", which explicitly describes scope of the reset controller, and converts driver and devicetree to use the new one.

Krzysztof and Drew, I agree that we should document the bindings for other reset controllers in TH1520 ASAP, but this requires a lot of new
code: taking TEE-only ones into account, there're eight new controllers to be documented. Since this is a fix series that may be backported, it think it may help to keep it small, thus decided to make a separate series for the new reset controllers.

Changed from v1
- Split the original patch
- Deprecate the old compatible instead of removing it in dt-binding
- Drop the redundant label and outer SoC node for the dt-binding
example
- Keep the old compatible in driver for compatibility
- Link to v1: https://lore.kernel.org/all/[email protected]/

Yao Zi (3):
dt-bindings: reset: Scope the compatible to VO subsystem explicitly
reset: th1520: Support the new compatible for VO-subsystem controller
riscv: dts: thead: Scope the reset controller to VO for TH1520

 .../bindings/reset/thead,th1520-reset.yaml      | 17 ++++++++---------
 arch/riscv/boot/dts/thead/th1520.dtsi           |  6 +++---
 drivers/reset/reset-th1520.c                    |  1 +
 3 files changed, 12 insertions(+), 12 deletions(-)
Signature · 1 line
2.50.1