summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorDave Gerlach <d-gerlach@ti.com>2018-07-04 20:19:06 -0700
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>2018-07-04 20:19:06 -0700
commitec93b62fec9c7138d2b75334d192ecc12376f885 (patch)
tree608754957d2e8ff6be574a8a14c57726325cc9e0 /include/linux
parent7a872b6fb7fdc4213e9bb4e1c83a65e6b8af7ebd (diff)
downloadlinux-ec93b62fec9c7138d2b75334d192ecc12376f885.tar.gz
linux-ec93b62fec9c7138d2b75334d192ecc12376f885.tar.bz2
linux-ec93b62fec9c7138d2b75334d192ecc12376f885.zip
soc: ti: wkup_m3_ipc: Add wkup_m3_request_wake_src
Add wkup_m3_request_wake_src to allow users to get the name of the wakeup source after a DeepSleep or Standby transition. Signed-off-by: Dave Gerlach <d-gerlach@ti.com> Signed-off-by: Keerthy <j-keerthy@ti.com> Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/wkup_m3_ipc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/wkup_m3_ipc.h b/include/linux/wkup_m3_ipc.h
index d639df15e8ba..e497e621dbb7 100644
--- a/include/linux/wkup_m3_ipc.h
+++ b/include/linux/wkup_m3_ipc.h
@@ -43,12 +43,18 @@ struct wkup_m3_ipc {
int is_rtc_only;
};
+struct wkup_m3_wakeup_src {
+ int irq_nr;
+ char src[10];
+};
+
struct wkup_m3_ipc_ops {
void (*set_mem_type)(struct wkup_m3_ipc *m3_ipc, int mem_type);
void (*set_resume_address)(struct wkup_m3_ipc *m3_ipc, void *addr);
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);
+ const char *(*request_wake_src)(struct wkup_m3_ipc *m3_ipc);
void (*set_rtc_only)(struct wkup_m3_ipc *m3_ipc);
};