All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] i2c: imx: Fix handling of arbitration loss
@ 2020-09-17 12:20 ` Christian Eggers
  0 siblings, 0 replies; 22+ messages in thread
From: Christian Eggers @ 2020-09-17 12:20 UTC (permalink / raw)
  To: Oleksij Rempel, Shawn Guo, Sascha Hauer, Fabio Estevam
  Cc: Pengutronix Kernel Team, NXP Linux Team, linux-i2c,
	linux-arm-kernel, linux-kernel

On my (noisy) system, I2C arbitration losses happen quite often. In it's
current implementation, the IAL flag is partly handled, but has a
number of shortcomings:

1. The driver runs unnecessarily in a timeout when waiting for an
interrupt.

2. The driver performs 500 ms busy-waiting without any value.

3. Arbitration loss errors may be reported one transfer later than they
occured.

Best regards
Christian



^ permalink raw reply	[flat|nested] 22+ messages in thread
* [PATCH 0/3] i2c: imx: Fix handling of arbitration loss
@ 2020-09-17 12:13 ` Christian Eggers
  0 siblings, 0 replies; 22+ messages in thread
From: Christian Eggers @ 2020-09-17 12:13 UTC (permalink / raw)
  To: Oleksij Rempel, Shawn Guo, Sascha Hauer, Fabio Estevam
  Cc: Pengutronix Kernel Team, NXP Linux Team, linux-i2c,
	linux-arm-kernel, linux-kernel

On my (noisy) system, I2C arbitration losses happen quite often. In it's
current implementation, the IAL flags is partly handled, but has a
number of shortcomings:

1. The driver runs unnecessarily in a timeout when waiting for an
interrupt.

2. The driver performs 500 ms busy-waiting without any value.

3. Arbitration loss errors may be reported one transfer later than they
occured.

Best regards
Christian



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

end of thread, other threads:[~2020-10-02 10:22 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-17 12:20 [PATCH 0/3] i2c: imx: Fix handling of arbitration loss Christian Eggers
2020-09-17 12:20 ` Christian Eggers
2020-09-17 12:20 ` [PATCH 1/3] i2c: imx: Fix reset of I2SR_IAL flag Christian Eggers
2020-09-17 12:20   ` Christian Eggers
2020-09-17 14:02   ` Uwe Kleine-König
2020-09-17 14:02     ` Uwe Kleine-König
2020-09-17 14:13     ` Christian Eggers
2020-09-17 14:13       ` Christian Eggers
2020-09-25  8:11       ` Uwe Kleine-König
2020-09-25  8:11         ` Uwe Kleine-König
2020-10-02  8:01         ` Christian Eggers
2020-10-02  8:01           ` Christian Eggers
2020-10-02 10:21           ` Uwe Kleine-König
2020-10-02 10:21             ` Uwe Kleine-König
2020-09-17 12:20 ` [PATCH 2/3] i2c: imx: Check for I2SR_IAL after every byte Christian Eggers
2020-09-17 12:20   ` Christian Eggers
2020-09-17 12:20 ` [PATCH 3/3] i2c: imx: Don't generate STOP condition if arbitration has been lost Christian Eggers
2020-09-17 12:20   ` Christian Eggers
2020-09-25  7:03 ` [PATCH 0/3] i2c: imx: Fix handling of arbitration loss Oleksij Rempel
2020-09-25  7:03   ` Oleksij Rempel
  -- strict thread matches above, loose matches on Subject: below --
2020-09-17 12:13 Christian Eggers
2020-09-17 12:13 ` Christian Eggers

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.