Use PM runtime framework in OMAP GPIO driver.

Patch series is based on LO Kernel omap_for_linus branch.

Dependency patches to test system wide suspend on omap_for_linus branch:
https://patchwork.kernel.org/patch/550551/
https://patchwork.kernel.org/patch/513481/

Compile tested for:
 - omap1_defconfig
 - omap2plus_defconfig

Boot test (success on the following boards):
 - OMAP1710-H3
 - OMAP2420-H4
 - OMAP2430-SDP (Tested-by: Tarun Kanti DebBarma <tarun.ka...@ti.com>)
 - OMAP3430-SDP
 - OMAP3630-Zoom3
 - OMAP4430-Blaze
 - OMAP4430-SDP

GPIO module functionality testing (success on the following boards):
 - OMAP2420-H4
 - OMAP2430-SDP (Tested-by: Tarun Kanti DebBarma <tarun.ka...@ti.com>)
 - OMAP3430-SDP
 - OMAP3630-Zoom3
 - OMAP4430-Blaze
 - OMAP4430-SDP

PM Testing:
OMAP3430-SDP(success):
 - retention
 - off_mode
 - system_wide suspend
OMAP3630-Zoom3(success):
 - retention
 - off_mode
 - system_wide suspend
 - wakeup test

using the following:
echo 5 > /sys/devices/platform/omap/omap_uart.0/sleep_timeout
echo 5 > /sys/devices/platform/omap/omap_uart.1/sleep_timeout
echo 5 > /sys/devices/platform/omap/omap_uart.2/sleep_timeout
echo '3' > /debug/pm_debug/wakeup_timer_seconds
echo 1 > /debug/pm_debug/sleep_while_idle
echo 1 > /debug/pm_debug/enable_off_mode
echo mem > /sys/power/state
cat /debug/pm_debug/count

Link to previous patch series for GPIO PM runtime framework adaptation
as part of GPIO hwmod adaptation series:
http://www.mail-archive.com/linux-omap@vger.kernel.org/msg35123.html
https://patchwork.kernel.org/patch/189832/

Charulatha V (5):
  OMAP: GPIO: Make gpio_context part of gpio_bank structure
  OMAP: GPIO: Use pwrdmn name to find wkup dmn GPIO
  OMAP4: GPIO: Save/restore context
  OMAP: GPIO: handle save/restore ctxt in GPIO driver
  OMAP: GPIO: Use PM runtime framework

 arch/arm/mach-omap2/gpio.c             |    6 +
 arch/arm/mach-omap2/pm24xx.c           |    2 +-
 arch/arm/mach-omap2/pm34xx.c           |   20 +-
 arch/arm/plat-omap/gpio.c              |  563 ++++++++++++++++++--------------
 arch/arm/plat-omap/include/plat/gpio.h |    5 +-
 5 files changed, 330 insertions(+), 266 deletions(-)

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

Reply via email to