omap2_clk_en..._init_clocks(9)
π omap2_clk_enable_init_clocks β Kernel API Manual
okay so bestie, we're in the omap2_clk_en..._init_clocks(9) page today (yes the title is truncated, that's just how the man page header rolls, iykyk), and honestly? it's a little vintage, a little deprecated, but we're gonna learn it together π«Ά
β¨ NAME β¨
omap2_clk_enable_init_clocks β prepare & enable a list of clocks
like, the whole personality of this function is right there in the name, no cap π
πΈ SYNOPSIS πΈ
void omap2_clk_enable_init_clocks (const char **clk_names , u8
num_clocks );
notice the return type is void β it gives nothing back, it just does π
π ARGUMENTS π
clk_namesβ ptr to an array of strings of clock names to enable. it's aconst char **, so it's a pointer to an array of strings, and each string is one clock's name β¨num_clocksβ number of clock names inclk_names. it's au8, so keep the count cozy πΈ
π¦ DESCRIPTION π¦
Prepare and enable a list of clocks, named by clk_names. No return value β literally nothing comes back, it's giving silent main character energy π
β οΈ XXX Deprecated β only needed until these clocks are properly claimed and enabled by the drivers or core code that uses them. so like, it works, but it's on borrowed time bestie π
β οΈ XXX What code disables & calls clk_put on these clocks? β the original page asks this too, and we're not gonna pretend we know the answer. if that's you, speak up π«Ά
π SEE ALSO π
the whole friend group, in order, fr fr:
- Kernel file
./drivers/clk/ti/clk.c ti_clk_setup_ll_ops(9)ti_dt_clocks_register(9)ti_clk_retry_init(9)ti_clk_get_reg_addr(9)ti_clk_get_legacy_bit_shift(9)omap2_clk_provider_init(9)omap2_clk_legacy_provider_init(9)ti_dt_clk_init_retry_clks(9)ti_dt_clk_name(9)ti_clk_add_aliases(9)ti_clk_setup_features(9)ti_clk_get_features(9)ti_clk_add_alias(9)of_ti_clk_register(9)of_ti_clk_register_omap_hw(9)omap2_clk_for_each(9)omap2_clk_is_hw_omap(9)
π SIGN-OFF π
that's the whole page, bestie! this one lives in ./drivers/clk/ti, dated October 2026, and it goes by omap2_clk_en..._init_clocks(9) β yes, still abbreviated, still iconic, we love a mysterious queen πβ¨π
π¦ 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