clk: qcom: gcc-mdm9615: drop the cxo clock
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Fri, 12 May 2023 21:17:25 +0000 (00:17 +0300)
committerBjorn Andersson <andersson@kernel.org>
Mon, 31 Jul 2023 21:25:17 +0000 (14:25 -0700)
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>
drivers/clk/qcom/gcc-mdm9615.c

index 458c18b..64d4f50 100644 (file)
 #include "clk-branch.h"
 #include "reset.h"
 
-static struct clk_fixed_factor cxo = {
-       .mult = 1,
-       .div = 1,
-       .hw.init = &(struct clk_init_data){
-               .name = "cxo",
-               .parent_names = (const char *[]){ "cxo_board" },
-               .num_parents = 1,
-               .ops = &clk_fixed_factor_ops,
-       },
-};
-
 enum {
        DT_CXO,
        DT_PLL4,
@@ -1623,10 +1612,6 @@ static struct clk_branch ebi2_aon_clk = {
        },
 };
 
-static struct clk_hw *gcc_mdm9615_hws[] = {
-       &cxo.hw,
-};
-
 static struct clk_regmap *gcc_mdm9615_clks[] = {
        [PLL0] = &pll0.clkr,
        [PLL0_VOTE] = &pll0_vote,
@@ -1736,8 +1721,6 @@ static const struct qcom_cc_desc gcc_mdm9615_desc = {
        .num_clks = ARRAY_SIZE(gcc_mdm9615_clks),
        .resets = gcc_mdm9615_resets,
        .num_resets = ARRAY_SIZE(gcc_mdm9615_resets),
-       .clk_hws = gcc_mdm9615_hws,
-       .num_clk_hws = ARRAY_SIZE(gcc_mdm9615_hws),
 };
 
 static const struct of_device_id gcc_mdm9615_match_table[] = {