mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/4] reset: introduct generic bit reset controller
@ 2025-02-13  2:08 Inochi Amaoto
  2025-02-13  2:08 ` [PATCH 1/4] dt-bindings: reset: add " Inochi Amaoto
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Inochi Amaoto @ 2025-02-13  2:08 UTC (permalink / raw)
  To: Philipp Zabel, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Chen Wang, Inochi Amaoto, Paul Walmsley, Palmer Dabbelt,
	Albert Ou, Guo Ren, Uwe Kleine-König
  Cc: devicetree, linux-kernel, sophgo, linux-riscv, Yixun Lan, Longbin Li

Many SoC have a simple reset controller with toggling bit to perform
assert/deassert. It is annoyed to add compatiable for each device when
coming a new SoC. It is necessary to introduct a generic device to
simplify these things.

Add a simple generic bit reset controller, and migrate the Sophgo
SG2042 reset controller as an example.

Inochi Amaoto (4):
  dt-bindings: reset: add generic bit reset controller
  reset: simple: add support generic reset-simple device
  dt-bindings: reset: simple: migrate sophgo sg2042 reset controller
  riscv: dts: sg2042: Adapt reset generator for new binding

 .../bindings/reset/reset-simple.yaml          | 46 +++++++++++++++++++
 .../bindings/reset/sophgo,sg2042-reset.yaml   | 35 --------------
 arch/riscv/boot/dts/sophgo/sg2042.dtsi        |  2 +-
 drivers/reset/reset-simple.c                  |  3 ++
 4 files changed, 50 insertions(+), 36 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/reset/reset-simple.yaml
 delete mode 100644 Documentation/devicetree/bindings/reset/sophgo,sg2042-reset.yaml

--
2.48.1


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

end of thread, other threads:[~2025-02-13 11:33 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-02-13  2:08 [PATCH 0/4] reset: introduct generic bit reset controller Inochi Amaoto
2025-02-13  2:08 ` [PATCH 1/4] dt-bindings: reset: add " Inochi Amaoto
2025-02-13  9:35   ` Krzysztof Kozlowski
2025-02-13 10:22     ` Philipp Zabel
2025-02-13 11:18       ` Inochi Amaoto
2025-02-13 10:08   ` Philipp Zabel
2025-02-13 11:26     ` Inochi Amaoto
2025-02-13  2:08 ` [PATCH 2/4] reset: simple: add support generic reset-simple device Inochi Amaoto
2025-02-13  9:36   ` Krzysztof Kozlowski
2025-02-13 11:30     ` Inochi Amaoto
2025-02-13  2:08 ` [PATCH 3/4] dt-bindings: reset: simple: migrate sophgo sg2042 reset controller Inochi Amaoto
2025-02-13  2:08 ` [PATCH 4/4] riscv: dts: sg2042: Adapt reset generator for new binding Inochi Amaoto
2025-02-13 10:08 ` [PATCH 0/4] reset: introduct generic bit reset controller Philipp Zabel
2025-02-13 11:33   ` Inochi Amaoto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®