sci_clk_set_rate(9)
π sci_clk_set_rate β like, the manual page, bestie
okay so this is sci_clk_set_rate(9) from the Kernel API Manual and it's genuinely one of the shorter ones so we can absolutely get through it together π«Ά
β¨ NAME β¨
sci_clk_set_rate β sets the rate for a TI SCI clock, no cap π₯
β¨ SYNOPSIS β¨
int sci_clk_set_rate (struct clk_hw *hw , unsigned long rate , unsigned
long parent_rate );
like yes the line breaks are ugly, that's just how it's formatted in the source, we don't judge π
β¨ ARGUMENTS β¨
hwβ the clock you're changing the rate for, the main character of this whole operation πrateβ the target rate for the clock, i.e. what you want it to be π―parent_rateβ the rate of the clock parent. for TI SCI clocks this one is literally not used, it's just there vibing π
β¨ DESCRIPTION β¨
so what it does: it sets a clock frequency for a TI SCI clock. that's it, that's the whole vibe β¨
and it returns the TI SCI protocol status β so like, check that return value, bestie, it's giving "i have news" π
ngl parent_rate is passed in but not used for TI SCI clocks β don't stress about it, it's not you, it's the API π
β¨ SEE ALSO β¨
go look at the kernel file ./drivers/clk/keystone/sci-clk.c β that's where the lore lives π and while you're there, the whole friend group:
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_get_parent(9)sci_clk_set_parent(9)_sci_clk_build(9)sci_clk_get(9)ti_sci_clk_probe(9)ti_sci_clk_remove(9)
okay that's the page!! π it lives over in ./drivers/clk/keystone, dated October 2026, and the whole thing is titled sci_clk_set_rate(9) in case you forgot already π slay, go set some rates, ily, 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