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

Configure Feed

Select the types of activity you want to include in your feed.

clk: qcom: gcc-msm8974: switch from sleep_clk_src to sleep_clk

gcc-msm8974 uses the registered sleep_clk_src clock, which is just a 1:1
fixed factor clock register on top of the board's sleep_clk. Switch the
driver to use the board sleep_clk directly.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221228203725.3131237-1-dmitry.baryshkov@linaro.org

authored by

Dmitry Baryshkov and committed by
Bjorn Andersson
e09327d7 a615df45

+5 -5
+5 -5
drivers/clk/qcom/gcc-msm8974.c
··· 2110 2110 .hw.init = &(struct clk_init_data){ 2111 2111 .name = "gcc_sdcc1_cdccal_sleep_clk", 2112 2112 .parent_data = (const struct clk_parent_data[]){ 2113 - { .fw_name = "sleep_clk", .name = "sleep_clk_src" } 2113 + { .fw_name = "sleep_clk", .name = "sleep_clk" } 2114 2114 }, 2115 2115 .num_parents = 1, 2116 2116 .ops = &clk_branch2_ops, ··· 2275 2275 .hw.init = &(struct clk_init_data){ 2276 2276 .name = "gcc_usb2a_phy_sleep_clk", 2277 2277 .parent_data = &(const struct clk_parent_data){ 2278 - .fw_name = "sleep_clk", .name = "sleep_clk_src", 2278 + .fw_name = "sleep_clk", .name = "sleep_clk", 2279 2279 }, 2280 2280 .num_parents = 1, 2281 2281 .ops = &clk_branch2_ops, ··· 2291 2291 .hw.init = &(struct clk_init_data){ 2292 2292 .name = "gcc_usb2b_phy_sleep_clk", 2293 2293 .parent_data = &(const struct clk_parent_data){ 2294 - .fw_name = "sleep_clk", .name = "sleep_clk_src", 2294 + .fw_name = "sleep_clk", .name = "sleep_clk", 2295 2295 }, 2296 2296 .num_parents = 1, 2297 2297 .ops = &clk_branch2_ops, ··· 2341 2341 .hw.init = &(struct clk_init_data){ 2342 2342 .name = "gcc_usb30_sleep_clk", 2343 2343 .parent_data = &(const struct clk_parent_data){ 2344 - .fw_name = "sleep_clk", .name = "sleep_clk_src", 2344 + .fw_name = "sleep_clk", .name = "sleep_clk", 2345 2345 }, 2346 2346 .num_parents = 1, 2347 2347 .ops = &clk_branch2_ops, ··· 2440 2440 .hw.init = &(struct clk_init_data){ 2441 2441 .name = "gcc_usb_hsic_io_cal_sleep_clk", 2442 2442 .parent_data = &(const struct clk_parent_data){ 2443 - .fw_name = "sleep_clk", .name = "sleep_clk_src", 2443 + .fw_name = "sleep_clk", .name = "sleep_clk", 2444 2444 }, 2445 2445 .num_parents = 1, 2446 2446 .ops = &clk_branch2_ops,