Skip to content

Commit 92dfee0

Browse files
konradybcioandersson
authored andcommitted
clk: qcom: dispcc-qcm2290: Fix BI_TCXO_AO handling
BI_TCXO_AO (.fw_name = "bi_tcxo_ao") was previously made to reuse the same parent enum entry as BI_TCXO (.fw_name = "bi_tcxo") in parent_map_2. Resolve it by introducing its own entry in the parent enum and correctly assigning it in disp_cc_parent_map_2[]. Fixes: cc517ea ("clk: qcom: Add display clock controller driver for QCM2290") Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20230412-topic-qcm_dispcc-v2-1-bce7dd512fe4@linaro.org
1 parent 349b5be commit 92dfee0

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

drivers/clk/qcom/dispcc-qcm2290.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424

2525
enum {
2626
P_BI_TCXO,
27+
P_BI_TCXO_AO,
2728
P_DISP_CC_PLL0_OUT_MAIN,
2829
P_DSI0_PHY_PLL_OUT_BYTECLK,
2930
P_DSI0_PHY_PLL_OUT_DSICLK,
@@ -82,7 +83,7 @@ static const struct clk_parent_data disp_cc_parent_data_1[] = {
8283
};
8384

8485
static const struct parent_map disp_cc_parent_map_2[] = {
85-
{ P_BI_TCXO, 0 },
86+
{ P_BI_TCXO_AO, 0 },
8687
{ P_GPLL0_OUT_MAIN, 4 },
8788
};
8889

@@ -151,7 +152,7 @@ static struct clk_regmap_div disp_cc_mdss_byte0_div_clk_src = {
151152
};
152153

153154
static const struct freq_tbl ftbl_disp_cc_mdss_ahb_clk_src[] = {
154-
F(19200000, P_BI_TCXO, 1, 0, 0),
155+
F(19200000, P_BI_TCXO_AO, 1, 0, 0),
155156
F(37500000, P_GPLL0_OUT_MAIN, 8, 0, 0),
156157
F(75000000, P_GPLL0_OUT_MAIN, 4, 0, 0),
157158
{ }

0 commit comments

Comments
 (0)