STRUCT LMK04832(9)
β¨ struct lmk04832(9) β¨
okay so bestie, welcome to the Kernel API Manual π
β this is the page for struct lmk04832, and no cap this is literally the whole LMK04832 device structure. every field, every comment, all of it. let's go π«Ά
πΈ NAME πΈ
struct lmk04832 β the LMK04832 device structure. that's it, that's the vibe. the main character struct itself π
π¦ SYNOPSIS π¦
here's the whole thing laid out, exactly as written, follow along bestie:
struct lmk04832 {
struct device *dev;
struct regmap *regmap;
unsigned int sync_mode;
unsigned int sysref_mux;
unsigned int sysref_pulse_cnt;
unsigned int sysref_ddly;
struct clk *oscin;
struct clk_hw vco;
struct clk_hw sclk;
unsigned int vco_rate;
struct gpio_desc *reset_gpio;
struct lmk_dclk *dclk;
struct lmk_clkout *clkout;
struct clk_hw_onecell_data *clk_data;
};
π Members π
okay so every single member, one by one, no skipping fr fr π
devβ your reference to astruct device, linked to thespi_device. it's giving the connection point πregmapβ thestruct regmapinstance used to access the chip. this is how you actually talk to it β¨sync_modeβ the operational mode for the SYNC signal. pick your mode, own it πsysref_muxβ selects the SYSREF source. it's the mux, it picks π«sysref_pulse_cntβ the number of SYSREF pulses generated while not in continuous mode. not continuous, bestie, count your pulses πsysref_ddlyβ the SYSREF digital delay value. yes, "ddly", that's the actual name, iconic π§oscinβ the PLL2 input clock. PLL2's whole input situation βvcoβ reference to the internal VCO clock. internal, but making it everyone's business π₯sclkβ reference to the internal sysref clock (SCLK). that's the SCLK one, capital letters, noted π¦vco_rateβ the user provided VCO rate. user provided, so like, you did that πreset_gpioβ reference to the reset GPIO. the little reset guy πdclkβ a list of internal device clock references. each pair ofclkoutclocks share a single device clock (DCLKX_Y). sharing is caring, that's the rule πclkoutβ a list of output clock references. outputs, plural, a whole list πΈclk_dataβ holdsclkoutrelated data likeclk_hw*and the number of clocks. the data holder, the record keeper π
π SEE ALSO π
- Kernel file
./drivers/clk/clk-lmk04832.cβ that's where the magic lives π struct lmk04832_device_info(9)lmk04832_check_vco_ranges(9)lmk04832_calc_pll2_params(9)
β οΈ friendly heads up bestie: that's everything on this page, and this page is all struct fields and cross-refs β nothing more, nothing less, so don't go looking for extra behavior here π
πΈ okay that's the page! this little cutie lives under ./drivers/clk, dated October 2026, and it's filed as struct lmk04832(9) β go forth and slay the clock tree π
β¨π«Ά
π¦ 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