tegra210_clock_init(9)
π tegra210_clock_init(9) π
okay so this is a page from the Kernel API Manual (yes, the kernel has a manual, she's fancy like that) and today's main character is tegra210_clock_init β the Tegra210-specific clock init bestie. let's get into it β¨
πΈ NAME πΈ
tegra210_clock_init β clock initialization, but make it Tegra210-specific π
π¦ SYNOPSIS π¦
void tegra210_clock_init (struct device_node *np );
that's it. that's the whole vibe. no return value, just vibes and clock registration π
π ARGUMENTS π
npβ astruct device_node *pointing at the DT node for the SoC CAR IP block. that's your handed-in pointer, bestie, it's the whole personality of the call π«Ά
β¨ DESCRIPTION β¨
so what does she actually do? she registers most of the SoC clocks for the Tegra210 system-on-chip. not all of them β most. we respect a queen who knows her scope π
she's intended to be called by the OF init code when a DT node with the string "nvidia,tegra210-car" shows up. that's the bat signal π¦ the moment that string is spotted, this function gets the call.
and how does the kernel know to do that? she's declared with CLK_OF_DECLARE. iconic mechanism, no notes.
no return value btw β she's void, so there's nothing to check afterwards. she does her thing and leaves. main character exit πͺβ¨
π SEE ALSO π
- the kernel file
./drivers/clk/tegra/clk-tegra210.cβ go read the source, iykyk π tegra210_clock_apply_init_table(9)tegra210_car_barrier(9)tegra210_clock_assert_dfll_dvco_reset(9)tegra210_clock_deassert_dfll_dvco_reset(9)
and that's the page!! π mwah π
source + version: <purple>./drivers/clk/tegra</purple>, dated <pink>October 2026</pink>, page tegra210_clock_init(9)`. go forth and register those clocks, bestie ππ§ββοΈ
π¦ 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