mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/8] reset: Use regmap_test_bits to simplify status callbacks
@ 2026-11-03 14:51 Philipp Zabel
  2026-11-03 14:51 ` [PATCH 1/8] reset: a10sr: Use regmap_test_bits in a10sr_reset_status Philipp Zabel
                   ` (7 more replies)
  0 siblings, 8 replies; 10+ messages in thread
From: Philipp Zabel @ 2026-11-03 14:51 UTC (permalink / raw)
  To: Damien Le Moal, Conor Dooley, Valentina Fernandez,
	Daire McNamara, Fabrizio Castro, Lad Prabhakar, Michal Simek
  Cc: linux-kernel, linux-riscv, linux-renesas-soc, linux-arm-kernel,
	Philipp Zabel

A lot of the regmap reset controller drivers open-code a variant
of regmap_test_bits() in their status callback function. Simplify
them by calling regmap_test_bits() instead.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
---
Philipp Zabel (8):
      reset: a10sr: Use regmap_test_bits in a10sr_reset_status
      reset: reset-intel-gw: Use regmap_reset_bits in intel_reset_status
      reset: k210: Use regmap_test_bits in k210_rst_status
      reset: lantiq: Use regmap_test_bits in lantiq_rcu_reset_status
      reset: mpfs: Use regmap_test_bits in mpfs_status
      reset: rzv2h-usb2phy: Use regmap_test_bits in rzv2h_usbphy_reset_status
      reset: zynq: Use regmap_test_bits in zynq_reset_status
      reset: tn48m: Use regmap_test_bits in tn48m_control_status

 drivers/reset/reset-a10sr.c         | 8 +-------
 drivers/reset/reset-intel-gw.c      | 9 ++-------
 drivers/reset/reset-k210.c          | 8 +-------
 drivers/reset/reset-lantiq.c        | 8 +-------
 drivers/reset/reset-mpfs.c          | 9 +--------
 drivers/reset/reset-rzv2h-usb2phy.c | 6 ++----
 drivers/reset/reset-tn48m.c         | 8 ++------
 drivers/reset/reset-zynq.c          | 8 +-------
 8 files changed, 11 insertions(+), 53 deletions(-)
---
base-commit: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4
change-id: 20261103-reset-regmap-test-bits-17cb2ba9840f

Best regards,
--  
Philipp Zabel <p.zabel@pengutronix.de>


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

end of thread, other threads:[~2026-11-03 20:01 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-03 14:51 [PATCH 0/8] reset: Use regmap_test_bits to simplify status callbacks Philipp Zabel
2026-11-03 14:51 ` [PATCH 1/8] reset: a10sr: Use regmap_test_bits in a10sr_reset_status Philipp Zabel
2026-11-03 14:51 ` [PATCH 2/8] reset: reset-intel-gw: Use regmap_reset_bits in intel_reset_status Philipp Zabel
2026-11-03 14:51 ` [PATCH 3/8] reset: k210: Use regmap_test_bits in k210_rst_status Philipp Zabel
2026-11-03 20:01   ` Damien Le Moal
2026-11-03 14:51 ` [PATCH 4/8] reset: lantiq: Use regmap_test_bits in lantiq_rcu_reset_status Philipp Zabel
2026-11-03 14:51 ` [PATCH 5/8] reset: mpfs: Use regmap_test_bits in mpfs_status Philipp Zabel
2026-11-03 14:51 ` [PATCH 6/8] reset: rzv2h-usb2phy: Use regmap_test_bits in rzv2h_usbphy_reset_status Philipp Zabel
2026-11-03 14:51 ` [PATCH 7/8] reset: zynq: Use regmap_test_bits in zynq_reset_status Philipp Zabel
2026-11-03 14:51 ` [PATCH 8/8] reset: tn48m: Use regmap_test_bits in tn48m_control_status Philipp Zabel

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®