Skip to content

OMAP 3 and 4 i2c fixes

Andy Green linux-arm-kernel linux-omap 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4OMAP3 and 4 hwmod I2C units only allow 16 bit accessarch/arm/mach-omap2/omap_hwmod_3xxx_data.c arch/arm/mach-omap2/omap_hwmod_44xx_data.c+7 -42 replies
1/4OMAP3 and 4 hwmod I2C units only allow 16 bit access+0 -01 reply
1/4OMAP3 and 4 hwmod I2C units only allow 16 bit access+0 -01 reply
2/4OMAP3 I2C document why cpu type and not peripheral unit ID used to probedrivers/i2c/busses/i2c-omap.c+11 -01 reply
2/4OMAP3 I2C document why cpu type and not peripheral unit ID used to probe+0 -00 replies
3/4OMAP3 and 4 i2c mark extended reg enums as extended onlydrivers/i2c/busses/i2c-omap.c+12 -111 reply
3/4OMAP3 and 4 i2c mark extended reg enums as extended only+0 -01 reply
4/4OMAP3 and 4 I2C use cpu type consistently for new register availabilitydrivers/i2c/busses/i2c-omap.c+1 -11 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] OMAP 3 and 4 i2c fixes

The following series fixes two issues with OMAP 3 and 4 i2c support.

First, hwmod tables don't have the i2c units marked up as being for 16-bit access only, which is mandatory.

Second, the i2c peripheral unit init code is confused about using cpu_is...() and probed peripheral unit version, leading to OMAP3 i2c code doing the wrong thing and accessing nonexistant registers.

---

Andy Green (4):
OMAP3 and 4 I2C use cpu type consistently for new register availability OMAP3 and 4 i2c mark extended reg enums as extended only OMAP3 I2C document why cpu type and not peripheral unit ID used to probe OMAP3 and 4 hwmod I2C units only allow 16 bit access

 arch/arm/mach-omap2/omap_hwmod_3xxx_data.c |    3 ++
 arch/arm/mach-omap2/omap_hwmod_44xx_data.c |    8 +++---
 drivers/i2c/busses/i2c-omap.c              |   36 +++++++++++++++++++---------
 3 files changed, 31 insertions(+), 16 deletions(-)
Signature · 1 line
Signature