diff options
author | Keerthy | 2018-07-09 02:33:17 -0500 |
---|---|---|
committer | Tony Lindgren | 2018-07-10 01:01:34 -0500 |
commit | 8c5a916f4c8815196cc8a86b9582ca89422aac25 (patch) | |
tree | 5e5b50ed30d2804ed2c4826da5892f6f66bc565f /include/linux/platform_data | |
parent | 74655749a58405e259eaaba66bfc391fdbe1e34e (diff) | |
download | remoteproc-8c5a916f4c8815196cc8a86b9582ca89422aac25.tar.gz remoteproc-8c5a916f4c8815196cc8a86b9582ca89422aac25.tar.xz remoteproc-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 'include/linux/platform_data')
-rw-r--r-- | include/linux/platform_data/pm33xx.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/platform_data/pm33xx.h b/include/linux/platform_data/pm33xx.h index d231265c135c..fbf5ed73c7cc 100644 --- a/include/linux/platform_data/pm33xx.h +++ b/include/linux/platform_data/pm33xx.h | |||
@@ -42,6 +42,7 @@ struct am33xx_pm_sram_addr { | |||
42 | unsigned long *resume_offset; | 42 | unsigned long *resume_offset; |
43 | unsigned long *emif_sram_table; | 43 | unsigned long *emif_sram_table; |
44 | unsigned long *ro_sram_data; | 44 | unsigned long *ro_sram_data; |
45 | unsigned long resume_address; | ||
45 | }; | 46 | }; |
46 | 47 | ||
47 | struct am33xx_pm_platform_data { | 48 | struct am33xx_pm_platform_data { |
@@ -49,6 +50,7 @@ struct am33xx_pm_platform_data { | |||
49 | int (*soc_suspend)(unsigned int state, int (*fn)(unsigned long), | 50 | int (*soc_suspend)(unsigned int state, int (*fn)(unsigned long), |
50 | unsigned long args); | 51 | unsigned long args); |
51 | struct am33xx_pm_sram_addr *(*get_sram_addrs)(void); | 52 | struct am33xx_pm_sram_addr *(*get_sram_addrs)(void); |
53 | void __iomem *(*get_rtc_base_addr)(void); | ||
52 | }; | 54 | }; |
53 | 55 | ||
54 | struct am33xx_pm_sram_data { | 56 | struct am33xx_pm_sram_data { |
@@ -60,6 +62,7 @@ struct am33xx_pm_sram_data { | |||
60 | struct am33xx_pm_ro_sram_data { | 62 | struct am33xx_pm_ro_sram_data { |
61 | u32 amx3_pm_sram_data_virt; | 63 | u32 amx3_pm_sram_data_virt; |
62 | u32 amx3_pm_sram_data_phys; | 64 | u32 amx3_pm_sram_data_phys; |
65 | void __iomem *rtc_base_virt; | ||
63 | } __packed __aligned(8); | 66 | } __packed __aligned(8); |
64 | 67 | ||
65 | #endif /* __ASSEMBLER__ */ | 68 | #endif /* __ASSEMBLER__ */ |