linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Use master-abort for slave probes
@ 2020-05-06  9:36 Russell King - ARM Linux admin
  2020-05-06  9:36 ` [PATCH 1/2] i2c: pxa: clear all master action bits in i2c_pxa_stop_message() Russell King
  2020-05-06  9:36 ` [PATCH 2/2] i2c: pxa: use master-abort for device probes Russell King
  0 siblings, 2 replies; 5+ messages in thread
From: Russell King - ARM Linux admin @ 2020-05-06  9:36 UTC (permalink / raw)
  To: linux-i2c

Hi,

This series allows us to use the "master abort" feature when probing
slaves rather than resetting the controller, which allows more
graceful recovery to bus free state after sending the address byte.

The i2c-pxa controller expects to send data after the address byte
rather than a stop.  Rather than resetting the bus (and thus forcing
a bus-free state by releasing the SCL line) which may leave the bus
in an indeterminant state, use the master-abort command instead.

This patch series applies on top of the previous posted cleanup patches,
although it may also apply to -rc.

 drivers/i2c/busses/i2c-pxa.c | 16 ++++------------
 1 file changed, 4 insertions(+), 12 deletions(-)

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line in suburbia: sync at 10.2Mbps down 587kbps up

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

end of thread, other threads:[~2020-05-12 10:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-06  9:36 [PATCH 0/2] Use master-abort for slave probes Russell King - ARM Linux admin
2020-05-06  9:36 ` [PATCH 1/2] i2c: pxa: clear all master action bits in i2c_pxa_stop_message() Russell King
2020-05-12 10:38   ` Wolfram Sang
2020-05-06  9:36 ` [PATCH 2/2] i2c: pxa: use master-abort for device probes Russell King
2020-05-12 10:39   ` Wolfram Sang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).