]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: meson-gx: remove Rx phase tuning
authorJerome Brunet <jbrunet@baylibre.com>
Tue, 23 Apr 2019 09:02:34 +0000 (11:02 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 6 May 2019 09:55:39 +0000 (11:55 +0200)
commit80d9b473ab0fd30a7096502b369443b82753ed30
tree18b2f0bcce90cdd54bc94f4fbbefda65345fdf03
parentfdff05c2d293260210373ca29fd5e00e2194bd83
mmc: meson-gx: remove Rx phase tuning

This remove all the code related to phase settings. Using the Rx phase
for tuning has not been reliable. We had several issues over the past
months, on both v2 and v3 mmc chips After discussing the issue matter
with Amlogic, They suggested to set a phase shift of 180 between Core and
Tx and use signal resampling for the tuning.

Since we won't be playing with the phase anymore, let's remove all the
clock code related to it and set the appropriate value on init.

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