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

clk: qcom: gpucc-msm8998: Remove unnecessary fallbacks to global clocks

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 <angelogioacchino.delregno@somainline.org>
Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org>
Link: https://lore.kernel.org/r/20210911121340.261920-8-marijn.suijten@somainline.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

authored by

Marijn Suijten and committed by
Stephen Boyd
7837187c 60600397

+2 -3
+2 -3
drivers/clk/qcom/gpucc-msm8998.c
··· 40 40 .hw.init = &(struct clk_init_data){ 41 41 .name = "gpucc_cxo_clk", 42 42 .parent_data = &(const struct clk_parent_data){ 43 - .fw_name = "xo", 44 - .name = "xo" 43 + .fw_name = "xo" 45 44 }, 46 45 .num_parents = 1, 47 46 .ops = &clk_branch2_ops, ··· 98 99 99 100 static const struct clk_parent_data gpu_xo_gpll0[] = { 100 101 { .hw = &gpucc_cxo_clk.clkr.hw }, 101 - { .fw_name = "gpll0", .name = "gpll0" }, 102 + { .fw_name = "gpll0" }, 102 103 }; 103 104 104 105 static const struct parent_map gpu_xo_gpupll0_map[] = {