]> Git Repo - linux.git/commitdiff
arm64: dts: meson: fix mmc0 tuning error on Khadas VIM3
authorChristian Hewitt <[email protected]>
Tue, 21 Jul 2020 01:59:50 +0000 (01:59 +0000)
committerKevin Hilman <[email protected]>
Mon, 27 Jul 2020 18:53:47 +0000 (11:53 -0700)
Similar to other G12B devices using the W400 dtsi, I see reports of mmc0
tuning errors on VIM3 after a few hours uptime:

[12483.917391] mmc0: tuning execution failed: -5
[30535.551221] mmc0: tuning execution failed: -5
[35359.953671] mmc0: tuning execution failed: -5
[35561.875332] mmc0: tuning execution failed: -5
[61733.348709] mmc0: tuning execution failed: -5

I do not see the same on VIM3L, so remove sd-uhs-sdr50 from the common dtsi
to silence the error, then (re)add it to the VIM3L dts.

Fixes: 4f26cc1c96c9 ("arm64: dts: khadas-vim3: move common nodes into meson-khadas-vim3.dtsi")
Fixes: 700ab8d83927 ("arm64: dts: khadas-vim3: add support for the SM1 based VIM3L")
Signed-off-by: Christian Hewitt <[email protected]>
Signed-off-by: Kevin Hilman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi
arch/arm64/boot/dts/amlogic/meson-sm1-khadas-vim3l.dts

index 6b75157265e1c29833b3e4f77ec21472884c3cf3..94f75b4465044dabd5acc8bf330244a3fc0a1d19 100644 (file)
 
        bus-width = <4>;
        cap-sd-highspeed;
-       sd-uhs-sdr50;
        max-frequency = <100000000>;
 
        non-removable;
index b104967dbef156326eadd65e100cd0bea79cb8aa..0da56c051a0ef97da077025f217e2580afc82b7e 100644 (file)
        status = "okay";
 };
 
+&sd_emmc_a {
+       sd-uhs-sdr50;
+};
+
 &usb {
        phys = <&usb2_phy0>, <&usb2_phy1>;
        phy-names = "usb2-phy0", "usb2-phy1";
This page took 0.059631 seconds and 4 git commands to generate.