soc: ti: wkup_m3_ipc: Add support for i2c voltage scaling
[rpmsg/hwspinlock.git] / include / linux / wkup_m3_ipc.h
index bd79c1fcf299f52eac6daee9e87098804eae331a..071a7be37ed8229735f70dadfe1e61aa41959fda 100644 (file)
@@ -37,6 +37,9 @@ struct wkup_m3_ipc {
        int isolation_conf;
        int state;
 
+       unsigned long volt_scale_offsets;
+       const char *sd_fw_name;
+
        struct completion sync_complete;
        struct mbox_client mbox_client;
        struct mbox_chan *mbox;
@@ -50,6 +53,12 @@ struct wkup_m3_wakeup_src {
        char src[10];
 };
 
+struct wkup_m3_scale_data_header {
+       u16 magic;
+       u8 sleep_offset;
+       u8 wake_offset;
+} __packed;
+
 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);