devm_clk_hw..._parent_data(9)
π devm_clk_hw_register_fixed_rate_parent_data β a Kernel API Manual moment
okay so bestie, welcome to the Kernel API Manual β¨ this one's about registering a fixed-rate clock with the clock framework, and honestly? it's giving "I have a device, I have a very specific number, and I refuse to change it" π
πΈ NAME πΈ
devm_clk_hw_register_fixed_rate_parent_data β register fixed-rate clock with the clock framework π
no cap, that's the whole thing. it registers. it's fixed-rate. it has parent data. she's a package deal β¨
π¦ SYNOPSIS π¦
devm_clk_hw_register_fixed_rate_parent_data (dev , name , parent_data ,
flags , fixed_rate );
look at her π«Ά all lowercase, all business, five args and not one more.
π ARGUMENTS π
okay let's break down the group chat one by one π
devβ the device that is registering this clock. like, whose name is going on the lease bestie πnameβ name of this clock. she needs a name or nobody knows who she is πparent_dataβ the parent clk data. that's her ancestry, her lore, her main character origin story πflagsβ framework-specific flags. little toggles that tell the framework how to treat her βfixed_rateβ the non-adjustable clock rate. non-adjustable means non-adjustable, bestie β this number is not negotiating π it's fixed, periodt π
quick vibe check: that's it, that's the whole argument list. no hidden extras, no secret sixth arg hiding in the replies π
π SEE ALSO π
sit down and get comfy because this list is long and she ate π₯ everything here lives in the kernel file ./include/linux/clk-provider.h and honestly it's the whole clk-provider fam reunion:
clk framework flags(9)struct clk_rate_request(9)struct clk_duty(9)struct clk_spread_spectrum(9)struct clk_ops(9)struct clk_parent_data(9)struct clk_init_data(9)struct clk_hw(9)struct clk_fixed_rate(9)clk_hw_register_fixed_rate(9)devm_clk_hw_register_fixed_rate(9)clk_hw_register_fixed_rate_parent_hw(9)clk_hw_register_fixed_rate_parent_data(9)clk_hw_register_fixed_rate_with_accuracy(9)clk_hw_register_fixed_rate_with_accuracy_parent_hw(9)clk_hw_register_fixed_rate_with_accuracy_parent_data(9)clk_hw_register_fixed_rate_parent_accuracy(9)struct clk_gate(9)clk_hw_register_gate(9)clk_hw_register_gate_parent_hw(9)clk_hw_register_gate_parent_data(9)devm_clk_hw_register_gate(9)devm_clk_hw_register_gate_parent_hw(9)devm_clk_hw_register_gate_parent_data(9)struct clk_divider(9)clk_register_divider(9)clk_hw_register_divider(9)clk_hw_register_divider_parent_hw(9)clk_hw_register_divider_parent_data(9)clk_hw_register_divider_table(9)clk_hw_register_divider_table_parent_hw(9)clk_hw_register_divider_table_parent_data(9)devm_clk_hw_register_divider(9)devm_clk_hw_register_divider_parent_hw(9)devm_clk_hw_register_divider_parent_data(9)devm_clk_hw_register_divider_table(9)struct clk_mux(9)struct clk_fixed_factor(9)devm_clk_hw_register_fixed_factor_parent_hw(9)struct clk_fractional_divider(9)struct clk_multiplier(9)clk_hw_get_dev(9)clk_hw_get_of_node(9)
like I said β the whole fam π«Ά iykyk.
and that's the page, bestie π sourced from ./include/linux, dated October 2026, and filed under devm_clk_hw..._parent_data(9) in this very Kernel API Manual. slay, go register your fixed-rate clock, and hydrate ππ§ββοΈ
π¦ 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