Skip to content

Commit a47fa46

Browse files
lumagandersson
authored andcommitted
clk: qcom: gcc-mdm9615: drop the cxo clock
The gcc and lcc devices have been switched to the DT-defined cxo_board clock. Now we can drop the manually defined cxo clock. Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Link: https://lore.kernel.org/r/20230512211727.3445575-9-dmitry.baryshkov@linaro.org Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent c01c9ed commit a47fa46

1 file changed

Lines changed: 0 additions & 17 deletions

File tree

drivers/clk/qcom/gcc-mdm9615.c

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,6 @@
2626
#include "clk-branch.h"
2727
#include "reset.h"
2828

29-
static struct clk_fixed_factor cxo = {
30-
.mult = 1,
31-
.div = 1,
32-
.hw.init = &(struct clk_init_data){
33-
.name = "cxo",
34-
.parent_names = (const char *[]){ "cxo_board" },
35-
.num_parents = 1,
36-
.ops = &clk_fixed_factor_ops,
37-
},
38-
};
39-
4029
enum {
4130
DT_CXO,
4231
DT_PLL4,
@@ -1623,10 +1612,6 @@ static struct clk_branch ebi2_aon_clk = {
16231612
},
16241613
};
16251614

1626-
static struct clk_hw *gcc_mdm9615_hws[] = {
1627-
&cxo.hw,
1628-
};
1629-
16301615
static struct clk_regmap *gcc_mdm9615_clks[] = {
16311616
[PLL0] = &pll0.clkr,
16321617
[PLL0_VOTE] = &pll0_vote,
@@ -1736,8 +1721,6 @@ static const struct qcom_cc_desc gcc_mdm9615_desc = {
17361721
.num_clks = ARRAY_SIZE(gcc_mdm9615_clks),
17371722
.resets = gcc_mdm9615_resets,
17381723
.num_resets = ARRAY_SIZE(gcc_mdm9615_resets),
1739-
.clk_hws = gcc_mdm9615_hws,
1740-
.num_clk_hws = ARRAY_SIZE(gcc_mdm9615_hws),
17411724
};
17421725

17431726
static const struct of_device_id gcc_mdm9615_match_table[] = {

0 commit comments

Comments
 (0)