From mboxrd@z Thu Jan 1 00:00:00 1970 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 2CA0518B0A; Wed, 25 Feb 2026 01:36:32 +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=1771983392; cv=none; b=peoEmfF3hb0HdEArFFr1iLHKb2/+Ca/crZr1ezcsTU4Gn2UXvE4+kyyCk4DcartPK5drrO94eC4LLc0wasi4lm1TMiQOJIuBc+oaBQEs4Mn7CvP21Sok7rH3KLdbcMNqLrdP7YeZnRZ5gEZiIzonsVuQFfQvq7P9TkRu7zhOWtM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771983392; c=relaxed/simple; bh=HmWbLTRngcSxV2mTxuz3qHuqUsPcSJhRMljI4T0cIm0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=OGodeAGIu2sjHIenYpTX2uNdvZLV3hlzWc/zR6uuplHRN28u6whVqecO2CRYiNnFy+7VbES/TpeczY5jlKGhAlj7WEPSSMtUbZK0Fm6MUoJu6WeTaHw8qTQfR0TlYtvTK7y6wLw37IP6760L/qF/G3mk0AH4PsKQbQ3EKtrFNcY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=r0GaK2xC; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="r0GaK2xC" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DF024C116D0; Wed, 25 Feb 2026 01:36:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1771983392; bh=HmWbLTRngcSxV2mTxuz3qHuqUsPcSJhRMljI4T0cIm0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=r0GaK2xCIDQ7A5//nMuMPFhrwcgDepe+Bj6cVA6/gosI8pAPS1vBd3w5j1rJf+nHZ i/myX9fieZAgxtYABsSX0fZvwmeuIGTvZHKc2FOhFQxqqiFAheWUeX+l0pkAbO5Rom 1CmI21glfvLShZLV1dHu+YLtS8soru+NE4lj7F6Y= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Vladimir Zapolskiy , Neil Armstrong , Taniya Das , Bjorn Andersson , Sasha Levin Subject: [PATCH 6.19 514/781] clk: qcom: gcc-sm8650: Use floor ops for SDCC RCGs Date: Tue, 24 Feb 2026 17:20:23 -0800 Message-ID: <20260225012412.411045307@linuxfoundation.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260225012359.695468795@linuxfoundation.org> References: <20260225012359.695468795@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.19-stable review patch. If anyone has any objections, please let me know. ------------------ From: Vladimir Zapolskiy [ Upstream commit 8c4415fd17cd5979c31a4bf303acc702e9726033 ] In line with commit a27ac3806b0a ("clk: qcom: gcc-sm8450: Use floor ops for SDCC RCGs") done to fix issues with overclocked SD cards on SM8450 powered boards set floor clock operations for SDCC RCGs on SM8650. This change fixes initialization of some SD cards, where the problem is manifested by the SDHC driver: mmc0: Card appears overclocked; req 50000000 Hz, actual 100000000 Hz mmc0: error -110 whilst initialising SD card Fixes: c58225b7e3d7 ("clk: qcom: add the SM8650 Global Clock Controller driver, part 1") Signed-off-by: Vladimir Zapolskiy Reviewed-by: Neil Armstrong Reviewed-by: Taniya Das Link: https://lore.kernel.org/r/20251124212012.3660189-3-vladimir.zapolskiy@linaro.org Signed-off-by: Bjorn Andersson Signed-off-by: Sasha Levin --- drivers/clk/qcom/gcc-sm8650.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/qcom/gcc-sm8650.c b/drivers/clk/qcom/gcc-sm8650.c index 24f98062b9dd5..2dd6444ce0365 100644 --- a/drivers/clk/qcom/gcc-sm8650.c +++ b/drivers/clk/qcom/gcc-sm8650.c @@ -1257,7 +1257,7 @@ static struct clk_rcg2 gcc_sdcc2_apps_clk_src = { .parent_data = gcc_parent_data_11, .num_parents = ARRAY_SIZE(gcc_parent_data_11), .flags = CLK_SET_RATE_PARENT, - .ops = &clk_rcg2_shared_ops, + .ops = &clk_rcg2_shared_floor_ops, }, }; @@ -1279,7 +1279,7 @@ static struct clk_rcg2 gcc_sdcc4_apps_clk_src = { .parent_data = gcc_parent_data_0, .num_parents = ARRAY_SIZE(gcc_parent_data_0), .flags = CLK_SET_RATE_PARENT, - .ops = &clk_rcg2_shared_ops, + .ops = &clk_rcg2_shared_floor_ops, }, }; -- 2.51.0