Skip to content

ARM: OMAP4 device off support

Tero Kristo linux-arm-kernel linux-omap 1 version New

Get series with b4
b4 am 1334933002.2149.44.camel@sokoban

Versions newest first

  1. v1 Latest0 of 19 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 19 patches the cover letter announces are in this archive.

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 00/19] ARM: OMAP4 device off support
Quoted 20 lines · Shubhrajyoti
Quoted 19 lines · Tero Kristo
Quoted 17 lines · Kevin Hilman

Tero Kristo <[email protected]> writes:

[...]

Quoted 11 lines
Quoted 5 lines

I tried your branch on gp/emu devices but could not reproduce this issue. My observation is that while resuming, omap_hsmmc.1 eMMC is trying to turn on phoenix vaux1 regulator via i2c which fails due to controller timeout.
Note: eMMC is present only on sdp/blaze

Did you try this with off-mode enabled and did you check the device actually goes to off? (see pm_debug/count and verify core off count is increasing.) And as said, I was only able to see this problem on a blaze device, panda works fine. But yes, you are probably right and it is not an MMC driver issue but I2C.

Can you try the patch below? It sounds like the same problem.

Quoted 7 lines
Quoted 4 lines

Doesn't help with this one. I guess I2C loses context during device off and it is not restored properly.

-Tero

Could you try the following patch

https://lkml.org/lkml/2012/3/30/345

That does the trick, after this it is working fine on blaze, and this also fixes the timeout issues seen on panda board (meaning wake-up from device off is much faster.)

-Tero