Skip to contentSkip to conversation

arm64: dts: meson: misc fixups for w400 dtsi

PATCH Applied Christian Hewitt 3 participants 3 messages Jul 21, 2020 – Jul 27, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 arm64: dts: meson: misc fixups for w400 dtsi

Current devices using the W400 dtsi show mmc tuning errors:

[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

Removing "sd-uhs-sdr50" from the SDIO node prevents this. We also add keep-power-in-suspend to the SDIO node and fix an indentation.

Fixes 3cb74db9b256 ("arm64: dts: meson: convert ugoos-am6 to common w400 dtsi")
---
 arch/arm64/boot/dts/amlogic/meson-g12b-w400.dtsi | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/amlogic/meson-g12b-w400.dtsi +4 -2
index 98b70d216a6f..2802ddbb83ac 100644
@@ -336,9 +336,11 @@
 
 	bus-width = <4>;
 	cap-sd-highspeed;
-	sd-uhs-sdr50;
 	max-frequency = <100000000>;
 
+	/* WiFi firmware requires power to be kept while in suspend */
+	keep-power-in-suspend;
+
 	non-removable;
 	disable-wp;
 
@@ -398,7 +400,7 @@
 		shutdown-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>;
 		max-speed = <2000000>;
 		clocks = <&wifi32k>;
-	clock-names = "lpo";
+		clock-names = "lpo";
 	};
 };
 
Signature · 1 line
2.17.1
maintainer Applied
#1 lore raw
Quoted 9 lines · Christian Hewitt

Current devices using the W400 dtsi show mmc tuning errors:

[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

[...]

Applied, thanks!

[1/1] arm64: dts: meson: misc fixups for w400 dtsi

      commit: 2fa17dd09533d5d83201be3229a28c1010a8ea3e

Best regards,

Signature · 1 line
Kevin Hilman <[email protected]>
#2 lore raw
In reply to Christian Hewitt
This patch was applied to khilman/linux-amlogic.git (refs/heads/for-next).

Hello:

This patch was applied to khilman/linux-amlogic.git (refs/heads/for-next).

Quoted 9 lines · On Tue, 21 Jul 2020 01:39:52 +0000 you wrote:

Current devices using the W400 dtsi show mmc tuning errors:

[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

[...]

Here is a summary with links:
- [v2] arm64: dts: meson: misc fixups for w400 dtsi

    https://git.kernel.org/khilman/linux-amlogic/c/2fa17dd09533d5d83201be3229a28c1010a8ea3e

You are awesome, thank you!

Signature · 7 lines
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/pwbot

_______________________________________________
linux-amlogic mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-amlogic