summaryrefslogtreecommitdiffstats
path: root/include/linux/wkup_m3_ipc.h
diff options
context:
space:
mode:
authorKeerthy <j-keerthy@ti.com>2018-07-04 20:19:06 -0700
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>2018-07-04 20:19:06 -0700
commit7a872b6fb7fdc4213e9bb4e1c83a65e6b8af7ebd (patch)
treec4cad2c81d10540c13b5c9f547635c8cd22d09d5 /include/linux/wkup_m3_ipc.h
parent38853979e6dce8466a1f611cadebc0f00adb901b (diff)
downloadlinux-stable-7a872b6fb7fdc4213e9bb4e1c83a65e6b8af7ebd.tar.gz
linux-stable-7a872b6fb7fdc4213e9bb4e1c83a65e6b8af7ebd.tar.bz2
linux-stable-7a872b6fb7fdc4213e9bb4e1c83a65e6b8af7ebd.zip
soc: ti: wkup_m3_ipc: Add rtc_only with ddr in self refresh mode support
Adds rtc_only support. This needs resume function to shutdown and reboot the m3. Signed-off-by: Keerthy <j-keerthy@ti.com> Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Diffstat (limited to 'include/linux/wkup_m3_ipc.h')
-rw-r--r--include/linux/wkup_m3_ipc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/wkup_m3_ipc.h b/include/linux/wkup_m3_ipc.h
index d6ba7d39a62f..d639df15e8ba 100644
--- a/include/linux/wkup_m3_ipc.h
+++ b/include/linux/wkup_m3_ipc.h
@@ -40,6 +40,7 @@ struct wkup_m3_ipc {
struct mbox_chan *mbox;
struct wkup_m3_ipc_ops *ops;
+ int is_rtc_only;
};
struct wkup_m3_ipc_ops {
@@ -48,8 +49,10 @@ struct wkup_m3_ipc_ops {
int (*prepare_low_power)(struct wkup_m3_ipc *m3_ipc, int state);
int (*finish_low_power)(struct wkup_m3_ipc *m3_ipc);
int (*request_pm_status)(struct wkup_m3_ipc *m3_ipc);
+ void (*set_rtc_only)(struct wkup_m3_ipc *m3_ipc);
};
struct wkup_m3_ipc *wkup_m3_ipc_get(void);
void wkup_m3_ipc_put(struct wkup_m3_ipc *m3_ipc);
+void wkup_m3_set_rtc_only_mode(void);
#endif /* _LINUX_WKUP_M3_IPC_H */