ARM64: dts: meson: reduce odroid-c2 eMMC maximum rate
authorJerome Brunet <jbrunet@baylibre.com>
Fri, 2 Mar 2018 13:44:36 +0000 (14:44 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Apr 2018 07:36:23 +0000 (09:36 +0200)
commit c04ffa71ff491220cac28f55237c9aad379a8656 upstream.

Different modules maybe installed by the user on the eMMC connector
of the odroid-c2. While the red modules are working without an issue,
it seems some black modules (apparently Samsung based) are having
issue at 200MHz

While the tuning algorithm introduced in v4.14 enables high speed modes
on every other tested designs, it seems a problem remains for this
particular combination of board and eMMC module.

Lowering the maximum frequency of the eMMC on this board until we can
figure out a better solution.

Fixes: d341ca88eead ("mmc: meson-gx: rework tuning function")
Suggested-by: Ellie Reeves <ellierevves@gmail.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Cc: stable@vger.kernel.org
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts

index 08b7bb7f5b74960b6801e94b91c7c827dccb5b44..c3c65b06ba76b738ace26a3d5949c874a91e6dd9 100644 (file)
        pinctrl-names = "default", "clk-gate";
 
        bus-width = <8>;
-       max-frequency = <200000000>;
+       max-frequency = <100000000>;
        non-removable;
        disable-wp;
        cap-mmc-highspeed;