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

Francesco Dolcini
2025-05-23T08:45:12Z

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