Skip to content

Commit 57c8e9d

Browse files
abelvesaandersson
authored andcommitted
clk: qcom: tcsrcc-x1e80100: Set the bi_tcxo as parent to eDP refclk
All the other ref clocks provided by this driver have the bi_tcxo as parent. The eDP refclk is the only one without a parent, leading to reporting its rate as 0. So set its parent to bi_tcxo, just like the rest of the refclks. Cc: stable@vger.kernel.org # v6.9 Fixes: 06aff11 ("clk: qcom: Add TCSR clock driver for x1e80100") Signed-off-by: Abel Vesa <abel.vesa@linaro.org> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Link: https://lore.kernel.org/r/20250730-clk-qcom-tcsrcc-x1e80100-parent-edp-refclk-v1-1-7a36ef06e045@linaro.org Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent 9ff39b0 commit 57c8e9d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

drivers/clk/qcom/tcsrcc-x1e80100.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ static struct clk_branch tcsr_edp_clkref_en = {
2929
.enable_mask = BIT(0),
3030
.hw.init = &(const struct clk_init_data) {
3131
.name = "tcsr_edp_clkref_en",
32+
.parent_data = &(const struct clk_parent_data){
33+
.index = DT_BI_TCXO_PAD,
34+
},
35+
.num_parents = 1,
3236
.ops = &clk_branch2_ops,
3337
},
3438
},

0 commit comments

Comments
 (0)