ARM: OMAP: AM33XX: PM: Add ddr_vtt_enable support for EVM-SK1.2
authorSatyanarayana, Sandhya <sandhya.satyanarayana@ti.com>
Thu, 5 Jul 2012 09:20:55 +0000 (14:50 +0530)
committerSatyanarayana, Sandhya <sandhya.satyanarayana@ti.com>
Thu, 12 Jul 2012 12:16:33 +0000 (17:46 +0530)
commite5fc4ccd43a92adec637beef8d2b03908cef7946
tree32cff1e5a86920630eadb0d153ab7a71646dd181
parentef17643d4f1a61276f51a08163d74e3c4f597efe
ARM: OMAP: AM33XX: PM: Add ddr_vtt_enable support for EVM-SK1.2

EVM-SK Rev1.2 has gpio control(gpio0_7) for VTT
regulator control pin through which VTT regulator
can be disabled (drive gpio LOW) during suspend
and enabled (drive gpio HIGH) during resume.
This will aid in achieving lower power during DS0.

This patch does the pin-muxing for gpio0_7 and toggles
it during suspend-resume.

Gpio0_7 was driven High in u-boot before configuring DDR.

This has been tested on EVM-SK and EVM.

Signed-off-by: Satyanarayana, Sandhya <sandhya.satyanarayana@ti.com>
arch/arm/mach-omap2/board-am335xevm.c
arch/arm/mach-omap2/include/mach/board-am335xevm.h
arch/arm/mach-omap2/pm33xx.c
arch/arm/mach-omap2/pm33xx.h
arch/arm/mach-omap2/sleep33xx.S
arch/arm/plat-omap/include/plat/gpio.h