linux-riscv.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Scope TH1520 reset driver to VO subsystem
@ 2025-08-20  7:42 Yao Zi
  2025-08-20  7:42 ` [PATCH v2 1/3] dt-bindings: reset: Scope the compatible to VO subsystem explicitly Yao Zi
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Yao Zi @ 2025-08-20  7:42 UTC (permalink / raw)
  To: Drew Fustini, Guo Ren, Fu Wei, Philipp Zabel, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Paul Walmsley, Palmer Dabbelt,
	Albert Ou, Alexandre Ghiti, Michal Wilczynski
  Cc: devicetree, Han Gao, linux-kernel, Han Gao, linux-riscv, Yao Zi

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/20250810-fix_reset_2-v1-1-b0d1900ba578@samsung.com/

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(-)

-- 
2.50.1


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-08-22 15:34 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-20  7:42 [PATCH v2 0/3] Scope TH1520 reset driver to VO subsystem Yao Zi
2025-08-20  7:42 ` [PATCH v2 1/3] dt-bindings: reset: Scope the compatible to VO subsystem explicitly Yao Zi
2025-08-21  7:54   ` Krzysztof Kozlowski
2025-08-22  8:28     ` Yao Zi
2025-08-22  9:45       ` Krzysztof Kozlowski
2025-08-20  7:42 ` [PATCH v2 2/3] reset: th1520: Support the new compatible for VO-subsystem controller Yao Zi
2025-08-21  7:50   ` Krzysztof Kozlowski
2025-08-20  7:42 ` [PATCH v2 3/3] riscv: dts: thead: Scope the reset controller to VO for TH1520 Yao Zi
2025-08-21  7:49   ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).