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@gmail.com
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(-)
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 293 |
Nodes: | 16 (2 / 14) |
Uptime: | 212:02:16 |
Calls: | 6,619 |
Calls today: | 1 |
Files: | 12,168 |
Messages: | 5,317,365 |