clkdm_register_clkdms(9)
β¨ clkdm_register_clkdms(9) β¨
okay so this is a page from the Kernel API Manual and it's literally all about registering your SoC's clockdomains π buckle up bestie, it's giving OMAP energy π¦
πΈ NAME πΈ
clkdm_register_clkdms β register SoC clockdomains β¨
π SYNOPSIS π
int clkdm_register_clkdms (struct clockdomain **cs );
π¦ ARGUMENTS π¦
csβ a pointer to an array ofstruct clockdomainthat you're gonna register π
π DESCRIPTION π
okay so the whole vibe here is: you're registering the clockdomains that are available on a particular OMAP SoC π that's the main character job of this function, no cap.
Important: you must call this after clkdm_register_platform_funcs β like, that's the order, periodt π and yes, it may be called multiple times, so you can totally come back for more π
as for what it returns:
-EACCESif you called it beforeclkdm_register_platform_funcsβ not me skipping the prerequisite π-EINVALif the argumentcsis null β nullcheck bestie, it's a thing π0upon success β slay, we ate ππ
π SEE ALSO π
Kernel file ./arch/arm/mach-omap2/clockdomain.c
then the whole friend group, fr fr:
_clkdm_register(9)_autodep_lookup(9)_resolve_clkdm_deps(9)_clkdm_add_wkdep(9)_clkdm_del_wkdep(9)_clkdm_add_sleepdep(9)_clkdm_del_sleepdep(9)clkdm_register_platform_funcs(9)clkdm_register_autodeps(9)clkdm_complete_init(9)clkdm_lookup(9)clkdm_for_each(9)clkdm_get_pwrdm(9)clkdm_add_wkdep(9)clkdm_del_wkdep(9)clkdm_read_wkdep(9)clkdm_clear_all_wkdeps(9)clkdm_add_sleepdep(9)clkdm_del_sleepdep(9)clkdm_read_sleepdep(9)clkdm_clear_all_sleepdeps(9)clkdm_sleep_nolock(9)clkdm_sleep(9)clkdm_wakeup_nolock(9)clkdm_wakeup(9)clkdm_allow_idle_nolock(9)clkdm_allow_idle(9)clkdm_deny_idle_nolock(9)clkdm_deny_idle(9)clkdm_add_autodeps(9)clkdm_del_autodeps(9)clkdm_clk_enable(9)clkdm_clk_disable(9)clkdm_hwmod_enable(9)clkdm_hwmod_disable(9)_clkdm_save_context(9)_clkdm_restore_context(9)clkdm_save_context(9)clkdm_restore_context(9)
that's the whole page bestie, hope it ate πβ¨
and for the cute sign-off: this one lives in the ./arch/arm/mach-omap2 directory, dated October 2026, from the Kernel API Manual β so when you cite it, that's the source, version and date, no cap ππ«Άπ·
π¦ 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