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

From: Francesco Dolcini
Date: Fri Jul 18 2025 - 09:43:27 EST


From: Francesco Dolcini <francesco.dolcini@xxxxxxxxxxx>

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