Skip to contentSkip to conversation

ARM:OMAP3: Smartreflex disable/enable fix

PATCH New Kalle Jokiniemi 1 participant 1 message Aug 29, 2008

lore
Share & tools
lore
#0 lore raw

cover ARM:OMAP3: Smartreflex disable/enable fix

Smartreflex is missing disable/enable calls for pm-idle and cpu idle idle paths. I'm sending the following patch for people to test with. It moves the disable/enable calls to omap_sram_idle in pm34xx.c. Whis covers all idle paths.

The problem has been verifying that this actually works. Using the unstable test values for smartreflex autocompensation, the patch had instability problems on my ES2.0 sdp board but worked fine on ES2.1 device.

Please give it a try with jouni högander's workaround patches that enable retention and SMARTREFLEX_TESTING config flag. Both suspend and dynamic idle should work without crashes.

echo 1 > /sys/power/clocks_off_while_idle
echo 1 > /sys/power/sr_vdd1_autocomp
echo 1 > /sys/power/sr_vdd2_autocomp

If your device crashes here, the testing values don't fit your device's real parameters.

echo mem > /sys/power/state

echo 1 > /sys/power/sleep_while_idle

If no problems arise, this patch could be pushed.

regards,
Kalle
--
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