From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
To: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>
Cc: Neil Armstrong <neil.armstrong@linaro.org>,
Rob Herring <robh@kernel.org>, Conor Dooley <conor+dt@kernel.org>,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH 3/3] arm64: dts: qcom: sm8650: Enable UHS-I SDR50 and SDR104 SD card modes
Date: Thu, 27 Nov 2025 14:42:57 +0100 [thread overview]
Message-ID: <31210bda-c01c-473c-ba6d-e5e98e8c2030@oss.qualcomm.com> (raw)
In-Reply-To: <20251126012043.3764567-4-vladimir.zapolskiy@linaro.org>
On 11/26/25 2:20 AM, Vladimir Zapolskiy wrote:
> The restriction on UHS-I speed modes was added to all SM8650 platforms
> by copying it from SM8450 and SM8550 dtsi files, and it was an actually
> reproducible problem due to the overclocking of SD cards. Since the latter
> issue has been fixed in the SM8650 GCC driver, UHS-I speed modes are
> working fine on SM8650 boards, below is the test performed on SM8650-HDK:
>
> SDR50 speed mode:
>
> mmc0: new UHS-I speed SDR50 SDHC card at address 0001
> mmcblk0: mmc0:0001 00000 14.6 GiB
> mmcblk0: p1
>
> % dd if=/dev/mmcblk0p1 of=/dev/null bs=1M count=1024
> 1024+0 records in
> 1024+0 records out
> 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 24.8086 s, 43.3 MB/s
>
> SDR104 speed mode:
>
> mmc0: new UHS-I speed SDR104 SDHC card at address 59b4
> mmcblk0: mmc0:59b4 USDU1 28.3 GiB
> mmcblk0: p1
>
> % dd if=/dev/mmcblk0p1 of=/dev/null bs=1M count=1024
> 1024+0 records in
> 1024+0 records out
> 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 12.9448 s, 82.9 MB/s
>
> Unset the UHS-I speed mode restrictions from the SM8550 platform dtsi
> file, there is no indication that the SDHC controller is broken.
>
> Signed-off-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
> ---
> arch/arm64/boot/dts/qcom/sm8650.dtsi | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/sm8650.dtsi b/arch/arm64/boot/dts/qcom/sm8650.dtsi
> index ebf1971b1bfb..1be709204cae 100644
> --- a/arch/arm64/boot/dts/qcom/sm8650.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sm8650.dtsi
> @@ -4939,9 +4939,6 @@ &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>,
>
> bus-width = <4>;
>
> - /* Forbid SDR104/SDR50 - broken hw! */
This comment wasn't even right.. it did forbid MMC_CAP_4_BIT_DATA
which seems to have knocked off UHS-I for good, but also MMC_CAP_MMC_HIGHSPEED
which isn't applicable to SD cards
in any case
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Konrad
next prev parent reply other threads:[~2025-11-27 13:43 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-26 1:20 [PATCH 0/3] arm64: dts: qcom: sm8x50: Enable UHS-I SDR50 and SDR104 SD card modes Vladimir Zapolskiy
2025-11-26 1:20 ` [PATCH 1/3] arm64: dts: qcom: sm8450: " Vladimir Zapolskiy
2025-11-26 8:09 ` Neil Armstrong
2025-11-27 13:43 ` Konrad Dybcio
2025-11-26 1:20 ` [PATCH 2/3] arm64: dts: qcom: sm8550: " Vladimir Zapolskiy
2025-11-26 8:08 ` Neil Armstrong
2025-11-27 13:40 ` Konrad Dybcio
2025-11-27 14:27 ` Vladimir Zapolskiy
2025-11-28 11:04 ` Konrad Dybcio
2025-11-26 1:20 ` [PATCH 3/3] arm64: dts: qcom: sm8650: " Vladimir Zapolskiy
2025-11-26 8:08 ` Neil Armstrong
2025-11-27 13:42 ` Konrad Dybcio [this message]
2025-11-26 16:14 ` [PATCH 0/3] arm64: dts: qcom: sm8x50: " Val Packett
2025-11-26 17:17 ` Vladimir Zapolskiy
2025-11-27 13:47 ` Konrad Dybcio
2025-11-27 19:33 ` Val Packett
2025-11-28 1:19 ` Vladimir Zapolskiy
2025-11-28 9:46 ` Konrad Dybcio
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=31210bda-c01c-473c-ba6d-e5e98e8c2030@oss.qualcomm.com \
--to=konrad.dybcio@oss.qualcomm.com \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=robh@kernel.org \
--cc=vladimir.zapolskiy@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox