ti_sci_clk_probe(9)
π ti_sci_clk_probe π
okay so this is a page straight out of the Kernel API Manual, and it's about one very specific little function, but trust me bestie it's lowkey the main character of the TI SCI clock driver's origin story β¨
π NAME π
ti_sci_clk_probe β the probe function for the TI SCI clock driver. that's it, that's the job description π
πΈ SYNOPSIS πΈ
int ti_sci_clk_probe (struct platform_device *pdev );
like, it takes one thing and gives you back an int. simple. elegant. iconic.
π¦ ARGUMENTS π¦
pdevβ the platform device pointer that's about to get probed. yes, that pdev. the one being probed. it's giving "here's the device, do your thing" π«Ά
β DESCRIPTION β
so what does it actually do? buckle up:
this function probes the TI SCI clock device π°οΈ. it allocates a brand-new clock provider and registers that provider with the common clock framework β like introducing your new friend to the group chat and hoping everyone gets along fr fr.
it also applies any required flags to the clocks it identifies, using clock lists that come straight from DT (device tree, iykyk π).
and the return situation? returns 0 for success π, or a negative error value for failure π. no in-between, no "maybe", that's just how it is.
ngl if you get a negative number back, something did NOT slay. check your flags and your DT lists bestie π
π SEE ALSO π
the whole squad, no cap:
- the kernel file
./drivers/clk/keystone/sci-clk.cπ struct sci_clk_provider(9)struct sci_clk(9)sci_clk_prepare(9)sci_clk_unprepare(9)sci_clk_is_prepared(9)sci_clk_recalc_rate(9)sci_clk_determine_rate(9)sci_clk_set_rate(9)sci_clk_get_parent(9)sci_clk_set_parent(9)_sci_clk_build(9)sci_clk_get(9)ti_sci_clk_remove(9)
every single one of them, exactly as named, go read them π
and that's the page!! mwah π it lives under ./drivers/clk/keystone, it's dated October 2026, and it's part of that same Kernel API Manual we mentioned at the top. slay, bye π§ββοΈβ¨
π¦ 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