blob: c981b959760f717ffff9e88895900bb6e46321bf [file] [log] [blame]
Magnus Dammbe9cd7b2009-11-27 04:31:27 +00001#ifndef __SH_MOBILE_SDHI_H__
2#define __SH_MOBILE_SDHI_H__
3
Guennadi Liakhovetskibb0fe532010-05-19 18:37:36 +00004#include <linux/types.h>
5
Magnus Dammbe9cd7b2009-11-27 04:31:27 +00006struct sh_mobile_sdhi_info {
Guennadi Liakhovetski056676d2010-05-19 18:34:16 +00007 int dma_slave_tx;
8 int dma_slave_rx;
Guennadi Liakhovetskif87c20a2010-05-19 18:36:08 +00009 unsigned long tmio_flags;
Arnd Hannemann998283e2010-08-24 17:27:00 +020010 unsigned long tmio_caps;
Guennadi Liakhovetskibb0fe532010-05-19 18:37:36 +000011 u32 tmio_ocr_mask; /* available MMC voltages */
Magnus Dammbe9cd7b2009-11-27 04:31:27 +000012 void (*set_pwr)(struct platform_device *pdev, int state);
Arnd Hannemann998283e2010-08-24 17:27:00 +020013 int (*get_cd)(struct platform_device *pdev);
Magnus Dammbe9cd7b2009-11-27 04:31:27 +000014};
15
16#endif /* __SH_MOBILE_SDHI_H__ */