summaryrefslogtreecommitdiffstats
path: root/drivers/soc/ti/Kconfig
diff options
context:
space:
mode:
authorKeerthy <j-keerthy@ti.com>2019-04-03 10:27:42 +0530
committerTony Lindgren <tony@atomide.com>2019-04-08 10:39:01 -0700
commit5a99ae0092fe24fd581fdb6b9c2b48f94f92cf32 (patch)
treea944d2b28f56550f5af773a48bef676670ce11fe /drivers/soc/ti/Kconfig
parent1c6c03545089ef13a5dd6ef85900765be64aea49 (diff)
downloadlinux-5a99ae0092fe24fd581fdb6b9c2b48f94f92cf32.tar.bz2
soc: ti: pm33xx: AM437X: Add rtc_only with ddr in self-refresh support
During RTC-only suspend, power is lost to the wkup domain, so we need to save and restore the state of that domain. We also need to store some information within the RTC registers so that u-boot can do the right thing at powerup. The state is entered by getting the RTC to bring the pmic_power_en line low which will instruct the PMIC to disable the appropriate power rails after putting DDR into self-refresh mode. To bring pmic_power_en low, we need to get an ALARM2 event. Since we are running from SRAM at that point, it means calculating what the next second is (via ASM) and programming that into the RTC. This patch also adds support for wake up source detection. Signed-off-by: Keerthy <j-keerthy@ti.com> Signed-off-by: Dave Gerlach <d-gerlach@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'drivers/soc/ti/Kconfig')
-rw-r--r--drivers/soc/ti/Kconfig5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/soc/ti/Kconfig b/drivers/soc/ti/Kconfig
index be4570baad96..57960e92ebe0 100644
--- a/drivers/soc/ti/Kconfig
+++ b/drivers/soc/ti/Kconfig
@@ -45,11 +45,12 @@ config KEYSTONE_NAVIGATOR_DMA
config AMX3_PM
tristate "AMx3 Power Management"
depends on SOC_AM33XX || SOC_AM43XX
- depends on WKUP_M3_IPC && TI_EMIF_SRAM && SRAM
+ depends on WKUP_M3_IPC && TI_EMIF_SRAM && SRAM && RTC_DRV_OMAP
help
Enable power management on AM335x and AM437x. Required for suspend to mem
and standby states on both AM335x and AM437x platforms and for deeper cpuidle
- c-states on AM335x.
+ c-states on AM335x. Also required for rtc and ddr in self-refresh low
+ power mode on AM437x platforms.
config WKUP_M3_IPC
tristate "TI AMx3 Wkup-M3 IPC Driver"