devm_clk_register_regmap(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so bestie, welcome to the devm_clk_register_regmap(9) page in the Kernel API Manual β€” header energy is folded in near the top, and the actual name line is: devm_clk_register_regmap β€” register a clk_regmap clock. πŸ’…

🌸 SYNOPSIS 🌸

int devm_clk_register_regmap (struct device *dev , struct clk_regmap
*rclk );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” reference to the caller's device 🫢
  • rclk β€” clk to operate on πŸ’–

πŸ”₯ DESCRIPTION πŸ”₯

so like, clocks that use regmap for their register I/O should register their clk_regmap struct via this function β€” that way the regmap is initialized and the clock is registered with the common clock framework. literally the whole plot, no cap. πŸ’œ

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./drivers/clk/qcom/clk-regmap.c, plus clk_is_enabled_regmap(9), clk_enable_regmap(9), and clk_disable_regmap(9) β€” go read those next, iykyk. 🌈


k bye bestie! this one is from source/version ./drivers/clk/qcom, dated October 2026, and it's the devm_clk_register_regmap(9) page. mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from