OSDN Git Service

clk: qcom: Get rid of the test clock for videocc-sc7180
authorDouglas Anderson <dianders@chromium.org>
Mon, 3 Feb 2020 18:31:45 +0000 (10:31 -0800)
committerStephen Boyd <sboyd@kernel.org>
Tue, 4 Feb 2020 07:05:06 +0000 (23:05 -0800)
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: Douglas Anderson <dianders@chromium.org>
Link: https://lkml.kernel.org/r/20200203103049.v4.12.Ifd19a2701a102ec9f04e61a09345198383a9e937@changeid
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/qcom/videocc-sc7180.c

index 76add30..653fc4e 100644 (file)
@@ -50,13 +50,11 @@ static struct clk_alpha_pll video_pll0 = {
 static const struct parent_map video_cc_parent_map_1[] = {
        { P_BI_TCXO, 0 },
        { P_VIDEO_PLL0_OUT_MAIN, 1 },
-       { P_CORE_BI_PLL_TEST_SE, 7 },
 };
 
 static const struct clk_parent_data video_cc_parent_data_1[] = {
        { .fw_name = "bi_tcxo" },
        { .hw = &video_pll0.clkr.hw },
-       { .fw_name = "core_bi_pll_test_se", .name = "core_bi_pll_test_se" },
 };
 
 static const struct freq_tbl ftbl_video_cc_venus_clk_src[] = {
@@ -78,7 +76,7 @@ static struct clk_rcg2 video_cc_venus_clk_src = {
        .clkr.hw.init = &(struct clk_init_data){
                .name = "video_cc_venus_clk_src",
                .parent_data = video_cc_parent_data_1,
-               .num_parents = 3,
+               .num_parents = 2,
                .flags = CLK_SET_RATE_PARENT,
                .ops = &clk_rcg2_shared_ops,
        },