linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/5] i2c: davinci improvements and fixes
@ 2014-11-26 13:59 Grygorii Strashko
  2014-11-26 13:59 ` [PATCH v2 1/5] i2c: i2c-davinci: switch to use platform_get_irq Grygorii Strashko
                   ` (4 more replies)
  0 siblings, 5 replies; 19+ messages in thread
From: Grygorii Strashko @ 2014-11-26 13:59 UTC (permalink / raw)
  To: Wolfram Sang, Sekhar Nori, Uwe Kleine-König
  Cc: linux-i2c, linux-arm-kernel, linux-kernel, Mike Looijmans,
	Grygorii Strashko, Kevin Hilman, Santosh Shilimkar,
	Murali Karicheri

This series contains some fixes and improvements for Davinci I2C:
patch 1 - small improvement
patch 2 - fixes "Bus busy" state for some case (was reported long time ago:()

patch 3-5 - converts driver to use I2C bus recovery infrastructure and
adds Davinci I2C bus recovery mechanizm based on using ICPFUNC registers.
These patches are combination of two patches from Ben Gardiner [1] and
Mike Looijmans [2] which i've reworked to use I2C bus recovery infrastructure

[1] http://lists.infradead.org/pipermail/linux-arm-kernel/2011-April/047305.html
"[PATCH 0/6] i2c-davinci gpio pulsed SCL recovery with ICPFUNC"
[2] https://lkml.org/lkml/2014/2/28/133
"[PATCH] i2c-davinci: Implement a bus recovery that actually works"

Changes in v2:
- patch 1: error handling improved
- patch 2: commit message updated
- patch 4: minor comments applied
- patch 5: added new optional DT property "ti,has-pfunc"

Link on v1:
 http://www.spinics.net/lists/linux-i2c/msg17601.html

CC: Sekhar Nori <nsekhar@ti.com>
CC: Kevin Hilman <khilman@deeprootsystems.com>
CC: Santosh Shilimkar <ssantosh@kernel.org>
CC: Murali Karicheri <m-karicheri2@ti.com>

Grygorii Strashko (5):
  i2c: i2c-davinci: switch to use platform_get_irq
  i2c: davinci: query STP always when NACK is received
  i2c: recovery: change input parameter to i2c_adapter for prepare/unprepare_recovery
  i2c: davinci: use bus recovery infrastructure
  i2c: davinci: use ICPFUNC to toggle I2C as gpio for bus recovery

 .../devicetree/bindings/i2c/i2c-davinci.txt        |   3 +
 drivers/i2c/busses/i2c-davinci.c                   | 205 +++++++++++++++------
 drivers/i2c/i2c-core.c                             |   4 +-
 include/linux/i2c.h                                |   4 +-
 include/linux/platform_data/i2c-davinci.h          |   1 +
 5 files changed, 159 insertions(+), 58 deletions(-)

-- 
1.9.1

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

end of thread, other threads:[~2015-07-07 14:53 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-26 13:59 [PATCH v2 0/5] i2c: davinci improvements and fixes Grygorii Strashko
2014-11-26 13:59 ` [PATCH v2 1/5] i2c: i2c-davinci: switch to use platform_get_irq Grygorii Strashko
     [not found]   ` <1417010393-30598-2-git-send-email-grygorii.strashko-l0cyMroinI0@public.gmane.org>
2014-11-26 15:54     ` Uwe Kleine-König
     [not found]       ` <20141126155431.GK4431-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2014-11-26 16:28         ` Grygorii Strashko
2014-11-26 13:59 ` [PATCH v2 2/5] i2c: davinci: query STP always when NACK is received Grygorii Strashko
     [not found]   ` <1417010393-30598-3-git-send-email-grygorii.strashko-l0cyMroinI0@public.gmane.org>
2014-11-26 15:57     ` Uwe Kleine-König
2014-11-26 16:31       ` Grygorii Strashko
2014-11-26 17:15         ` Uwe Kleine-König
2014-11-26 13:59 ` [PATCH v2 3/5] i2c: recovery: change input parameter to i2c_adapter for prepare/unprepare_recovery Grygorii Strashko
2014-11-26 13:59 ` [PATCH v2 4/5] i2c: davinci: use bus recovery infrastructure Grygorii Strashko
     [not found]   ` <1417010393-30598-5-git-send-email-grygorii.strashko-l0cyMroinI0@public.gmane.org>
2014-11-26 15:59     ` Uwe Kleine-König
2014-11-26 13:59 ` [PATCH v2 5/5] i2c: davinci: use ICPFUNC to toggle I2C as gpio for bus recovery Grygorii Strashko
     [not found]   ` <1417010393-30598-6-git-send-email-grygorii.strashko-l0cyMroinI0@public.gmane.org>
2014-11-26 16:04     ` Uwe Kleine-König
     [not found]       ` <20141126160407.GN4431-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2014-11-26 17:05         ` Grygorii Strashko
     [not found]           ` <5476085B.40009-l0cyMroinI0@public.gmane.org>
2015-07-07 13:37             ` Jan Lübbe
     [not found]               ` <1436276269.3344.94.camel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2015-07-07 13:43                 ` Wolfram Sang
2015-07-07 13:48                 ` Uwe Kleine-König
     [not found]                   ` <20150707134852.GE9671-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2015-07-07 14:13                     ` Wolfram Sang
2015-07-07 14:53                       ` Grygorii Strashko

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