[PATCH v5 0/2] i2c: lpi2c: implement master_xfer_atomic callback

Francesco Dolcini posted 2 patches 2 months, 2 weeks ago
drivers/i2c/busses/i2c-imx-lpi2c.c | 254 +++++++++++++++++++----------
1 file changed, 172 insertions(+), 82 deletions(-)
[PATCH v5 0/2] i2c: lpi2c: implement master_xfer_atomic callback
Posted by Francesco Dolcini 2 months, 2 weeks ago
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 xfer_atomic callback

 drivers/i2c/busses/i2c-imx-lpi2c.c | 254 +++++++++++++++++++----------
 1 file changed, 172 insertions(+), 82 deletions(-)

-- 
2.39.5
Re: [PATCH v5 0/2] i2c: lpi2c: implement master_xfer_atomic callback
Posted by Andi Shyti 2 months, 2 weeks ago
Hi Francesco,

On Fri, Jul 18, 2025 at 03:34:27PM +0200, Francesco Dolcini wrote:
> Emanuele Ghidoli (2):
>   i2c: lpi2c: use readl_poll_timeout() for register polling
>   i2c: lpi2c: implement xfer_atomic callback

merged to i2c/i2c-host.

Thanks,
Andi