Skip to content

OMAP: I2C: reprogram OCP_SYSCONFIG after device reset

Paul Walmsley linux-omap 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2OMAP: I2C: convert 'rev1' flag to generic 'rev' u8drivers/i2c/busses/i2c-omap.c+16 -90 replies
2/2OMAP2/3 I2C: reprogram OCP_SYSCONFIG register after resetdrivers/i2c/busses/i2c-omap.c+34 -61 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/2] OMAP: I2C: reprogram OCP_SYSCONFIG after device reset

Hello,

This patch set programs the I2C controller OCP_SYSCONFIG register after the driver resets the device. It is derived from the changes mentioned by Richard Woodruff <[email protected]> at

http://git.omapzoom.org/?p=omapkernel;a=blob;f=drivers/i2c/busses/i2c-omap.c;hb=d0b4bad4926f9a147a73498f7a62a0ae1cf6f83a

however, the CLOCKACTIVITY change on clk_enable()/clk_disable() in that code currently seems pointless, so it has been excluded until more information is available from TI or until problems are encountered.

This patchset should only change behavior on OMAP2x30 and OMAP3xxx devices.

Boot-tested on 2430SDP and 3430SDP; compile-tested with the 5912OSK (OMAP1) defconfig. Comments welcome,

- Paul

---

text data bss dec hex filename

3472584  160600  105760 3738944  390d40 vmlinux.3430sdp.orig
3472616  160600  105760 3738976  390d60 vmlinux.3430sdp
 drivers/i2c/busses/i2c-omap.c |   65 ++++++++++++++++++++++++++++++++---------
 1 files changed, 50 insertions(+), 15 deletions(-)