of_ti_clk_autoidle_setup(9)
π of_ti_clk_autoidle_setup(9) π
okay so bestie, this is a page from the Kernel API Manual and it's literally all about of_ti_clk_autoidle_setup β the function that sets up hardware autoidle for a clock. yes it's a real thing and yes it's kind of iconic β¨
π NAME π
of_ti_clk_autoidle_setup β sets up hardware autoidle for a clock. that's it, that's the whole vibe π«Ά
π¦ SYNOPSIS π¦
int of_ti_clk_autoidle_setup (struct device_node *node );
πΈ ARGUMENTS πΈ
nodeβ pointer to the clock device node π
β DESCRIPTION β
so here's the tea β β this function checks whether a clock has hardware autoidle support or not. how does it check? it looks for the presence of the 'ti,autoidle-shift' property in the device tree node. iykyk π₯
if that support is available, it sets up the hardware autoidle feature for the clock. and not only that β the clock is also added to the autoidle list for later processing, because we're organized like that π β¨
returns 0 on success, and a negative error value on failure. no cap π
lowkey important: it returns 0 on success, negative error value on failure. don't forget bestie π
π SEE ALSO π
- Kernel file
./drivers/clk/ti/autoidle.c omap2_clk_deny_idle(9)omap2_clk_allow_idle(9)_clk_generic_allow_autoidle_all(9)_clk_generic_deny_autoidle_all(9)omap2_clk_enable_autoidle_all(9)omap2_clk_disable_autoidle_all(9)
kk that's the whole page, bestie!! this one lives in ./drivers/clk/ti, and it's dated October 2026 in the Kernel API Manual ππ¦ go forth and autoidle responsibly, mwah ππ
π¦ 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