linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] i2c: i2c-mv64xxx: fix offload support
@ 2014-12-11 16:33 Thomas Petazzoni
       [not found] ` <1418315626-9552-1-git-send-email-thomas.petazzoni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
  2014-12-11 16:33 ` [PATCH 2/2] i2c: i2c-mv64xxx: rework offload support to fix several problems Thomas Petazzoni
  0 siblings, 2 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2014-12-11 16:33 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: Maxime Ripard, Jason Cooper, Andrew Lunn, Sebastian Hesselbarth,
	Gregory Clement, Tawfik Bayouk, Nadav Haklai, Lior Amsalem,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	Ezequiel Garcia, linux-i2c-u79uwXL29TY76Z2rM5mHXA,
	Thomas Petazzoni

Wolfram,

Please consider this set of two patches (one cleanup and one fix) that
aim at making the i2c-mv64xxx offload support work properly for SMBus
type transfers and make sure it only gets used for transactions where
it can really be used (in order to comply with the expectations of the
I2C subsystem in terms of repeated start usage between messages of the
same xfer).

Without this patch, a platform like the Armada XP WRT1900AC doesn't
even boot completely, because an I2C LED controller driver triggers
some SMBus transfers that are do not work with the current i2c-mv64xxx
driver.

They apply on top of 3.18.

Thanks,

Thomas

Thomas Petazzoni (2):
  i2c: i2c-mv64xxx: use BIT() macro for register value definitions
  i2c: i2c-mv64xxx: rework offload support to fix several problems

 drivers/i2c/busses/i2c-mv64xxx.c | 325 +++++++++++++++++++++++----------------
 1 file changed, 194 insertions(+), 131 deletions(-)

-- 
2.1.0

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

end of thread, other threads:[~2014-12-17 18:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-11 16:33 [PATCH 0/2] i2c: i2c-mv64xxx: fix offload support Thomas Petazzoni
     [not found] ` <1418315626-9552-1-git-send-email-thomas.petazzoni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
2014-12-11 16:33   ` [PATCH 1/2] i2c: i2c-mv64xxx: use BIT() macro for register value definitions Thomas Petazzoni
     [not found]     ` <1418315626-9552-2-git-send-email-thomas.petazzoni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
2014-12-17 18:15       ` Wolfram Sang
2014-12-11 16:33 ` [PATCH 2/2] i2c: i2c-mv64xxx: rework offload support to fix several problems Thomas Petazzoni
2014-12-17 18:15   ` 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).