aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/pm-asm-offsets.c
diff options
context:
space:
mode:
authorKeerthy <j-keerthy@ti.com>2018-07-09 13:03:17 +0530
committerTony Lindgren <tony@atomide.com>2018-07-09 23:01:34 -0700
commit8c5a916f4c8815196cc8a86b9582ca89422aac25 (patch)
tree5e5b50ed30d2804ed2c4826da5892f6f66bc565f /arch/arm/mach-omap2/pm-asm-offsets.c
parentARM: OMAP2+: sleep33/43xx: Make sleep actions configurable (diff)
downloadlinux-dev-8c5a916f4c8815196cc8a86b9582ca89422aac25.tar.xz
linux-dev-8c5a916f4c8815196cc8a86b9582ca89422aac25.zip
ARM: OMAP2+: sleep33/43xx: Add RTC-Mode support
Add support for RTC mode to low level suspend code. This includes providing the rtc base address for the assembly code to configuring the PMIC_PWR_EN line late in suspend to enter RTC+DDR mode. Note: This patch also fold in left out space parameter for am33xx_emif_sram_table and am43xx_emif_sram_table Signed-off-by: Dave Gerlach <d-gerlach@ti.com> Signed-off-by: Keerthy <j-keerthy@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/pm-asm-offsets.c')
-rw-r--r--arch/arm/mach-omap2/pm-asm-offsets.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/pm-asm-offsets.c b/arch/arm/mach-omap2/pm-asm-offsets.c
index b9846b19e5e2..d8ae8a85b14b 100644
--- a/arch/arm/mach-omap2/pm-asm-offsets.c
+++ b/arch/arm/mach-omap2/pm-asm-offsets.c
@@ -27,6 +27,8 @@ int main(void)
offsetof(struct am33xx_pm_ro_sram_data, amx3_pm_sram_data_virt));
DEFINE(AMX3_PM_RO_SRAM_DATA_PHYS_OFFSET,
offsetof(struct am33xx_pm_ro_sram_data, amx3_pm_sram_data_phys));
+ DEFINE(AMX3_PM_RTC_BASE_VIRT_OFFSET,
+ offsetof(struct am33xx_pm_ro_sram_data, rtc_base_virt));
DEFINE(AMX3_PM_RO_SRAM_DATA_SIZE,
sizeof(struct am33xx_pm_ro_sram_data));