From a891c1fa00368ea53a9dc5949eae1881fd97769a Mon Sep 17 00:00:00 2001 From: Pavan Kunapuli Date: Mon, 21 Feb 2011 18:39:36 +0530 Subject: 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 Reviewed-by: Laxman Dewangan Change-Id: Ifb812ee2d807f35bff78f440f6da7f7f5673c2ce --- include/linux/mmc/host.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/linux') 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 { -- cgit v1.2.3