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

committed by
Santosh Shilimkar

parent
7a872b6fb7
commit
ec93b62fec
@@ -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);
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user