mmc: sdhci-st: Update the quirks for this controller.
commit4e187d3154e6a47dfb8561aa0003d93243ec7e4a
authorPeter Griffin <peter.griffin@linaro.org>
Fri, 10 Apr 2015 09:40:28 +0000 (10 10:40 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Fri, 10 Apr 2015 10:55:40 +0000 (10 12:55 +0200)
tree6e2431f4ee82c2dd6b35f4937a0acb6e63b9364c
parentcf48d32efb4b9e70ca1e17f2c38f77756e9aae58
mmc: sdhci-st: Update the quirks for this controller.

Some additional quirks need to be enabled now we support UHS
modes. This avoids some spurious warnings like

"Got data interrupt 0x00000002 even though no data operation was in progress"

Testing on stih410-b2120 board achieves the following speeds
with HS200 eMMC card.

max-frequency = 200Mhz
/dev/mmcblk0p1:
 Timing buffered disk reads: 270 MB in  3.02 seconds =  89.54 MB/sec

max-frequency = 100Mhz
root@debian-armhf:~# hdparm -t /dev/mmcblk0p1
/dev/mmcblk0p1:
 Timing buffered disk reads: 210 MB in  3.00 seconds =  70.00 MB/sec

max-frequency = 50Mhz
root@debian-armhf:~# hdparm -t /dev/mmcblk0p1
/dev/mmcblk0p1:
 Timing buffered disk reads: 118 MB in  3.00 seconds =  39.28 MB/sec

This is better than the 3.10 kernel which achieves 77.59 MB/sec
at 200Mhz clock (same board/soc/eMMC).

Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Acked-by: Maxime Coquelin <maxime.coquelin@st.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-st.c