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.

Merge tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux

Pull clk fixes from Stephen Boyd:
"A small set of fixes for clk drivers.

One to fix a DT refcount imbalance, two to mark some Amlogic clks as
critical, and one final one that fixes a clk name for the Qualcomm
driver merged this cycle"

* tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux:
clk: qcom: gcc: Fix board clock node name
clk: meson: axg: mark fdiv2 and fdiv3 as critical
clk: meson-gxbb: set fclk_div3 as CLK_IS_CRITICAL
clk: fixed-factor: fix of_node_get-put imbalance

+27 -1
+1
drivers/clk/clk-fixed-factor.c
··· 210 210 { 211 211 struct clk *clk = platform_get_drvdata(pdev); 212 212 213 + of_clk_del_provider(pdev->dev.of_node); 213 214 clk_unregister_fixed_factor(clk); 214 215 215 216 return 0;
+13
drivers/clk/meson/axg.c
··· 325 325 .ops = &clk_regmap_gate_ops, 326 326 .parent_names = (const char *[]){ "fclk_div2_div" }, 327 327 .num_parents = 1, 328 + .flags = CLK_IS_CRITICAL, 328 329 }, 329 330 }; 330 331 ··· 350 349 .ops = &clk_regmap_gate_ops, 351 350 .parent_names = (const char *[]){ "fclk_div3_div" }, 352 351 .num_parents = 1, 352 + /* 353 + * FIXME: 354 + * This clock, as fdiv2, is used by the SCPI FW and is required 355 + * by the platform to operate correctly. 356 + * Until the following condition are met, we need this clock to 357 + * be marked as critical: 358 + * a) The SCPI generic driver claims and enable all the clocks 359 + * it needs 360 + * b) CCF has a clock hand-off mechanism to make the sure the 361 + * clock stays on until the proper driver comes along 362 + */ 363 + .flags = CLK_IS_CRITICAL, 353 364 }, 354 365 }; 355 366
+12
drivers/clk/meson/gxbb.c
··· 506 506 .ops = &clk_regmap_gate_ops, 507 507 .parent_names = (const char *[]){ "fclk_div3_div" }, 508 508 .num_parents = 1, 509 + /* 510 + * FIXME: 511 + * This clock, as fdiv2, is used by the SCPI FW and is required 512 + * by the platform to operate correctly. 513 + * Until the following condition are met, we need this clock to 514 + * be marked as critical: 515 + * a) The SCPI generic driver claims and enable all the clocks 516 + * it needs 517 + * b) CCF has a clock hand-off mechanism to make the sure the 518 + * clock stays on until the proper driver comes along 519 + */ 520 + .flags = CLK_IS_CRITICAL, 509 521 }, 510 522 }; 511 523
+1 -1
drivers/clk/qcom/gcc-qcs404.c
··· 265 265 .div = 1, 266 266 .hw.init = &(struct clk_init_data){ 267 267 .name = "cxo", 268 - .parent_names = (const char *[]){ "xo_board" }, 268 + .parent_names = (const char *[]){ "xo-board" }, 269 269 .num_parents = 1, 270 270 .ops = &clk_fixed_factor_ops, 271 271 },