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 420E12ED172; Tue, 17 Jun 2025 16:18:59 +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=1750177139; cv=none; b=XTeBfxYuUFOflakARrS5fzkz7fEZjWTHJ5aKa4DD1oId7NUPS/P3bx74thZcorHcNToA0kCX+oQjKEq3vUndgKjytBun3h6mRG+Z3rzA/c51MfhfMJlYpdfp2GRe6ZDGW2q0u3Y5pL4Mr//gX2LNbwseYuj5ZwNG6xnklAcC0jE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750177139; c=relaxed/simple; bh=JLtZRs9b+9ZZ/vu4CyTztlGcen5pYmxmtfCOCv+aKYY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=FrmAn563ZF+/Ps1nFo/tdNtggqFX1FGdzU0xJtEoe3InL7wk2mUG8IhaVqTX7fkRu1Ud3S1Qp6rZNDl3rZp3fa2/S8YlrQE6l5Q9RBVHOQ8XMjj9PbH97e+djH+n2otdDRY0jbdGq5X7/dqVTjYpij3VcerMypbj+xR9COTa5XI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=XNs5VQDB; 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="XNs5VQDB" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9EDECC4CEE7; Tue, 17 Jun 2025 16:18:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1750177139; bh=JLtZRs9b+9ZZ/vu4CyTztlGcen5pYmxmtfCOCv+aKYY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XNs5VQDBEfqaeWS9o099uNRp18Hm2E+XO84qpV006N88/jWA2eXrkgs++YKNs89m6 kzhCzO7PlGlzs8k0j743imK8KG6Y1k190NRIcLwN+uJWN16RKzTJgEERK8jphcYw9r E2B1ehjRExyDL1opb0AVHjG+YAkxfNcuMhT7UrTA= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Stephan Gerhold , Konrad Dybcio , Bryan ODonoghue , Vincent Knecht , Bjorn Andersson , Sasha Levin Subject: [PATCH 6.15 265/780] clk: qcom: gcc-msm8939: Fix mclk0 & mclk1 for 24 MHz Date: Tue, 17 Jun 2025 17:19:33 +0200 Message-ID: <20250617152502.244149774@linuxfoundation.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250617152451.485330293@linuxfoundation.org> References: <20250617152451.485330293@linuxfoundation.org> User-Agent: quilt/0.68 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.15-stable review patch. If anyone has any objections, please let me know. ------------------ From: Vincent Knecht [ Upstream commit 9e7acf70cf6aa7b22f67d911f50a8cd510e8fb00 ] Fix mclk0 & mclk1 parent map to use correct GPLL6 configuration and freq_tbl to use GPLL6 instead of GPLL0 so that they tick at 24 MHz. Fixes: 1664014e4679 ("clk: qcom: gcc-msm8939: Add MSM8939 Generic Clock Controller") Suggested-by: Stephan Gerhold Reviewed-by: Konrad Dybcio Reviewed-by: Bryan O'Donoghue Signed-off-by: Vincent Knecht Link: https://lore.kernel.org/r/20250414-gcc-msm8939-fixes-mclk-v2-resend2-v2-1-5ddcf572a6de@mailoo.org Signed-off-by: Bjorn Andersson Signed-off-by: Sasha Levin --- drivers/clk/qcom/gcc-msm8939.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/qcom/gcc-msm8939.c b/drivers/clk/qcom/gcc-msm8939.c index 7431c9a65044f..45193b3d714ba 100644 --- a/drivers/clk/qcom/gcc-msm8939.c +++ b/drivers/clk/qcom/gcc-msm8939.c @@ -432,7 +432,7 @@ static const struct parent_map gcc_xo_gpll0_gpll1a_gpll6_sleep_map[] = { { P_XO, 0 }, { P_GPLL0, 1 }, { P_GPLL1_AUX, 2 }, - { P_GPLL6, 2 }, + { P_GPLL6, 3 }, { P_SLEEP_CLK, 6 }, }; @@ -1113,7 +1113,7 @@ static struct clk_rcg2 jpeg0_clk_src = { }; static const struct freq_tbl ftbl_gcc_camss_mclk0_1_clk[] = { - F(24000000, P_GPLL0, 1, 1, 45), + F(24000000, P_GPLL6, 1, 1, 45), F(66670000, P_GPLL0, 12, 0, 0), { } }; -- 2.39.5