mbox series

[0/3] Add atomic transfers to s3c24xx i2c driver

Message ID 20230928192414.258169-1-m.szyprowski@samsung.com
Headers show
Series Add atomic transfers to s3c24xx i2c driver | expand

Message

Marek Szyprowski Sept. 28, 2023, 7:24 p.m. UTC
Dear All,

This patchset adds support for atomic transfers, which has been added to
the i2c core recently by the commit 63b96983a5dd ("i2c: core: introduce
callbacks for atomic transfers"). Almost everything needed for that was
already in the driver as so called polled mode. Unfortunately, that
polled mode has been tested only with single message write transfers so
far and it turned out that it doesn't work well with read and
multi-message transfers, so first it had to be fixed.

Best regards,
Marek Szyprowski



Patch summary:

Marek Szyprowski (3):
  i2c: s3c24xx: fix read transfers in polled mode
  i2c: s3c24xx: fix transferring more than one message in polled mode
  i2c: s3c24xx: add support for atomic transfers

 drivers/i2c/busses/i2c-s3c2410.c | 55 +++++++++++++++++++++-----------
 1 file changed, 36 insertions(+), 19 deletions(-)