Skip to content

Commit f1bb924

Browse files
chewittkhilman
authored andcommitted
arm64: dts: meson: fix mmc0 tuning error on Khadas VIM3
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: 4f26cc1 ("arm64: dts: khadas-vim3: move common nodes into meson-khadas-vim3.dtsi") Fixes: 700ab8d ("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]
1 parent 2fa17dd commit f1bb924

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,6 @@
293293

294294
bus-width = <4>;
295295
cap-sd-highspeed;
296-
sd-uhs-sdr50;
297296
max-frequency = <100000000>;
298297

299298
non-removable;

arch/arm64/boot/dts/amlogic/meson-sm1-khadas-vim3l.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,10 @@
164164
status = "okay";
165165
};
166166

167+
&sd_emmc_a {
168+
sd-uhs-sdr50;
169+
};
170+
167171
&usb {
168172
phys = <&usb2_phy0>, <&usb2_phy1>;
169173
phy-names = "usb2-phy0", "usb2-phy1";

0 commit comments

Comments
 (0)