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>
This commit is contained in:

committed by
Santosh Shilimkar

parent
38853979e6
commit
7a872b6fb7
@@ -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 */
|
||||
|
Reference in New Issue
Block a user