[PATCH 0/3] mmc: meson-gx: fixes for v4.14

From: Jerome Brunet
Date: Mon Oct 02 2017 - 08:27:56 EST


This patchset fixes the issues reported by Heiner [0] with the odroid-c2.
In a nutshell, this series does the following:

* Make sure the mmc clock rate is not set higher than what is requested
* Reset the tuning values on mmc power cycle instead of POWER_ON
* Add tuning of the tx phase to the tuning function.

This fixes the problem seen on the odroid-c2, both for hs200 and hs400.
To check for regression, this series has also been tested on the gxl
libretech-cc

Ulf, could you please pick this as fixes for v4.14 ?

[0]: https://lkml.kernel.org/r/e2171288-84ef-82db-2efc-300935e6c062@xxxxxxxxx

Jerome Brunet (3):
mmc: meson-gx: make sure the clock is rounded down
mmc: meson-gx: fix rx phase reset
mmc: meson-gx: include tx phase in the tuning process

drivers/mmc/host/meson-gx-mmc.c | 26 ++++++++++++++++++++++----
1 file changed, 22 insertions(+), 4 deletions(-)

--
2.13.5