Skip to content

34XX: PM: Workarounds to get omap3 to retention 3rd.

Jouni Hogander linux-omap 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 19 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/734XX: PM: Workaround to build omap hsmmc as a modulearch/arm/configs/omap_3430sdp_defconfig+1 -110 replies
2/734XX: PM: Workaround to enable autoidle for clocks and pllsarch/arm/mach-omap2/pm34xx.c+120 -03 replies
3/734XX: PM: Workaround to reset all wkdepsarch/arm/mach-omap2/pm34xx.c+18 -20 replies
4/734XX: PM: Workaround to check wether any fck is active before entering sleeparch/arm/mach-omap2/pm34xx.c+31 -00 replies
5/7OMAP: PM: Add new sysfs option for disabling clocks when entering idlearch/arm/mach-omap2/pm.c arch/arm/mach-omap2/pm.h+32 -60 replies
6/734XX: PM: Workaround for taking care of gpio clocksarch/arm/mach-omap2/pm34xx.c arch/arm/mach-omap2/sleep34xx.S+87 -24 replies
7/7Added sleep support to UARTarch/arm/mach-omap2/pm-debug.c arch/arm/mach-omap2/pm.h arch/arm/mach-omap2/pm24xx.c +3 more+200 -1640 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/7] 34XX: PM: Workarounds to get omap3 to retention 3rd.

Hi,

This patch set contains all workarounds that are needed to get omap3 to retention. Also patch from Tero Kristo to get PM to work if using serial console is included in this set. Basically all patches in this set should be reverted one by one as correct fixes are implemented and applied.

This patch set superseeds earlier version sent 2008-06-17 7:28:35.

To get Omap into retention, this patch set still depends on:
1. ARCH: OMAP: MUSB: Do not block sleep (Felipe Balbi)
2. ARM: OMAP: SmartReflex driver: enable in omap_3430sdp_defconfig (Kalle Jokiniemi)
3. PRCM: 34XX: Fix wrong shift value used in dpll4_m4x2_ck enable bit
4. Patch which removes control of usbhost_sar_fck from clock tree (Paul Walmsley will send this soon)

Test:
1. Apply dependency patches and workaround set on top of them

2. Enable disabling/enabling of gpio2-6 and uart clocks on idle:

   $ echo 1 > /sys/power/clocks_off_while_idle

3. Try out static suspend:

   $ echo mem > /sys/power/state
   Wake up from suspend by entering character to serial console. This
   should print out:
   "Successfully put all powerdomains to target state"

4. Try out dynamic sleep:

   $ echo 1 > /sys/power/sleep_while_idle
   On Omap3430 SDP board VCORE_EN led can be used as an indicator. If
   it starts to blink after a while then Omap enters retention on
   idle. To make this work also display needs to be blanked.
Signature · 6 lines
Jouni Högander

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html