2021-04-29 08:56:30

by Jerome Brunet

[permalink] [raw]
Subject: [PATCH] arm64: dts: meson: vim2: enable highspeed on wifi sdio

Enable highspeed mode for vim2 sdio. In theory, the vim2 SDIO bus is
capable of handling SDR50 mode but this needs to thoroughly tested.

Signed-off-by: Jerome Brunet <[email protected]>
---
arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts b/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts
index 18a4b7a6c5df..217f9d6d470e 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts
@@ -307,6 +307,7 @@ &sd_emmc_a {
#size-cells = <0>;

bus-width = <4>;
+ cap-sd-highspeed;
max-frequency = <60000000>;

non-removable;
--
2.31.1


2021-04-29 09:13:31

by Neil Armstrong

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: meson: vim2: enable highspeed on wifi sdio

Hi Art,

So you think you can test this patch to see if it breaks SDIO ?

Neil

On 29/04/2021 10:54, Jerome Brunet wrote:
> Enable highspeed mode for vim2 sdio. In theory, the vim2 SDIO bus is
> capable of handling SDR50 mode but this needs to thoroughly tested.
>
> Signed-off-by: Jerome Brunet <[email protected]>
> ---
> arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts b/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts
> index 18a4b7a6c5df..217f9d6d470e 100644
> --- a/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts
> +++ b/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts
> @@ -307,6 +307,7 @@ &sd_emmc_a {
> #size-cells = <0>;
>
> bus-width = <4>;
> + cap-sd-highspeed;
> max-frequency = <60000000>;
>
> non-removable;
>