summaryrefslogtreecommitdiff
path: root/include/linux/platform_data/mmc-esdhc-imx.h
diff options
context:
space:
mode:
authorHaibo Chen <haibo.chen@freescale.com>2015-08-11 19:38:27 +0800
committerUlf Hansson <ulf.hansson@linaro.org>2015-08-27 14:50:50 +0200
commitd407e30ba614b1542c8ac032f8fb2332b8071efe (patch)
tree664e9613150ee52d9370e712c9e393a10e4c3647 /include/linux/platform_data/mmc-esdhc-imx.h
parent28b07674f287092f3b63a7d5e5c7e68bdeed0247 (diff)
mmc: sdhci-esdhc-imx: add tuning-step setting support
tuning-step is the delay cell steps in tuning procedure. The default value of tuning-step is 1. Some boards or cards need another value to pass the tuning procedure. For example, imx7d-sdb board need the tuning-step value as 2, otherwise it can't pass the tuning procedure. So this patch add the tuning-step setting in driver, so that user can set the tuning-step value in dts. Signed-off-by: Haibo Chen <haibo.chen@freescale.com> Acked-by: Dong Aisheng <aisheng.dong@freescale.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'include/linux/platform_data/mmc-esdhc-imx.h')
-rw-r--r--include/linux/platform_data/mmc-esdhc-imx.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/platform_data/mmc-esdhc-imx.h b/include/linux/platform_data/mmc-esdhc-imx.h
index e1571efa3f2b..95ccab3f454a 100644
--- a/include/linux/platform_data/mmc-esdhc-imx.h
+++ b/include/linux/platform_data/mmc-esdhc-imx.h
@@ -45,5 +45,6 @@ struct esdhc_platform_data {
int max_bus_width;
bool support_vsel;
unsigned int delay_line;
+ unsigned int tuning_step; /* The delay cell steps in tuning procedure */
};
#endif /* __ASM_ARCH_IMX_ESDHC_H */