blob: 6d1304c9270f277da14abeaaa77c9190c8c5fce3 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef ASMARM_ARCH_MMC_H
2#define ASMARM_ARCH_MMC_H
3
Pierre Ossmanf74d1322007-02-09 22:49:31 +01004#include <linux/mmc/host.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -07005#include <linux/interrupt.h>
6
7struct device;
8struct mmc_host;
9
10struct pxamci_platform_data {
11 unsigned int ocr_mask; /* available voltages */
Richard Purdiec26971c2005-09-08 22:48:16 +010012 unsigned long detect_delay; /* delay in jiffies before detecting cards after interrupt */
David Howells40220c12006-10-09 12:19:47 +010013 int (*init)(struct device *, irq_handler_t , void *);
Richard Purdiee6195242005-09-06 15:18:56 -070014 int (*get_ro)(struct device *);
Linus Torvalds1da177e2005-04-16 15:20:36 -070015 void (*setpower)(struct device *, unsigned int);
16 void (*exit)(struct device *, void *);
17};
18
19extern void pxa_set_mci_info(struct pxamci_platform_data *info);
Bridge Wu8d33b052007-12-21 19:15:36 +080020extern void pxa3xx_set_mci2_info(struct pxamci_platform_data *info);
Bridge Wu5a1f21b2007-12-21 19:27:08 +080021extern void pxa3xx_set_mci3_info(struct pxamci_platform_data *info);
Linus Torvalds1da177e2005-04-16 15:20:36 -070022
23#endif