blob: bd50b365167f25586848d18b23d04c3a6f2917e8 [file] [log] [blame]
Robert P. J. Day100e9182011-05-27 16:04:03 -04001#ifndef LINUX_MMC_SH_MOBILE_SDHI_H
2#define LINUX_MMC_SH_MOBILE_SDHI_H
Guennadi Liakhovetski42051e82011-03-14 09:52:33 +01003
4#include <linux/types.h>
5
Guennadi Liakhovetski25958802011-05-11 16:51:15 +00006struct platform_device;
7struct tmio_mmc_data;
8
Guennadi Liakhovetski42051e82011-03-14 09:52:33 +01009struct sh_mobile_sdhi_info {
10 int dma_slave_tx;
11 int dma_slave_rx;
12 unsigned long tmio_flags;
13 unsigned long tmio_caps;
14 u32 tmio_ocr_mask; /* available MMC voltages */
Guennadi Liakhovetski25958802011-05-11 16:51:15 +000015 struct tmio_mmc_data *pdata;
Guennadi Liakhovetski42051e82011-03-14 09:52:33 +010016 void (*set_pwr)(struct platform_device *pdev, int state);
17 int (*get_cd)(struct platform_device *pdev);
18};
19
Robert P. J. Day100e9182011-05-27 16:04:03 -040020#endif /* LINUX_MMC_SH_MOBILE_SDHI_H */