linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Support reset controller of Loongson 2K0300 SoC
@ 2025-08-16  3:33 Yao Zi
  2025-08-16  3:33 ` [PATCH 1/3] dt-bindings: reset: Document " Yao Zi
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Yao Zi @ 2025-08-16  3:33 UTC (permalink / raw)
  To: Philipp Zabel, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Huacai Chen, WANG Xuerui
  Cc: devicetree, linux-kernel, loongarch, Mingcong Bai, Kexy Biscuit,
	Yao Zi

Different from previous Loongson SoCs, 2K0300 integrates a reset
controller that provides reset signals represented by contiguous,
distinct register bits for almost every SoC function block. This series
adds its dt-binding and implements its support through reset-simple
driver.

Reset functionalities are tested with UARTs and GPIO module, it's
verified the module won't work with the corresponding reset asserted.

The devicetree patch (PATCH 3) depends on series "Support pinctrl for
Loongson 2K0300 SoC" for a clean apply. Thanks for your time and review.

[1]: https://lore.kernel.org/all/20250811163749.47028-2-ziyao@disroot.org/

Yao Zi (3):
  dt-bindings: reset: Document reset controller of Loongson 2K0300 SoC
  reset: simple: Support Loongson 2K0300 SoC
  LoongArch: dts: Add reset controller for Loongson 2K0300

 .../reset/loongson,ls2k0300-reset.yaml        | 35 ++++++++++
 arch/loongarch/boot/dts/loongson-2k0300.dtsi  | 17 +++++
 drivers/reset/reset-simple.c                  |  2 +
 .../reset/loongson,ls2k0300-reset.h           | 70 +++++++++++++++++++
 4 files changed, 124 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/reset/loongson,ls2k0300-reset.yaml
 create mode 100644 include/dt-bindings/reset/loongson,ls2k0300-reset.h

-- 
2.50.1


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

end of thread, other threads:[~2025-08-16 10:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-16  3:33 [PATCH 0/3] Support reset controller of Loongson 2K0300 SoC Yao Zi
2025-08-16  3:33 ` [PATCH 1/3] dt-bindings: reset: Document " Yao Zi
2025-08-16  9:48   ` Krzysztof Kozlowski
2025-08-16 10:24     ` Yao Zi
2025-08-16  3:33 ` [PATCH 2/3] reset: simple: Support " Yao Zi
2025-08-16  3:33 ` [PATCH 3/3] LoongArch: dts: Add reset controller for Loongson 2K0300 Yao Zi

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