Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 1D1E04BEE3C; Sat, 12 Sep 2026 16:57:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789232241; cv=none; b=W6v/7h0+IGnbdQc3hXyV0NCOqQc7ojyLEEO7Mg+XAUkUVHH9hltCTgByaDQYLTHhZxK9VtkX8pMRkfFRyfMVvJt+EVPc2pC8BQtSiRMpGc+A32veP1LteXQevUSIvo+bbCv+OayS91vu8tWrsPBEu0k9P2vXsOVI/3ZHaPJ3ifw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789232241; c=relaxed/simple; bh=x+iXsoDAkT6hS+NCr2w0PbIBWe3uU1yyd2FV3pxcP2s=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=eJUBfovkhuWcclRwM7OxwWHI0b6ZiFuM2lubD1ltIgifge45f1UhjZujDyB84r0JePs84jElCa+8H2BmlWo3uoI8ZizDh8iqK04sWYJtMaig50TkR1QHtBQfaKMp/If1ZXOE2/+0yf6Lmr9qa3C0zodHXErcy34xFLlF86cTV5c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=DdHtwyf4; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="DdHtwyf4" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6FF131F000FF; Sat, 12 Sep 2026 16:57:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789232239; bh=hryQjVXVyj5VYWG4XQPJpEk9Qe0nrdloPRPIWOvS/B0=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=DdHtwyf4Us8ixm+2yUpiHTR82lv8yvqKM02yEEURpBzYY/rqu5CLE0BBsAza8HLkK gN+zqi7NSsDY5gEZgR+/6fRi6TSlijD+aZdCwk8VCSO/EwByKJbERyi8M7nr3/p2BP N/K+7rTNeuBA4JHenvQvp95sq8xNCBaQBGuDaxGA= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Vladimir Zapolskiy , Konrad Dybcio , Neil Armstrong , Bjorn Andersson , Sasha Levin Subject: [PATCH 6.1 1163/1191] arm64: dts: qcom: sm8550: Fix xo clock supply of platform SD host controller Date: Sat, 12 Sep 2026 09:04:51 +0200 Message-ID: <20260912065614.263224027@linuxfoundation.org> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260912065548.086904252@linuxfoundation.org> References: <20260912065548.086904252@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.1-stable review patch. If anyone has any objections, please let me know. ------------------ From: Vladimir Zapolskiy [ Upstream commit 30ac651c69bddbc83cab6d52fc5d2e03bed83282 ] The expected frequency of SD host controller core supply clock is 19.2MHz, while RPMH_CXO_CLK clock frequency on SM8650 platform is 38.4MHz. Apparently the overclocked supply clock could be good enough on some boards and even with the most of SD cards, however some low-end UHS-I SD cards in SDR104 mode of the host controller produce I/O errors in runtime, fortunately this problem is gone, if the "xo" clock frequency matches the expected 19.2MHz clock rate. Fixes: ffc50b2d3828 ("arm64: dts: qcom: Add base SM8550 dtsi") Signed-off-by: Vladimir Zapolskiy Reviewed-by: Konrad Dybcio Reviewed-by: Neil Armstrong Link: https://lore.kernel.org/r/20260314023715.357512-2-vladimir.zapolskiy@linaro.org Signed-off-by: Bjorn Andersson Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/qcom/sm8550.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm8550.dtsi b/arch/arm64/boot/dts/qcom/sm8550.dtsi index 21fbfa2a2633c..99439d3f09737 100644 --- a/arch/arm64/boot/dts/qcom/sm8550.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8550.dtsi @@ -1715,7 +1715,7 @@ sdhc_2: mmc@8804000 { clocks = <&gcc GCC_SDCC2_AHB_CLK>, <&gcc GCC_SDCC2_APPS_CLK>, - <&rpmhcc RPMH_CXO_CLK>; + <&bi_tcxo_div2>; clock-names = "iface", "core", "xo"; iommus = <&apps_smmu 0x540 0>; qcom,dll-config = <0x0007642c>; -- 2.53.0