From nobody Mon Feb 9 08:05:36 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DB75278F59; Sat, 22 Feb 2025 13:34:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740231265; cv=none; b=b8OwIvGqHFoH6F9speRIq037bF2ElZIQ41Qr3nijUYg1I24TqgZNKbqrqg2to3MlrXAYaiHUQL2xE+9Or1xrVXG0tyxS81UV1+PjiLc0qKVGS4b4gLniZs5ASMVjSer1FSDF1I63Lu6mN/H7eF37w26+hTgU7BCVv1Wzv/1YSQM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740231265; c=relaxed/simple; bh=uJsu7Z3eUyAeqRsSEQzMEzclfBBrgVv7SPl+u/ez+H4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Psl/OcAhzxat/Ka+yMRWXzbq7iz1LVuIezcfJ+Ay6U9wRV6zY0y7jb1HFAnIDMjPSFKsetsanJXgKXNCa1odaCe0/DqKLCd0PmS17VDT2f1T4uMVwZ0bwSUV3L5GGmrrbYc/K9tEpqRdG0jp3xyGrc50fm//BY59F0oXb24aXkw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=FG0vd4TP; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="FG0vd4TP" Received: by smtp.kernel.org (Postfix) with ESMTPS id 403EAC4CEE6; Sat, 22 Feb 2025 13:34:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1740231264; bh=uJsu7Z3eUyAeqRsSEQzMEzclfBBrgVv7SPl+u/ez+H4=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=FG0vd4TPsQ5uc5DbIDo/fXgZHntsMOfqtC5L6IkskdtBACdYK18mYFz6HJFIXGC/T DTWhxqBjD3DYVJCaLrX3R6xhpQhb9HoG8C4Iw3rs9AgNVzqU20lcqWRb8wXYd/rKEz v8gVmMVwbakB7meBa1rH49FISMHGAhs8xI7WBD/p4naQwm/toYiPjQgDNQ6pg4tF3D 2b+miPwE4GxEM2+y8Nb7M9ltzRiVXri7ACpYZOL2jO4o3hql8cEJidhz9VI4sZvfG7 oU844Qus8zXj4TRXqtih4ziJefnLcoDGY+lPjKUXrwdkcjMYCipG+pE3yxtVWM621N ZkvNOvifK2s6A== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2B401C021B6; Sat, 22 Feb 2025 13:34:24 +0000 (UTC) From: Maud Spierings via B4 Relay Date: Sat, 22 Feb 2025 14:34:15 +0100 Subject: [PATCH v2 1/2] riscv: dts: starfive: jh7110-common: increase mmc0 max-frequency Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250222-fml13v01_emmc_speed-v2-1-3ffc5b1f5663@hotmail.com> References: <20250222-fml13v01_emmc_speed-v2-0-3ffc5b1f5663@hotmail.com> In-Reply-To: <20250222-fml13v01_emmc_speed-v2-0-3ffc5b1f5663@hotmail.com> To: Conor Dooley , Emil Renner Berthing , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti Cc: linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Maud Spierings X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1740231263; l=940; i=maud_spierings@hotmail.com; s=20250222; h=from:subject:message-id; bh=9gpWZSvQty4+e5gTi1J7LPpp/QLLJlyJMT9QPxYPoKE=; b=rQTRH8W8l+k+6KB0J0uKhxBq/QXMk1rJFTrbIikh0K5xR2A2el+LTzrFxUY/2eLhWxsKKKjOe zpIVYF513UsARWE/+kqYcS0q6813bnBnPMX+/60ALoEeN0RWuHr3BK/ X-Developer-Key: i=maud_spierings@hotmail.com; a=ed25519; pk=Z2m97WkDS9Sm3JnKpIpH4JwQtLm2Yw8oFCNw6uMBqb8= X-Endpoint-Received: by B4 Relay for maud_spierings@hotmail.com/20250222 with auth_id=346 X-Original-From: Maud Spierings Reply-To: maud_spierings@hotmail.com From: Maud Spierings 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 --- 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/b= oot/dts/starfive/jh7110-common.dtsi index dd2eefc295e5c8b568a02104ec2189e66b378904..19ca8dc24617c2ad565a4a9b2d9= af9bd9491f22e 100644 --- a/arch/riscv/boot/dts/starfive/jh7110-common.dtsi +++ b/arch/riscv/boot/dts/starfive/jh7110-common.dtsi @@ -258,7 +258,7 @@ &i2c6 { }; =20 &mmc0 { - max-frequency =3D <100000000>; + max-frequency =3D <200000000>; assigned-clocks =3D <&syscrg JH7110_SYSCLK_SDIO0_SDCARD>; assigned-clock-rates =3D <50000000>; bus-width =3D <8>; --=20 2.48.1 From nobody Mon Feb 9 08:05:36 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DB78A7DA93; Sat, 22 Feb 2025 13:34:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740231265; cv=none; b=reCaMeA6pOxj2DcPhpzKSo42YGxtnRUP/X6oSxPe5Qs6HuxYimfh8IYUBQJ+TRaU9YDPmqtnewsFp1BxcVtR5gs2bx3SHHsIv8EcqZZeC+wzdrJaU5WCi62N9T0wBjIGC3p6JDeiVz5fSa+ctIy6fKq4/AinPwWjtRiAgP/9ub8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740231265; c=relaxed/simple; bh=lsXh6HepfnMc+Q/WXCkVqPl5KJ3TC9cVI9pNgzO5tzA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=hWOP7wc6O5E/fkEQeOI4HnfNwbn/DYRYNo7E9tgfIWAlWQgPpcLJjdqVVfajoBhha/HNuVHYYCT8Xrw5PCyiuDjemIhE0Pvfwlx5xHchwwhHm7qzxKr394Z45F4CHmhVS4ACKZxCbiA/99oelmm+WnO9EDQSNiW41VsmXT0X4Sg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=sn/XfAF1; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="sn/XfAF1" Received: by smtp.kernel.org (Postfix) with ESMTPS id 57328C4CEE7; Sat, 22 Feb 2025 13:34:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1740231264; bh=lsXh6HepfnMc+Q/WXCkVqPl5KJ3TC9cVI9pNgzO5tzA=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=sn/XfAF1WWc6JLdoK1USOIIi2YFxmwVcR0+Af3DRone6dZk/0V4bBx8zRMRQpsMks 41CGA2uhlgg8XGLAVSx7Lw8JDgPSuZlo90lCvqJ5SK4l+mrzqQ07KMdm5HvD15Q8Lx aBV3Ybrlv7Yh9Stuad9/6j+2w1uT2AVWSyq1vpFQ4Svfpc4nGpVAnXzo6OxAoHns11 Jth+F6L9S/pKapR+INq9iVIWa2u6LqbelCKUtxp8ONzXxvLmJeWs+jpD5xT26699PQ P+5bYt4DPtsaPIOvkzWQ7Ic0Aov/HuNmyONWL0bjyY0imVnweyNL8whkeOs+QHRg4p L/UJNRqhU27lg== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 49CDAC021B8; Sat, 22 Feb 2025 13:34:24 +0000 (UTC) From: Maud Spierings via B4 Relay Date: Sat, 22 Feb 2025 14:34:16 +0100 Subject: [PATCH v2 2/2] riscv: dts: starfive: fml13v01: increase eMMC bus speed Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250222-fml13v01_emmc_speed-v2-2-3ffc5b1f5663@hotmail.com> References: <20250222-fml13v01_emmc_speed-v2-0-3ffc5b1f5663@hotmail.com> In-Reply-To: <20250222-fml13v01_emmc_speed-v2-0-3ffc5b1f5663@hotmail.com> To: Conor Dooley , Emil Renner Berthing , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti Cc: linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Maud Spierings X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1740231263; l=1059; i=maud_spierings@hotmail.com; s=20250222; h=from:subject:message-id; bh=6oKEZmpEgAskDT6drBgPswULe7sk6pmiFucVopPkPkQ=; b=HISq9mxkhULqrOz8w55mew/rcWCHUqglVyJ7IgxAcKmWD/2YQN766hisLl/aobRLIwGdeNfp3 sjHDAQxsHuyAQDKnhr3zIIoSHBveLa/iQIAvP6iCeHcVt98HumFzn2c X-Developer-Key: i=maud_spierings@hotmail.com; a=ed25519; pk=Z2m97WkDS9Sm3JnKpIpH4JwQtLm2Yw8oFCNw6uMBqb8= X-Endpoint-Received: by B4 Relay for maud_spierings@hotmail.com/20250222 with auth_id=346 X-Original-From: Maud Spierings Reply-To: maud_spierings@hotmail.com From: Maud Spierings The assigned clock speed of 50 MHz is limitting this interface which is SDIO 5.0 capable. Sadly at 200MHz it fails to mount an eMMC drive, 150MHz (really 132 MHz) is the highest it was able to get. This improves the seq read/write performance by 2x~ Signed-off-by: Maud Spierings --- arch/riscv/boot/dts/starfive/jh7110-deepcomputing-fml13v01.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/riscv/boot/dts/starfive/jh7110-deepcomputing-fml13v01.dts= b/arch/riscv/boot/dts/starfive/jh7110-deepcomputing-fml13v01.dts index 8d9ce8b69a71be78ca57618ae842c9f415648450..63b539bedd63d39dbe2096f85aa= f70ba6ab64d29 100644 --- a/arch/riscv/boot/dts/starfive/jh7110-deepcomputing-fml13v01.dts +++ b/arch/riscv/boot/dts/starfive/jh7110-deepcomputing-fml13v01.dts @@ -11,6 +11,10 @@ / { compatible =3D "deepcomputing,fml13v01", "starfive,jh7110"; }; =20 +&mmc0 { + assigned-clock-rates =3D <150000000>; +}; + &pcie1 { perst-gpios =3D <&sysgpio 21 GPIO_ACTIVE_LOW>; phys =3D <&pciephy1>; --=20 2.48.1