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

clk: qcom: gcc-sdm845: get rid of the test clock

The test clock isn't in the bindings and apparently it's not used by
anyone upstream. Remove it.

Suggested-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20210409183004.1617777-4-dmitry.baryshkov@linaro.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

authored by

Dmitry Baryshkov and committed by
Stephen Boyd
d63e1c76 ea434d7a

-15
-15
drivers/clk/qcom/gcc-sdm845.c
··· 28 28 enum { 29 29 P_BI_TCXO, 30 30 P_AUD_REF_CLK, 31 - P_CORE_BI_PLL_TEST_SE, 32 31 P_GPLL0_OUT_EVEN, 33 32 P_GPLL0_OUT_MAIN, 34 33 P_GPLL4_OUT_MAIN, ··· 97 98 { P_BI_TCXO, 0 }, 98 99 { P_GPLL0_OUT_MAIN, 1 }, 99 100 { P_GPLL0_OUT_EVEN, 6 }, 100 - { P_CORE_BI_PLL_TEST_SE, 7 }, 101 101 }; 102 102 103 103 static const struct clk_parent_data gcc_parent_data_0[] = { 104 104 { .fw_name = "bi_tcxo", .name = "bi_tcxo" }, 105 105 { .hw = &gpll0.clkr.hw }, 106 106 { .hw = &gpll0_out_even.clkr.hw }, 107 - { .fw_name = "core_bi_pll_test_se", .name = "core_bi_pll_test_se" }, 108 107 }; 109 108 110 109 static const struct parent_map gcc_parent_map_1[] = { ··· 110 113 { P_GPLL0_OUT_MAIN, 1 }, 111 114 { P_SLEEP_CLK, 5 }, 112 115 { P_GPLL0_OUT_EVEN, 6 }, 113 - { P_CORE_BI_PLL_TEST_SE, 7 }, 114 116 }; 115 117 116 118 static const struct clk_parent_data gcc_parent_data_1[] = { ··· 117 121 { .hw = &gpll0.clkr.hw }, 118 122 { .fw_name = "sleep_clk", .name = "core_pi_sleep_clk" }, 119 123 { .hw = &gpll0_out_even.clkr.hw }, 120 - { .fw_name = "core_bi_pll_test_se", .name = "core_bi_pll_test_se" }, 121 124 }; 122 125 123 126 static const struct parent_map gcc_parent_map_2[] = { 124 127 { P_BI_TCXO, 0 }, 125 128 { P_SLEEP_CLK, 5 }, 126 - { P_CORE_BI_PLL_TEST_SE, 7 }, 127 129 }; 128 130 129 131 static const struct clk_parent_data gcc_parent_data_2[] = { 130 132 { .fw_name = "bi_tcxo", .name = "bi_tcxo" }, 131 133 { .fw_name = "sleep_clk", .name = "core_pi_sleep_clk" }, 132 - { .fw_name = "core_bi_pll_test_se", .name = "core_bi_pll_test_se" }, 133 134 }; 134 135 135 136 static const struct parent_map gcc_parent_map_3[] = { 136 137 { P_BI_TCXO, 0 }, 137 138 { P_GPLL0_OUT_MAIN, 1 }, 138 - { P_CORE_BI_PLL_TEST_SE, 7 }, 139 139 }; 140 140 141 141 static const struct clk_parent_data gcc_parent_data_3[] = { 142 142 { .fw_name = "bi_tcxo", .name = "bi_tcxo" }, 143 143 { .hw = &gpll0.clkr.hw }, 144 - { .fw_name = "core_bi_pll_test_se", .name = "core_bi_pll_test_se" }, 145 144 }; 146 145 147 146 static const struct parent_map gcc_parent_map_4[] = { 148 147 { P_BI_TCXO, 0 }, 149 - { P_CORE_BI_PLL_TEST_SE, 7 }, 150 148 }; 151 149 152 150 static const struct clk_parent_data gcc_parent_data_4[] = { 153 151 { .fw_name = "bi_tcxo", .name = "bi_tcxo" }, 154 - { .fw_name = "core_bi_pll_test_se", .name = "core_bi_pll_test_se" }, 155 152 }; 156 153 157 154 static const struct parent_map gcc_parent_map_6[] = { ··· 152 163 { P_GPLL0_OUT_MAIN, 1 }, 153 164 { P_AUD_REF_CLK, 2 }, 154 165 { P_GPLL0_OUT_EVEN, 6 }, 155 - { P_CORE_BI_PLL_TEST_SE, 7 }, 156 166 }; 157 167 158 168 static const struct clk_parent_data gcc_parent_data_6[] = { ··· 159 171 { .hw = &gpll0.clkr.hw }, 160 172 { .fw_name = "aud_ref_clk", .name = "aud_ref_clk" }, 161 173 { .hw = &gpll0_out_even.clkr.hw }, 162 - { .fw_name = "core_bi_pll_test_se", .name = "core_bi_pll_test_se" }, 163 174 }; 164 175 165 176 static const struct clk_parent_data gcc_parent_data_7_ao[] = { ··· 185 198 { P_GPLL0_OUT_MAIN, 1 }, 186 199 { P_GPLL4_OUT_MAIN, 5 }, 187 200 { P_GPLL0_OUT_EVEN, 6 }, 188 - { P_CORE_BI_PLL_TEST_SE, 7 }, 189 201 }; 190 202 191 203 static const struct clk_parent_data gcc_parent_data_10[] = { ··· 192 206 { .hw = &gpll0.clkr.hw }, 193 207 { .hw = &gpll4.clkr.hw }, 194 208 { .hw = &gpll0_out_even.clkr.hw }, 195 - { .fw_name = "core_bi_pll_test_se", .name = "core_bi_pll_test_se" }, 196 209 }; 197 210 198 211