u32 cid;
struct regmap *grf;
+ u32 *regs_buffer;
+ const struct dw_mci_rst_ops *rst_ops;
};
/* DMA ops for Internal/External DMAC interface */
void (*exit)(struct dw_mci *host);
};
+/* Platform rst hook for pm ops before suspend and after resume */
+struct dw_mci_rst_ops {
+ void (*pre_suspend)(struct dw_mci *host);
+ void (*post_resume)(struct dw_mci *host);
+};
+
/* IP Quirks/flags. */
/* DTO fix for command transmission with IDMAC configured */
#define DW_MCI_QUIRK_IDMAC_DTO BIT(0)