STRUCT CLK_PLLV3(9)
β¨ struct clk_pllv3(9) β¨
okay bestie, welcome to the Kernel API Manual π today we're doing struct clk_pllv3 β it's giving IMX PLL clock version 3 and honestly it's kind of iconic.
π¦ NAME π¦
struct clk_pllv3 β IMX PLL clock version 3, no cap π
πΈ SYNOPSIS πΈ
struct clk_pllv3 {
struct clk_hw hw;
void __iomem *base;
u32 power_bit;
bool powerup_set;
u32 div_mask;
u32 div_shift;
unsigned long ref_clock;
u32 num_offset;
u32 denom_offset;
};
like, that's the whole struct, every single field, right there π copy it exactly bestie, do NOT freestyle.
π Members π
hwβ the clock source itself, the main character of the struct πbaseβ base address of the PLL registers, where all the good stuff lives πpower_bitβ the pll power bit mask, iykyk π₯powerup_setβ setpower_bitto power up the PLL β‘div_maskβ mask of the divider bits π―div_shiftβ shift of the divider bits, literally just the shift πref_clockβ reference clock rate, the vibe check number π°οΈnum_offsetβ num register offset, cute little offset β¨denom_offsetβ denom register offset, its bestie π«Ά
π Description π
so this is the IMX PLL clock version 3, found on i.MX6 series π§ periodt.
and here's the tea bestie π΅ β the divider for pllv3 is actually a multiplier π not a divider, and it always sits at bit 0. like it's always been there, always will be. that's just the lore.
π SEE ALSO π
- Kernel file
./drivers/clk/imx/clk-pllv3.cβ go read it, it ate π
okay that's the page bestie, you're officially a pllv3 scholar now πβ¨ mwah π
sign-off cuteness: this lil masterpiece comes to you from the source ./drivers/clk/imx and it's dated October 2026 ποΈπΈ and the page you just read? yeah, that's struct clk_pllv3(9) β remember it fondly π«Άπ
π¦ 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