of_ti_clk_register(9)
π of_ti_clk_register(9) β the Kernel API Manual, bestie edition π
okay so hi β¨ you're looking at of_ti_clk_register, straight out of section 9 of the Kernel API Manual, and honestly? she's a little glue function and she slays at it π
πΈ NAME πΈ
of_ti_clk_register β register a TI clock to the common clock framework π°οΈβ¨
π¦ SYNOPSIS π¦
struct clk * of_ti_clk_register (struct device_node *node , struct
clk_hw *hw , const char *con );
π ARGUMENTS π
nodeβ the device node for this clock, like, the clock's whole address in the device tree π³hwβ the hardware clock handle, the actualclk_hwthing itself π«Άconβ the connection ID for this clock, her little name tag π
β DESCRIPTION β
So what she does is: she registers a TI clock to the common clock framework, and she adds a clock alias for it β two jobs, one function, main character energy ππ
If it works you get back a handle to the registered clock. If it doesn't work? You get an ERR_PTR value instead π so like, please check with IS_ERR() before you go dereferencing, iykyk π
π 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_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)omap2_clk_enable_init_clocks(9)ti_clk_add_alias(9)of_ti_clk_register_omap_hw(9)omap2_clk_for_each(9)omap2_clk_is_hw_omap(9)
ngl the SEE ALSO list is giving "tag yourself, I'm ti_clk_add_alias(9)" ππ
okay that's the whole page, mwah π this came from ./drivers/clk/ti and it's dated October 2026 β go forth and register your clocks, bestie, you're gonna do amazing ππ¦ππ
π¦ 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