Re: [PATCH v5 1/7] clk: qcom: gcc-msm8953: fix csi_phytimer_clk_src 100MHz parent
From: Bryan O'Donoghue
Date: Fri Nov 27 2026 - 11:11:54 EST
On 27/11/2026 13:45, Hikmah Gumelar wrote:
The 100 MHz entry in ftbl_csi_phytimer_clk_src selects P_GPLL0_DIV2
with a divider of 4, leaving gcc_camss_csi0phytimer_clk stuck off on
"stuck at on" or "stuck at off"
MSM8953 platforms such as Xiaomi Mi A1 (tissot).
ah I see.
"leaving gcc_camss_csi0phytimer_clk stuck off" you can drop the fragment
"MSM8953 platforms such as Xiaomi Mi A1 (tissot)."
Switch the 100 MHz parent to P_GPLL0 with a divider of 8.
What is the data-source you used for this change ? You should describe how you know this to be a correct change - the code is simple and describes its own change.
For example citing drivers/clk/qcom/gcc-msm8953.c and drivers/clk/qcom/gcc-msm8939.c since they are very similar controllers and the 8939 does it the way you describe below. Also "it works" is another good reason. Inferred from your patch but not stated.
More accuracy is required here.
Fixes: 9bb6cfc3c77e ("clk: qcom: Add Global Clock Controller driver for MSM8953")
Signed-off-by: Hikmah Gumelar<hikmahgumelar@xxxxxxxxx>
---
drivers/clk/qcom/gcc-msm8953.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/qcom/gcc-msm8953.c b/drivers/clk/qcom/gcc-msm8953.c
index 8fe1d3e42144..8aec5600e837 100644
--- a/drivers/clk/qcom/gcc-msm8953.c
+++ b/drivers/clk/qcom/gcc-msm8953.c
@@ -964,7 +964,7 @@ static struct clk_rcg2 csi2p_clk_src = {
};
static const struct freq_tbl ftbl_csi_phytimer_clk_src[] = {
- F(100000000, P_GPLL0_DIV2, 4, 0, 0),
+ F(100000000, P_GPLL0, 8, 0, 0),
F(200000000, P_GPLL0, 4, 0, 0),