am35xx_clk_find_idlest(9)
π am35xx_clk_find_idlest(9) β from the Kernel API Manual, bestie β¨
okay so real talk, this one lives in the Kernel API Manual and it's lowkey niche but honestly iconic once you get it. it's all about finding the ACK info for AM35XX IPSS clocks. let's get into it π
β¨ NAME β¨
am35xx_clk_find_idlest β return clock ACK info for AM35XX IPSS. that's the whole vibe. π«
πΈ SYNOPSIS πΈ
void am35xx_clk_find_idlest (struct clk_hw_omap *clk , struct
clk_omap_reg *idlest_reg , u8 *idlest_bit , u8 *idlest_val );
no return value, it's a void queen β she just fills in your pointers and leaves ππ«Ά
π¦ ARGUMENTS π¦
clkβ thestruct clk *that's being enabled. main character energy, obviously πidlest_regβ avoid __iomem **where we're gonna store theCM_IDLESTreg address into. like a lil mailbox π¬idlest_bitβ pointer to au8, and we stash theCM_IDLESTbit shift in there β¨idlest_valβ another pointer to au8, this one holds theCM_IDLESTindicator π
π DESCRIPTION π
okay so here's the tea β β the interface clocks on AM35xx IPSS reflect the clock idle status inside the enable register itself, sitting at a bit offset of 4 from the enable bit. yeah, she's built different, no separate register for her π
and the indicator? a value of 1 means the clock is enabled. that's it, that's the whole check. slay π₯
ngl the important part is: offset is4from the enable bit, and1= enabled. don't forget it or the vibe check fails π
β SEE ALSO β
- The kernel file
./drivers/clk/ti/clk-3xxx.cβ go read the source, iykyk π omap3430es2_clk_ssi_find_idlest(9)omap3430es2_clk_dss_usbhost_find_idlest(9)omap3430es2_clk_hsotgusb_find_idlest(9)am35xx_clk_find_companion(9)am35xx_clk_ipss_find_idlest(9)omap3_clk_lock_dpll5(9)
the whole friend group fr fr ππ
and that's a wrap bestie π this page came from the source dir ./drivers/clk/ti, dated October 2026 β periodt, go touch some clocks π
β¨π¦
π¦ 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