linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V4 0/2] I2C: Add bus recovery infrastructure
@ 2012-05-04  9:40 Viresh Kumar
       [not found] ` <cover.1336124143.git.viresh.kumar-qxv4g6HH51o@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Viresh Kumar @ 2012-05-04  9:40 UTC (permalink / raw)
  To: w.sang-bIcnvbaLZ9MEGnE8C9+IrQ
  Cc: khali-PUYAD+kWke1g9hUCZPvPmw, ben-linux-elnMNo+KYs3YtjvyW6yDsg,
	linux-i2c-u79uwXL29TY76Z2rM5mHXA, baruch-NswTu9S1W3P6gbPvEgmw2w,
	ldewangan-DDmLM1+adcrQT0dZR+AlfA,
	omaplinuxkernel-Re5JQEeQqe8AvxtiuMwx3w, ml.lawnick-Mmb7MZpHnFY,
	spear-devel-nkJGhpqTU55BDgjK7y7TUQ,
	viresh.linux-Re5JQEeQqe8AvxtiuMwx3w, Viresh Kumar

Hi Wolfram,

This patchset adds i2c bus recovery infrastructure to i2c adapters as specified
in the i2c protocol Rev. 03 section 3.16 titled "Bus clear".

http://www.nxp.com/documents/user_manual/UM10204.pdf

This patch was earlier part of a separate thread:
http://www.spinics.net/lists/linux-i2c/msg07267.html

V3->V4:
- created single i2c_recover_bus() routine instead of two.
- do bus recovery from i2c core files, instead of individual controller drivers.
- created separate struct for gpio configurations
- Documentation updated for bus recovery
- Renamed few variables to give clear names to them
- few prints changed to dev_dbg

V2->V3:
- gpio flags are now passed from controller drivers
- added support for sda line polling
- Aligned i2c-designware driver with generic recovery support
      
Viresh Kumar (2):
  i2c/adapter: Add bus recovery infrastructure
  i2c/designware: Provide i2c bus recovery support

 Documentation/i2c/bus-recovery              |   87 +++++++++++++++
 drivers/i2c/busses/i2c-designware-core.c    |    1 -
 drivers/i2c/busses/i2c-designware-platdrv.c |   31 +++++
 drivers/i2c/i2c-core.c                      |  160 +++++++++++++++++++++++++++
 drivers/i2c/i2c-mux.c                       |    9 ++-
 include/linux/i2c.h                         |   58 ++++++++++
 include/linux/i2c/i2c-designware.h          |   49 ++++++++
 7 files changed, 393 insertions(+), 2 deletions(-)
 create mode 100644 Documentation/i2c/bus-recovery
 create mode 100644 include/linux/i2c/i2c-designware.h

-- 
1.7.9

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

end of thread, other threads:[~2012-07-27 14:39 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-04  9:40 [PATCH V4 0/2] I2C: Add bus recovery infrastructure Viresh Kumar
     [not found] ` <cover.1336124143.git.viresh.kumar-qxv4g6HH51o@public.gmane.org>
2012-05-04  9:40   ` [PATCH V4 1/2] i2c/adapter: " Viresh Kumar
     [not found]     ` <3484bf49a423bd55daa6a45e68c2c31dce46eb32.1336124143.git.viresh.kumar-qxv4g6HH51o@public.gmane.org>
2012-05-15  6:58       ` Viresh Kumar
     [not found]         ` <4FB1FE9F.7030700-qxv4g6HH51o@public.gmane.org>
2012-06-13  9:03           ` viresh kumar
     [not found]             ` <CAOh2x=m1XFLpunpTPUW7ozT3cExXNHyLwF7sDy4MxyjuK2uNwQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-07-02 11:08               ` Shiraz Hashim
     [not found]                 ` <20120702110818.GP1978-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2012-07-16 11:35                   ` viresh kumar
2012-07-18 13:57       ` Shubhrajyoti Datta
2012-07-27 14:39       ` Shubhrajyoti Datta
2012-05-04  9:41   ` [PATCH V4 2/2] i2c/designware: Provide i2c bus recovery support Viresh Kumar

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).