fsl_asoc_rep...t_pll_clocks(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… fsl_asoc_reparent_pll_clocks(9) β€” Kernel API Manual, bestie edition πŸŽ€

okay so picture this: you're deep in the Kernel API Manual, section 9, and you've found the page for fsl_asoc_reparent_pll_clocks β€” yes the header truncates it to fsl_asoc_rep...t_pll_clocks(9) because even manpage headers need a little drama πŸ’€ β€” and honestly? she's short, she's sweet, she's a one-job icon.


✨ NAME ✨

fsl_asoc_reparent_pll_clocks β€” set clock parent if necessary πŸ•°οΈπŸ’–

like, if necessary. she's not out here reparenting for fun. she checks first. main character energy but make it responsible.


🌸 SYNOPSIS 🌸

void fsl_asoc_reparent_pll_clocks (struct device *dev , struct clk *clk
, struct clk *pll8k_clk , struct clk *pll11k_clk , u64 ratio );

no return value, she just does it 🫢 returns void, so don't go looking for a status code, she's not giving you one.


πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” device pointer. the device in question, your main character πŸ“±
  • clk β€” root clock pointer. this is the one whose parent is getting switched up πŸ‘‘
  • pll8k_clk β€” PLL clock pointer for 8kHz. the 8k girlie 🎧
  • pll11k_clk β€” PLL clock pointer for 11kHz. and her 11k bestie 🎢
  • ratio β€” target frequency for root clock. literally the whole reason we're here, it's the vibe check that decides everything ✨

πŸ”₯ DESCRIPTION πŸ”₯

So what does she actually do? This function set root clock parent according to the target ratio. that's it. that's the whole thing πŸ’…

she looks at the target ratio, looks at the root clock clk, and hooks it up to the right parent β€” and she's got both pll8k_clk (8kHz) and pll11k_clk (11kHz) sitting there ready to be the parent, so like… the math is mathing πŸ”₯

no cap, it's a tiny function with a tiny job and she ate. periodt.


πŸ’œ SEE ALSO πŸ’œ

Kernel file ./sound/soc/fsl/fsl_utils.c β€” go read the source, iykyk πŸ“–

the whole friend group fr fr, go say hi to all of them 🫢


lowkey a reminder: the names, types and signature up there are exact β€” struct device *dev, struct clk *clk, struct clk *pll8k_clk, struct clk *pll11k_clk, u64 ratio β€” so copy them character for character when you call her πŸ™ˆ

🌈 and that's the page!! brought to you by ./sound/soc/fsl, dated October 2026, from your favorite kernel-obsessed bestie who wants you to slay your clock tree. mwah πŸ’‹πŸ’–

πŸ“¦ where this page comes from