linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] reset: amlogic: rework auxiliary reset support
@ 2024-12-09 16:04 Jerome Brunet
  2024-12-09 16:04 ` [PATCH 1/2] reset: amlogic: aux: get regmap through parent device Jerome Brunet
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Jerome Brunet @ 2024-12-09 16:04 UTC (permalink / raw)
  To: Philipp Zabel, Neil Armstrong, Kevin Hilman, Martin Blumenstingl,
	Jiucheng Xu, Stephen Boyd, Arnd Bergmann
  Cc: linux-arm-kernel, linux-amlogic, linux-kernel, Jerome Brunet

The current implementation of auxiliary reset controller, with the
registration helper in the same module as the driver code, does not
allow to properly decouple the registered auxiliary driver from
the registering one.

This patchset removes the registration helper from the auxiliary reset
driver and changes how regmap is passed, to simplify the interface a bit.

This patcheset depends on:
commit 5ae1a43486fb ("clk: amlogic: axg-audio: revert reset implementation")

The above removes the only user of the auxiliary reset controller, restoring
old implementation as a temporary solution, while it is reworked.

The commit has been applied to clock fixes [1] branch and will eventually
make its way to an rc release.

[1]: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git/commit/?h=clk-fixes&id=5ae1a43486fb3febd5ce78da13eb354f16d049e0

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
---
Jerome Brunet (2):
      reset: amlogic: aux: get regmap through parent device
      reset: amlogic: aux: drop aux registration helper

 drivers/reset/amlogic/reset-meson-aux.c | 85 +++------------------------------
 include/soc/amlogic/reset-meson-aux.h   | 23 ---------
 2 files changed, 6 insertions(+), 102 deletions(-)
---
base-commit: 3d99f9231bedcf9acfb965a97645a8ecfa93a40d
change-id: 20241209-meson-rst-aux-rework-e26c716c6762
prerequisite-change-id: 20241127-clk-audio-fix-rst-missing-0b80628d934b:v2
prerequisite-patch-id: 8bf55ab8ba9db1abea5df2554864a2f4f9c72e77

Best regards,
-- 
Jerome



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

end of thread, other threads:[~2024-12-16 13:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-09 16:04 [PATCH 0/2] reset: amlogic: rework auxiliary reset support Jerome Brunet
2024-12-09 16:04 ` [PATCH 1/2] reset: amlogic: aux: get regmap through parent device Jerome Brunet
2024-12-09 16:04 ` [PATCH 2/2] reset: amlogic: aux: drop aux registration helper Jerome Brunet
2024-12-09 16:07 ` [PATCH 0/2] reset: amlogic: rework auxiliary reset support Arnd Bergmann
2024-12-16 13:25 ` Jerome Brunet

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