Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Dmitry Baryshkov and committed by
Bjorn Andersson
a47fa461 c01c9ed3

-17
-17
drivers/clk/qcom/gcc-mdm9615.c
··· 26 26 #include "clk-branch.h" 27 27 #include "reset.h" 28 28 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 - 40 29 enum { 41 30 DT_CXO, 42 31 DT_PLL4, ··· 1612 1623 }, 1613 1624 }; 1614 1625 1615 - static struct clk_hw *gcc_mdm9615_hws[] = { 1616 - &cxo.hw, 1617 - }; 1618 - 1619 1626 static struct clk_regmap *gcc_mdm9615_clks[] = { 1620 1627 [PLL0] = &pll0.clkr, 1621 1628 [PLL0_VOTE] = &pll0_vote, ··· 1721 1736 .num_clks = ARRAY_SIZE(gcc_mdm9615_clks), 1722 1737 .resets = gcc_mdm9615_resets, 1723 1738 .num_resets = ARRAY_SIZE(gcc_mdm9615_resets), 1724 - .clk_hws = gcc_mdm9615_hws, 1725 - .num_clk_hws = ARRAY_SIZE(gcc_mdm9615_hws), 1726 1739 }; 1727 1740 1728 1741 static const struct of_device_id gcc_mdm9615_match_table[] = {