diff options
author | Keerthy <j-keerthy@ti.com> | 2019-04-03 10:27:40 +0530 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2019-04-08 10:39:01 -0700 |
commit | 44c22a2d12a5c04da56e746819a5d2cc4cf4a5d7 (patch) | |
tree | 616c7cf83f885fcf93cfa3fad54fa0454984a47d /include/linux/platform_data/pm33xx.h | |
parent | 6256f7f7f217b2216fcb73929508325f4ee98237 (diff) | |
download | lwn-44c22a2d12a5c04da56e746819a5d2cc4cf4a5d7.tar.gz lwn-44c22a2d12a5c04da56e746819a5d2cc4cf4a5d7.zip |
ARM: OMAP2+: pm33xx: Add support for rtc+ddr in self refresh mode
Add support for rtc+ddr in self refresh mode. Add addtional
pm hooks for save/restore and rtc suspend/resume.
Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'include/linux/platform_data/pm33xx.h')
-rw-r--r-- | include/linux/platform_data/pm33xx.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/platform_data/pm33xx.h b/include/linux/platform_data/pm33xx.h index fbf5ed73c7cc..dd5971937a64 100644 --- a/include/linux/platform_data/pm33xx.h +++ b/include/linux/platform_data/pm33xx.h @@ -51,6 +51,11 @@ struct am33xx_pm_platform_data { unsigned long args); struct am33xx_pm_sram_addr *(*get_sram_addrs)(void); void __iomem *(*get_rtc_base_addr)(void); + void (*save_context)(void); + void (*restore_context)(void); + void (*prepare_rtc_suspend)(void); + void (*prepare_rtc_resume)(void); + int (*check_off_mode_enable)(void); }; struct am33xx_pm_sram_data { |