davinci_lpsc_clk_register(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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

okay so picture this: you're deep in davinci_lpsc_clk_register from the Kernel API Manual (section 9, kernel-space girlies only πŸ’–) and you just need to register an LPSC clock. that's it. that's the whole vibe. no cap, the name literally says it: register LPSC clock. iconic behavior tbh 🌸


✨ SYNOPSIS ✨

struct davinci_lpsc_clk * davinci_lpsc_clk_register (struct device *dev
, const char *name , const char *parent_name , struct regmap *regmap ,
u32 md , u32 pd , u32 flags );

seven arguments, one struct pointer back, and honestly? she ate πŸ”₯


🫢 ARGUMENTS 🫢

  • dev β€” the clock's device, or NULL if you're feeling mysterious and unmoored πŸ™ˆ literally either one is fine bestie.
  • name β€” name of this clock. give her a good one, she deserves it ⭐
  • parent_name β€” name of clock's parent. yes she has a mother πŸ‘‘
  • regmap β€” the PSC MMIO region. this is where the actual hardware lives, treat her with respect πŸ’œ
  • md β€” local PSC number. a u32, not a vibe check, keep it straight πŸ”’
  • pd β€” power domain. also a u32. the domain of power πŸ’…
  • flags β€” the LPSC_* flags. she's flexible, she's got options, she's a u32 too ✨

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./drivers/clk/davinci/psc.c β€” the source, go read her πŸ“–
  • struct davinci_lpsc_clk(9) β€” the struct herself, main character energy fr fr πŸ‘‘
  • best_dev_name(9) β€” the helper bestie you'll also wanna know 🌈

heads up: if you pass NULL for dev that's allowed, but everything else is you doing the work, so know your regmap and your flags before you call her πŸ“

and that's the page!! πŸ’€ shoutout to ./drivers/clk/davinci for hosting the files, October 2026 for the timestamp, and davinci_lpsc_clk_register(9) for being the whole point of this document 🧚 mwah, go register some clocks, iykyk πŸ’–πŸŽ€

πŸ“¦ where this page comes from