Skip to content

Commit

Permalink
clk: qcom: gpucc-msm8998: Remove unnecessary fallbacks to global clocks
Browse files Browse the repository at this point in the history
A previous patch removes the "xo" clock from the global namespace making
it impossible to acquire by that ".name".  The device-tree for msm8998
already provides the "xo" and "gpll0" clock since the addition of the
gpucc node making it unnecessary to have this fallback at all.

Reviewed-by: AngeloGioacchino Del Regno <[email protected]>
Signed-off-by: Marijn Suijten <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Stephen Boyd <[email protected]>
  • Loading branch information
MarijnS95 authored and bebarino committed Sep 14, 2021
1 parent 6060039 commit 7837187
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions drivers/clk/qcom/gpucc-msm8998.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ static struct clk_branch gpucc_cxo_clk = {
.hw.init = &(struct clk_init_data){
.name = "gpucc_cxo_clk",
.parent_data = &(const struct clk_parent_data){
.fw_name = "xo",
.name = "xo"
.fw_name = "xo"
},
.num_parents = 1,
.ops = &clk_branch2_ops,
Expand Down Expand Up @@ -99,7 +98,7 @@ static const struct parent_map gpu_xo_gpll0_map[] = {

static const struct clk_parent_data gpu_xo_gpll0[] = {
{ .hw = &gpucc_cxo_clk.clkr.hw },
{ .fw_name = "gpll0", .name = "gpll0" },
{ .fw_name = "gpll0" },
};

static const struct parent_map gpu_xo_gpupll0_map[] = {
Expand Down

0 comments on commit 7837187

Please sign in to comment.