local/mmc: dw_mmc: exynos: use the bits relevant to clock tuning
authorJaehoon Chung <jh80.chung@samsung.com>
Wed, 29 Apr 2015 06:44:35 +0000 (15:44 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 14 Dec 2016 04:44:23 +0000 (13:44 +0900)
commitaf5e231b9a7f7dc231c1df51376caa52e07371e6
tree33af7628122dfd6614a860d53dbc79573a4d1d6d
parent3bc56086fc25f6d06ffc6d050cb6fc9724056aad
local/mmc: dw_mmc: exynos: use the bits relevant to clock tuning

There are bits relevant to clock tuning at CLKSEL register.
BIT[31:30] - CORE_CLK_TUNING
BIT[23:22] - DRV_CLK_TUNING
BIT[7:6] - SAMPLE_CLK_TUNING

These bits should be affected when card is tuning.
(In future, need to find the optimal values.)
At now, it used temporary these values.
(CORE_CLK_TUNING - 0x3, SAMPLE_CLK_TUNING - 0x1)

After sampling clock, these value have to set to 0.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/mmc/host/dw_mmc-exynos.c
drivers/mmc/host/dw_mmc-exynos.h