mfd: mmc: rtsx: Change default tx phase
authorWei WANG <wei_wang@realsil.com.cn>
Wed, 21 Aug 2013 01:46:25 +0000 (09:46 +0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 30 Aug 2013 12:24:07 +0000 (14:24 +0200)
commit84d72f9cc21d6e41c620dd34b8248734cd02d995
treef84a291737af9885fb573adc4844fc4e0c0c74c5
parent828fa1e60117535d9b1e1b09444842ae66e8424d
mfd: mmc: rtsx: Change default tx phase

The default phase can meet most cards' requirement, but it is not the
optimal one. In some extreme situation, the rx phase point produced by
the following tuning process will drift quite a distance.
Before tuning UHS card, this patch will set a more proper initial tx
phase point, which is calculated from statistic data, and can achieve
a much better tx signal quality.

Signed-off-by: Wei WANG <wei_wang@realsil.com.cn>
Acked-by: Lee Jones <lee.jones@linaro.org>
Acked-by: Chris Ball <cjb@laptop.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/rtl8411.c
drivers/mfd/rts5209.c
drivers/mfd/rts5227.c
drivers/mfd/rts5229.c
drivers/mfd/rts5249.c
drivers/mmc/host/rtsx_pci_sdmmc.c
include/linux/mfd/rtsx_pci.h