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)
committerVishveshwar Bhat <vishveshwar.bhat@ti.com>
Fri, 13 Jul 2012 05:18:14 +0000 (10:48 +0530)
commit7993efdb148e43ba548e7ba35db2665bcbc61de7
tree7ab93da8f2b15e921d349438bd7b84b153a36bfe
parentbd33df2fe75d8b79c6bdc4f8597e3c67ccfaa479
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