public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH v4 0/2] i2c: lpi2c: implement master_xfer_atomic callback
@ 2025-05-23  8:29 Francesco Dolcini
  2025-05-23  8:29 ` [PATCH v4 1/2] i2c: lpi2c: use readl_poll_timeout() for register polling Francesco Dolcini
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Francesco Dolcini @ 2025-05-23  8:29 UTC (permalink / raw)
  To: Dong Aisheng, Andi Shyti, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam
  Cc: Francesco Dolcini, linux-i2c, imx, linux-arm-kernel, linux-kernel

From: Francesco Dolcini <francesco.dolcini@toradex.com>

This series adds atomic operations support to the imx-lpi2c driver and split
the previous v3 patch into two separate patches.

The first patch replaces the open-coded polling loops with readl_poll_timeout.
This improves readability and consistency, and prepares the code for
integration of the second patch, while maintaining the same functionality.

The second patch implements the .master_xfer_atomic() callback, enabling
support for atomic I2C transfers.

Emanuele Ghidoli (2):
  i2c: lpi2c: use readl_poll_timeout() for register polling
  i2c: lpi2c: implement master_xfer_atomic callback

 drivers/i2c/busses/i2c-imx-lpi2c.c | 262 +++++++++++++++++++----------
 1 file changed, 176 insertions(+), 86 deletions(-)

-- 
2.39.5



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

end of thread, other threads:[~2025-07-14 13:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-23  8:29 [PATCH v4 0/2] i2c: lpi2c: implement master_xfer_atomic callback Francesco Dolcini
2025-05-23  8:29 ` [PATCH v4 1/2] i2c: lpi2c: use readl_poll_timeout() for register polling Francesco Dolcini
2025-05-23  8:29 ` [PATCH v4 2/2] i2c: lpi2c: implement master_xfer_atomic callback Francesco Dolcini
2025-06-26  7:58 ` [PATCH v4 0/2] " Francesco Dolcini
2025-07-14 11:55   ` Primoz Fiser

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