[updated since v1: also works for retention/off when idle by masking off GPIO clocks in the 'fclks_active' check.] This series against the current PM branch is to add support for auto-disabling GPIO debounce clocks when the system is idle. Without this, any platform using the GPIO debounce feature will not go into retention since the GPIO debounce clocks are still active. This is needed particularily on OMAP3EVM which sets up the debounce clocks for the touchscreen GPIO. Kevin Hilman (2): OMAP2/3: GPIO: generalize prepare for idle OMAP3: GPIO: disable GPIO debounce clocks on idle arch/arm/mach-omap2/pm24xx.c | 4 ++-- arch/arm/mach-omap2/pm34xx.c | 14 ++++++++------ arch/arm/plat-omap/gpio.c | 27 +++++++++++++++++++++------ arch/arm/plat-omap/include/mach/gpio.h | 4 ++-- 4 files changed, 33 insertions(+), 16 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html