]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: meson-gx: add signal resampling tuning
authorJerome Brunet <jbrunet@baylibre.com>
Tue, 23 Apr 2019 09:02:35 +0000 (11:02 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 6 May 2019 09:55:39 +0000 (11:55 +0200)
commite6e0f93a2272b0da49ecc78f269cd2c57982cbc5
treeb710b344df5e160da0e3d40c2ddcf67d84c643a2
parent0023a1db640926e13c3c2ab85e2fc8d8f9a53684
mmc: meson-gx: add signal resampling tuning

Use signal resampling tuning for the UHS and HS200 modes.
Instead of trying to get the *best* resampling setting with complex
window calculation, we just stop on the first working setting.

If the tuning setting later proves unstable, we will just continue the
tuning where we left it.

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Tested-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Reviewed-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/meson-gx-mmc.c