diff options
author | Zhangfei Gao <zgao6@marvell.com> | 2010-08-05 19:10:01 -0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2010-10-23 09:11:14 -0400 |
commit | 85105c53b0ce70a277160379f9d89309cefc0bfd (patch) | |
tree | adb882eec66c71605752e75c8bba224be2fefd69 /drivers/mmc/host/sdhci.h | |
parent | 0957c3339efa333b7895157eb18b9b578394f80c (diff) |
mmc: SDHC 3.0: support 10-bit divided clock mode
Signed-off-by: Zhangfei Gao <zgao6@marvell.com>
Cc: Michał Mirosław <mirqus@gmail.com>
Cc: David Vrabel <david.vrabel@csr.com>
Reviewed-by: Matt Fleming <matt@console-pimps.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/sdhci.h')
-rw-r--r-- | drivers/mmc/host/sdhci.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci.h b/drivers/mmc/host/sdhci.h index d316bc79b636..950d4fd90072 100644 --- a/drivers/mmc/host/sdhci.h +++ b/drivers/mmc/host/sdhci.h | |||
@@ -86,6 +86,10 @@ | |||
86 | 86 | ||
87 | #define SDHCI_CLOCK_CONTROL 0x2C | 87 | #define SDHCI_CLOCK_CONTROL 0x2C |
88 | #define SDHCI_DIVIDER_SHIFT 8 | 88 | #define SDHCI_DIVIDER_SHIFT 8 |
89 | #define SDHCI_DIVIDER_HI_SHIFT 6 | ||
90 | #define SDHCI_DIV_MASK 0xFF | ||
91 | #define SDHCI_DIV_MASK_LEN 8 | ||
92 | #define SDHCI_DIV_HI_MASK 0x300 | ||
89 | #define SDHCI_CLOCK_CARD_EN 0x0004 | 93 | #define SDHCI_CLOCK_CARD_EN 0x0004 |
90 | #define SDHCI_CLOCK_INT_STABLE 0x0002 | 94 | #define SDHCI_CLOCK_INT_STABLE 0x0002 |
91 | #define SDHCI_CLOCK_INT_EN 0x0001 | 95 | #define SDHCI_CLOCK_INT_EN 0x0001 |
@@ -178,6 +182,7 @@ | |||
178 | #define SDHCI_SPEC_VER_SHIFT 0 | 182 | #define SDHCI_SPEC_VER_SHIFT 0 |
179 | #define SDHCI_SPEC_100 0 | 183 | #define SDHCI_SPEC_100 0 |
180 | #define SDHCI_SPEC_200 1 | 184 | #define SDHCI_SPEC_200 1 |
185 | #define SDHCI_SPEC_300 2 | ||
181 | 186 | ||
182 | struct sdhci_ops; | 187 | struct sdhci_ops; |
183 | 188 | ||