[PATCH v2 1/2] riscv: dts: starfive: jh7110-common: increase mmc0 max-frequency
Shengyu Qu
wiagn233 at outlook.com
Sat Feb 22 06:17:34 PST 2025
Hi,
Let's continue our discussion here.
Will EMMC speed increase if we only apply patch 1?
Also, about your clock-rates modification in patch 2, I CCed William Qiu
so that we might get some more information about this.
Besides I've done a speed test with unlimitied clock-rates and an early
state of SOC clock driver on visionfive 2 when I was working on AXP15060
driver before:
http://forum.rvspace.org/t/question-about-sd-card-speed/1741/21
Best regards,
Shengyu
在 2025/2/22 21:34, Maud Spierings via B4 Relay 写道:
> From: Maud Spierings <maud_spierings at hotmail.com>
>
> This sdio interface is capable of more than 100 MHz as already indicated
> by the cap_hs200-1_8v attribute. Increase the max-frequency to 200 MHz
> so users of this dtsi can increase their SDIO bus speed.
>
> Signed-off-by: Maud Spierings <maud_spierings at hotmail.com>
> ---
> arch/riscv/boot/dts/starfive/jh7110-common.dtsi | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/riscv/boot/dts/starfive/jh7110-common.dtsi b/arch/riscv/boot/dts/starfive/jh7110-common.dtsi
> index dd2eefc295e5c8b568a02104ec2189e66b378904..19ca8dc24617c2ad565a4a9b2d9af9bd9491f22e 100644
> --- a/arch/riscv/boot/dts/starfive/jh7110-common.dtsi
> +++ b/arch/riscv/boot/dts/starfive/jh7110-common.dtsi
> @@ -258,7 +258,7 @@ &i2c6 {
> };
>
> &mmc0 {
> - max-frequency = <100000000>;
> + max-frequency = <200000000>;
> assigned-clocks = <&syscrg JH7110_SYSCLK_SDIO0_SDCARD>;
> assigned-clock-rates = <50000000>;
> bus-width = <8>;
>
More information about the linux-riscv
mailing list