diff options
author | Pavan Kunapuli <pkunapuli@nvidia.com> | 2011-11-29 19:56:40 +0530 |
---|---|---|
committer | Varun Wadekar <vwadekar@nvidia.com> | 2011-12-08 16:53:05 +0530 |
commit | 55ef299db01b89c8e09cd58fbc2ee58cbad09c66 (patch) | |
tree | 810324378c23479eaf6549c8d2711b1f7ad6bac5 /include/linux/mmc | |
parent | 8b5f5d8d5035974f87ae34d666b4d24c8af7e001 (diff) |
mmc: Add support for non-standard voltage switching
Adding quirk SDHCI_QUIRK_NON_STD_VOLTAGE_SWITCHING and
callback switch_signal_voltage in sdhci_ops to support
non standard signal voltage switching.
Bug 906650
Change-Id: If5538fb3177770ccb103305a7b3f0f7a6a8b92e6
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/67137
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Diffstat (limited to 'include/linux/mmc')
-rw-r--r-- | include/linux/mmc/sdhci.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mmc/sdhci.h b/include/linux/mmc/sdhci.h index 9d499a078bbc..0c7b5869813b 100644 --- a/include/linux/mmc/sdhci.h +++ b/include/linux/mmc/sdhci.h @@ -87,6 +87,8 @@ struct sdhci_host { #define SDHCI_QUIRK_BROKEN_ADMA_ZEROLEN_DESC (1<<30) /* The read-only detection via SDHCI_PRESENT_STATE register is unstable */ #define SDHCI_QUIRK_UNSTABLE_RO_DETECT (1<<31) +/* Controller cannot report the line status in present state register */ +#define SDHCI_QUIRK_NON_STD_VOLTAGE_SWITCHING (1UL<<32) int irq; /* Device IRQ */ void __iomem *ioaddr; /* Mapped address */ |