summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorPavan Kunapuli <pkunapuli@nvidia.com>2011-02-21 18:39:36 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2011-04-26 15:52:00 -0700
commita891c1fa00368ea53a9dc5949eae1881fd97769a (patch)
tree30b5cd931e431d9c6e3be6aa1974722763d256ec /include/linux
parenta5371fd54e8fdc79558d0478c3147a3b514fe20e (diff)
sd: tegra:Add frequency tuning for SD 3.0 cards
Implemented the frequency tuning by configuring tap delays. This is required for SD 3.0 cards to work at 208 MHz on tegra. Bug 661035 Original-Change-Id: Ie86b084473da090b329a0220d58a6753d7fb335b Reviewed-on: http://git-master/r/20044 Tested-by: Pavan Kunapuli <pkunapuli@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Change-Id: Ifb812ee2d807f35bff78f440f6da7f7f5673c2ce
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mmc/host.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h
index 198057bd3789..62ffcb05fb78 100644
--- a/include/linux/mmc/host.h
+++ b/include/linux/mmc/host.h
@@ -68,6 +68,10 @@ struct mmc_ios {
#define MMC_QUERY_TUNING_STATUS 2
#define MMC_SAMPLING_CLOCK_SELECT 3
#define MMC_RESET_TUNING_CIRCUIT 4
+
+#ifdef CONFIG_MMC_TEGRA_TAP_DELAY
+ unsigned int tap_value; /* Tap delay value */
+#endif
};
struct mmc_host_ops {