[PATCH 0/2] i2c: i2c-mv64xxx: fix offload support

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Dec 11 08:33:44 PST 2014


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




More information about the linux-arm-kernel mailing list