42051e8a7b
On sh-mobile platforms the SDHI driver was using the tmio_mmc SD/SDIO MFD cell driver. Now that the tmio_mmc driver has been split into a core and a separate MFD glue, we can support SDHI natively without the need to emulate an MFD controller. This also allows to support systems with an on-SoC SDHI controller and a separate MFD with a TMIO core. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Acked-by: Paul Mundt <lethal@linux-sh.org> Signed-off-by: Chris Ball <cjb@laptop.org>
16 lines
397 B
C
16 lines
397 B
C
#ifndef __SH_MOBILE_SDHI_H__
|
|
#define __SH_MOBILE_SDHI_H__
|
|
|
|
#include <linux/types.h>
|
|
|
|
struct sh_mobile_sdhi_info {
|
|
int dma_slave_tx;
|
|
int dma_slave_rx;
|
|
unsigned long tmio_flags;
|
|
unsigned long tmio_caps;
|
|
u32 tmio_ocr_mask; /* available MMC voltages */
|
|
void (*set_pwr)(struct platform_device *pdev, int state);
|
|
int (*get_cd)(struct platform_device *pdev);
|
|
};
|
|
|
|
#endif /* __SH_MOBILE_SDHI_H__ */
|