of_ti_clk_autoidle_setup(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 πŸ‘‘


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