aboutsummaryrefslogtreecommitdiff
path: root/drivers/mmc/host/cavium.c
diff options
context:
space:
mode:
authorGravatar Heiner Kallweit <hkallweit1@gmail.com> 2017-04-04 21:11:17 +0200
committerGravatar Ulf Hansson <ulf.hansson@linaro.org> 2017-04-24 21:42:21 +0200
commit0b6ed71c3e95abf6cd1dbfc53919defdce3449f5 (patch)
tree386620605c9719a837668c15ac3f7043597f237f /drivers/mmc/host/cavium.c
parentmmc: meson-gx: introduce struct meson_tuning_params (diff)
downloadlinux-0b6ed71c3e95abf6cd1dbfc53919defdce3449f5.tar.gz
linux-0b6ed71c3e95abf6cd1dbfc53919defdce3449f5.tar.bz2
linux-0b6ed71c3e95abf6cd1dbfc53919defdce3449f5.zip
mmc: meson-gx: add basic tuning for rx clock phase
This patch adds basic tuning which changes the rx clock phase only until a working setting is found. On a Odroid C2 with 128GB eMMC card and 200 MHz MMC clock only 180° rx clock phase make the system boot w/o CRC errors. With other MMC devices / clock speeds this might be different, therefore don't change the driver config in general. When retuning skip the currently active parameter set. This avoids the current problematic config to be chosen again if it causes CRC errors just occasionally. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/cavium.c')
0 files changed, 0 insertions, 0 deletions