summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHaibo Chen <haibo.chen@freescale.com>2015-02-27 18:35:30 +0800
committerHaibo Chen <haibo.chen@freescale.com>2015-03-04 11:19:02 +0800
commitfa663c7db49204dcfa91666278b210695629df13 (patch)
tree50a15e55e2b417163920f9fa70da781184287df3 /include
parent7f3cb78205e06046647a12b73a4b6b619ce2ff78 (diff)
MLK-10237-4 mmc: sdhci-esdhc-imx: add tuning-step setting support
tuning-step is the delay cell steps in tuning procedure. This patch add the tuning-step setting in driver, so that user can set the tuning-step value in dts. e.g. tuning-step = <2>; this example set the tuning-step as value 2. This patch also set the tuning-step of i.MX7D as 2, so that the tuning procedure can execute successfully. Signed-off-by: Haibo Chen <haibo.chen@freescale.com>
Diffstat (limited to 'include')
-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 75f70f6ac137..cedbf8e63e09 100644
--- a/include/linux/platform_data/mmc-esdhc-imx.h
+++ b/include/linux/platform_data/mmc-esdhc-imx.h
@@ -46,5 +46,6 @@ struct esdhc_platform_data {
unsigned int f_max;
bool support_vsel;
unsigned int delay_line;
+ unsigned int tuning_step; /* The delay cell steps in tuning procedure */
};
#endif /* __ASM_ARCH_IMX_ESDHC_H */