Skip to content

I2C fixes

Kevin Hilman linux-arm-kernel linux-i2c linux-omap 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v10 Latest1 of 11 patches 0 repliesNew
  2. v9 posting 2/20 of 10 patches 0 repliesSuperseded
  3. v9 posting 1/24 of 10 patches 0 repliesSuperseded

1 of 11 patches is in this archive. The cover letter announces 11.

Patches in v10 No applies recorded yet

#Subject and filesSizeRepliesApplied
7/11I2C: OMAP: Handle error check for pm runtime+0 -01 reply

Reviews trailers per patch

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

Read the v10 thread

Cover letter [PATCHv10 00/11] I2C fixes
Quoted 11 lines · Shubhrajyoti D

The patch series does the following

- Warn fixes if CONFIG_PM_RUNTIME is not selected.
- In case of i2c remove register access was done without any get_sync fix the same.
- Folds a patch from Tasslehoff to prevent any merge conflicts.
- Prevents the XDUF flag to be set if the underflow condition is not met.
- As per discussion in [1] .Adds a patch to rename the 1p153 errata and use the unique id instead as the section number in the recent errata docs has changed.

Quoted 7 lines

v9:
Fix the comments from Wolfram Sang

v10:
Add a patch from Neil to the series.
Fix kevin comments
update the patches with comments.

Shubhrajyoti, thanks for the updates.

Wolfgang, with these updates and testing a bit better described, I'm OK with you merging it. Merging it now will give it plenty of time to bake in linux-next and get more test exposure.

Thanks,

Kevin

Quoted 37 lines

[1] http://www.spinics.net/lists/linux-i2c/msg07607.html

Tested on omap4sdp and omap3sdp.
- Did functional tests read write on both the platforms.
- Off mode and retention on OMAP3
- On OMAP4 just did echo mem > /sys/power/state and wakeup. Did see.

[ 1360.595855] Successfully put all powerdomains to target state

However didnt see the ret count for other than mpu_pwrdm increase. I think power support for omap4 is minimal.

The following changes since commit b48b2c3e50433ff6f7e46186daa7f986bd960215:

openrisc: use generic strnlen_user() function (2012-05-27 21:00:32 -0700)

are available in the git repository at:
git://gitorious.org/linus-tree/linus-tree.git i2c_omap-fixes

Neil Brown (1):
OMAP/I2C - Fix timeout problem during suspend.

Shubhrajyoti D (9):
I2C: OMAP: make omap_i2c_unidle/idle functions depend on CONFIG_PM_RUNTIME
I2C: OMAP: Fix the mismatch of pm_runtime enable and disable
I2C: OMAP: Fix the interrupt clearing in OMAP4
I2C: OMAP: Prevent the register access after pm_runtime_put in probe
I2C: OMAP: Don't check if wait_for_completion_timeout() returns less than zero
I2C: OMAP: Fix the crash in i2c remove
I2C: OMAP: Handle error check for pm runtime
I2C: OMAP: Do not set the XUDF(Transmit underflow) if the underflow is not reached
I2C: OMAP: Rename the 1p153 to the erratum id i462

Tasslehoff Kjappfot (1):
I2C: OMAP: prevent the overwrite of the errata flags

 drivers/i2c/busses/i2c-omap.c |  129 ++++++++++++++++++++---------------------
 1 files changed, 63 insertions(+), 66 deletions(-)