public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/2] i2c: imx: fix i2c issues when reading messages
@ 2026-02-18 15:08 Stefan Eichenberger
  2026-02-18 15:08 ` [PATCH v1 1/2] i2c: imx: fix i2c issue when reading multiple messages Stefan Eichenberger
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Stefan Eichenberger @ 2026-02-18 15:08 UTC (permalink / raw)
  To: o.rempel, kernel, andi.shyti, Frank.Li, s.hauer, festevam,
	stefan.eichenberger, francesco.dolcini
  Cc: linux-i2c, imx, linux-arm-kernel, linux-kernel

This patch series fixes two issues with the imx i2c driver when reading
messages. 

The first issue is that after a repeated start the bus is still busy. If
the driver polls for that bus busy bit, the driver will timeout and fail
to read.

The second issue is that after the last message the driver should not
immediately read the data from the data register or an additional clock
will be generated. This can cause devices that react to that clock to
misbehave which will also lead to a timeout.

Stefan Eichenberger (2):
  i2c: imx: fix i2c issue when reading multiple messages
  i2c: imx: ensure no clock is generated after last read

 drivers/i2c/busses/i2c-imx.c | 51 ++++++++++++++++++++++--------------
 1 file changed, 32 insertions(+), 19 deletions(-)

-- 
2.51.0


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

end of thread, other threads:[~2026-03-25 17:32 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-18 15:08 [PATCH v1 0/2] i2c: imx: fix i2c issues when reading messages Stefan Eichenberger
2026-02-18 15:08 ` [PATCH v1 1/2] i2c: imx: fix i2c issue when reading multiple messages Stefan Eichenberger
2026-02-18 16:22   ` Frank Li
2026-02-18 15:08 ` [PATCH v1 2/2] i2c: imx: ensure no clock is generated after last read Stefan Eichenberger
2026-02-18 16:26   ` Frank Li
2026-02-18 16:37     ` Stefan Eichenberger
2026-03-03  9:14       ` Stefan Eichenberger
2026-03-03 15:53         ` Frank Li
2026-03-04  3:00           ` Carlos Song
2026-03-19 23:09             ` Andi Shyti
2026-03-20  2:04               ` [EXT] " Carlos Song
2026-03-25 17:32 ` [PATCH v1 0/2] i2c: imx: fix i2c issues when reading messages Andi Shyti

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