omap2_clk_provider_init(9)
π omap2_clk_provider_init β from the Kernel API Manual, bestie β¨
Okay so we're in omap2_clk_provider_init(9) territory, and lowkey this one is the main character of clock provider setup. Buckle up π
πΈ NAME πΈ
omap2_clk_provider_init β init master clock provider π
β¨ SYNOPSIS β¨
int omap2_clk_provider_init (struct device_node *parent , int index ,
struct regmap *syscon , void __iomem *mem );
π¦ ARGUMENTS π¦
parentβ the master node, fr fr. The big boss node. π³indexβ the internal index forclk_reg_ops. iykyk π’sysconβ a syscon regmap pointer, used for accessing the clock registers. π«memβ an iomem pointer for the clock provider memory area. Heads up bestie: this one's only used ifsysconis not provided. π
π DESCRIPTION π
So what does it actually do? It initializes a master clock IP block. Basically it sets up the mapping from the clocks node over to the memory map index. β¨
Then β and this is the slay part β all the clocks get initialized through the common of_clk_init call, and the clocks will access their memory maps based on the node layout. It's giving organized. It's giving structured. It's giving iconic mapping energy. π
Returns 0 in success. π«Ά
π₯ SEE ALSO π₯
Kernel file ./drivers/clk/ti/clk.c β and the whole friend group:
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_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)omap2_clk_enable_init_clocks(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)
Okay that's the whole page, no notes π
Huge shoutout to ./drivers/clk/ti β that's the source/version tag β dated October 2026, living under the Kernel API Manual banner as omap2_clk_provider_init(9). Go read some clocks, bestie, you've got this π§π
π¦ 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