diff options
Diffstat (limited to 'drivers/mmc/host/sdhci.h')
-rw-r--r-- | drivers/mmc/host/sdhci.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci.h b/drivers/mmc/host/sdhci.h index aab0652a4585..b9bc622735ba 100644 --- a/drivers/mmc/host/sdhci.h +++ b/drivers/mmc/host/sdhci.h | |||
@@ -218,6 +218,8 @@ struct sdhci_host { | |||
218 | #define SDHCI_QUIRK_BROKEN_CARD_DETECTION (1<<15) | 218 | #define SDHCI_QUIRK_BROKEN_CARD_DETECTION (1<<15) |
219 | /* Controller reports inverted write-protect state */ | 219 | /* Controller reports inverted write-protect state */ |
220 | #define SDHCI_QUIRK_INVERTED_WRITE_PROTECT (1<<16) | 220 | #define SDHCI_QUIRK_INVERTED_WRITE_PROTECT (1<<16) |
221 | /* Controller has nonstandard clock management */ | ||
222 | #define SDHCI_QUIRK_NONSTANDARD_CLOCK (1<<17) | ||
221 | 223 | ||
222 | int irq; /* Device IRQ */ | 224 | int irq; /* Device IRQ */ |
223 | void __iomem * ioaddr; /* Mapped address */ | 225 | void __iomem * ioaddr; /* Mapped address */ |
@@ -284,6 +286,8 @@ struct sdhci_ops { | |||
284 | void (*writeb)(struct sdhci_host *host, u8 val, int reg); | 286 | void (*writeb)(struct sdhci_host *host, u8 val, int reg); |
285 | #endif | 287 | #endif |
286 | 288 | ||
289 | void (*set_clock)(struct sdhci_host *host, unsigned int clock); | ||
290 | |||
287 | int (*enable_dma)(struct sdhci_host *host); | 291 | int (*enable_dma)(struct sdhci_host *host); |
288 | unsigned int (*get_max_clock)(struct sdhci_host *host); | 292 | unsigned int (*get_max_clock)(struct sdhci_host *host); |
289 | unsigned int (*get_timeout_clock)(struct sdhci_host *host); | 293 | unsigned int (*get_timeout_clock)(struct sdhci_host *host); |