devm_clk_register_regmap(9)
β¨ 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βclkto 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms