aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/wkup_m3_ipc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/wkup_m3_ipc.h')
-rw-r--r--include/linux/wkup_m3_ipc.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/wkup_m3_ipc.h b/include/linux/wkup_m3_ipc.h
index d6ba7d39a62f..e497e621dbb7 100644
--- a/include/linux/wkup_m3_ipc.h
+++ b/include/linux/wkup_m3_ipc.h
@@ -40,6 +40,12 @@ struct wkup_m3_ipc {
40 struct mbox_chan *mbox; 40 struct mbox_chan *mbox;
41 41
42 struct wkup_m3_ipc_ops *ops; 42 struct wkup_m3_ipc_ops *ops;
43 int is_rtc_only;
44};
45
46struct wkup_m3_wakeup_src {
47 int irq_nr;
48 char src[10];
43}; 49};
44 50
45struct wkup_m3_ipc_ops { 51struct wkup_m3_ipc_ops {
@@ -48,8 +54,11 @@ struct wkup_m3_ipc_ops {
48 int (*prepare_low_power)(struct wkup_m3_ipc *m3_ipc, int state); 54 int (*prepare_low_power)(struct wkup_m3_ipc *m3_ipc, int state);
49 int (*finish_low_power)(struct wkup_m3_ipc *m3_ipc); 55 int (*finish_low_power)(struct wkup_m3_ipc *m3_ipc);
50 int (*request_pm_status)(struct wkup_m3_ipc *m3_ipc); 56 int (*request_pm_status)(struct wkup_m3_ipc *m3_ipc);
57 const char *(*request_wake_src)(struct wkup_m3_ipc *m3_ipc);
58 void (*set_rtc_only)(struct wkup_m3_ipc *m3_ipc);
51}; 59};
52 60
53struct wkup_m3_ipc *wkup_m3_ipc_get(void); 61struct wkup_m3_ipc *wkup_m3_ipc_get(void);
54void wkup_m3_ipc_put(struct wkup_m3_ipc *m3_ipc); 62void wkup_m3_ipc_put(struct wkup_m3_ipc *m3_ipc);
63void wkup_m3_set_rtc_only_mode(void);
55#endif /* _LINUX_WKUP_M3_IPC_H */ 64#endif /* _LINUX_WKUP_M3_IPC_H */