linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] i2c: davinci improvements and fixes
@ 2014-11-20 10:03 Grygorii Strashko
  2014-11-20 10:03 ` [PATCH 1/5] i2c: i2c-davinci: switch to use platform_get_irq Grygorii Strashko
                   ` (4 more replies)
  0 siblings, 5 replies; 29+ messages in thread
From: Grygorii Strashko @ 2014-11-20 10:03 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: linux-i2c, linux-kernel, Grygorii Strashko, Sekhar Nori,
	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"

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

 drivers/i2c/busses/i2c-davinci.c          | 196 ++++++++++++++++++++++--------
 drivers/i2c/i2c-core.c                    |   4 +-
 include/linux/i2c.h                       |   4 +-
 include/linux/platform_data/i2c-davinci.h |   1 +
 4 files changed, 148 insertions(+), 57 deletions(-)

-- 
1.9.1

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

end of thread, other threads:[~2014-11-25 13:04 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-20 10:03 [PATCH 0/5] i2c: davinci improvements and fixes Grygorii Strashko
2014-11-20 10:03 ` [PATCH 1/5] i2c: i2c-davinci: switch to use platform_get_irq Grygorii Strashko
2014-11-20 21:48   ` [1/5] " Uwe Kleine-König
     [not found]     ` <20141120214838.GA346-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2014-11-21 11:01       ` Grygorii Strashko
     [not found]         ` <546F1B7D.1020209-l0cyMroinI0@public.gmane.org>
2014-11-21 14:03           ` Rob Herring
2014-11-21 14:59             ` Grygorii Strashko
     [not found] ` <1416477788-5544-1-git-send-email-grygorii.strashko-l0cyMroinI0@public.gmane.org>
2014-11-20 10:03   ` [PATCH 2/5] i2c: davinci: query STP always when NACK is received Grygorii Strashko
     [not found]     ` <1416477788-5544-3-git-send-email-grygorii.strashko-l0cyMroinI0@public.gmane.org>
2014-11-20 22:19       ` [2/5] " Uwe Kleine-König
     [not found]         ` <20141120221953.GI27002-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2014-11-21 12:48           ` Grygorii Strashko
     [not found]             ` <546F34B9.1000206-l0cyMroinI0@public.gmane.org>
2014-11-21 13:10               ` Uwe Kleine-König
2014-11-21 15:33                 ` Grygorii Strashko
     [not found]                   ` <546F5B51.1030006-l0cyMroinI0@public.gmane.org>
2014-11-23 20:33                     ` Uwe Kleine-König
     [not found]                       ` <20141123203314.GF4431-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2014-11-24 13:34                         ` Grygorii Strashko
     [not found]                           ` <547333EB.5050403-l0cyMroinI0@public.gmane.org>
2014-11-24 20:02                             ` Uwe Kleine-König
2014-11-20 10:03 ` [PATCH 3/5] i2c: recovery: change input parameter to i2c_adapter for prepare/unprepare_recovery Grygorii Strashko
     [not found]   ` <1416477788-5544-4-git-send-email-grygorii.strashko-l0cyMroinI0@public.gmane.org>
2014-11-21 18:49     ` [3/5] " Uwe Kleine-König
2014-11-20 10:03 ` [PATCH 4/5] i2c: davinci: use bus recovery infrastructure Grygorii Strashko
     [not found]   ` <1416477788-5544-5-git-send-email-grygorii.strashko-l0cyMroinI0@public.gmane.org>
2014-11-21 19:07     ` [4/5] " Uwe Kleine-König
     [not found]       ` <20141121190744.GB4431-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2014-11-21 19:33         ` Grygorii Strashko
     [not found]           ` <546F9382.40102-l0cyMroinI0@public.gmane.org>
2014-11-23 20:36             ` Uwe Kleine-König
2014-11-24 13:26               ` Grygorii Strashko
     [not found]                 ` <547331F2.3000006-l0cyMroinI0@public.gmane.org>
2014-11-24 20:07                   ` Uwe Kleine-König
2014-11-20 10:03 ` [PATCH 5/5] i2c: davinci: use ICPFUNC to toggle I2C as gpio for bus recovery Grygorii Strashko
     [not found]   ` <1416477788-5544-6-git-send-email-grygorii.strashko-l0cyMroinI0@public.gmane.org>
2014-11-23 17:04     ` [5/5] " Uwe Kleine-König
     [not found]       ` <20141123170400.GC4431-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2014-11-24 13:15         ` Grygorii Strashko
     [not found]           ` <54732F8E.4080105-l0cyMroinI0@public.gmane.org>
2014-11-24 18:13             ` Mike Looijmans
     [not found]               ` <54737532.1050808-KQxf8TFvCoAi8rCdYzckzA@public.gmane.org>
2014-11-24 19:22                 ` Grygorii Strashko
2014-11-24 19:45             ` Uwe Kleine-König
     [not found]               ` <20141124194533.GU4431-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2014-11-25 13:04                 ` 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).