mmc: dw_mmc: add support tuning scheme
authorSeungwon Jeon <tgih.jun@samsung.com>
Fri, 30 Aug 2013 15:12:42 +0000 (00:12 +0900)
committerChris Ball <cjb@laptop.org>
Thu, 26 Sep 2013 01:32:59 +0000 (21:32 -0400)
commit0976f16d2d7fdd3d33738c1f64b83cde6f783db3
treef6de0fe07a393779626b76fc61322fa54c070b80
parent6bce431ca13bb72261adbd20b7bc58c447ef2ce3
mmc: dw_mmc: add support tuning scheme

For the speed modes HS200 and SDR104, tuning is needed to determine the
correct sampling point. Actual tuning procedure is provided by specific
host controller driver.  This patch defines the tuning command and
tuning data.  Additionally, 'struct dw_mci_slot' is moved to header
file to consider the extensive usages in driver.

Signed-off-by: Seungwon Jeon <tgih.jun@samsung.com>
Tested-by: Alim Akhtar <alim.akhtar@samsung.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/dw_mmc.c
drivers/mmc/host/dw_mmc.h