STRUCT TEGRA_DFLL_SOC_DATA(9)
π struct tegra_dfll_soc_data β Kernel API Manual, bestie edition π
okay so this is struct tegra_dfll_soc_data(9) straight out of the Kernel API Manual, and it's literally the SoC-specific hook-and-integration situation for the DFLL driver. no cap, that's the whole vibe: it's the little struct that tells the DFLL driver "hey, here's how this particular chip wants to be handled." β¨
πΈ NAME πΈ
struct tegra_dfll_soc_data β SoC-specific hooks/integration for the DFLL driver π
π¦ SYNOPSIS π¦
struct tegra_dfll_soc_data {
struct device *dev;
unsigned long max_freq;
const struct cvb_table *cvb;
struct rail_alignment alignment;
void (*init_clock_trimmers)(void);
void (*set_clock_trimmers_high)(void);
void (*set_clock_trimmers_low)(void);
};
it's giving "one struct to rule the SoC integration." π
π Members π
devβ astruct device *that holds the OPP table for the DFLL. like, the device is the main character that owns the OPP table, iykyk π«Άmax_freqβ the maximum frequency supported on this SoC. that's the ceiling, bestie, the absolute most this chip will do π₯cvbβ the CPU frequency table for this SoC. your whole CVB situation, right here β¨alignmentβ parameters of the regulator step and offset. the nitty-gritty of how the regulator lines up, lowkey important πinit_clock_trimmersβ callback to initialize clock trimmers. gotta set them up first, obviously πΈset_clock_trimmers_highβ callback to tune clock trimmers for high voltage. high voltage mode, activated β‘set_clock_trimmers_lowβ callback to tune clock trimmers for low voltage. and the low voltage counterpart, slay π
π SEE ALSO π
Kernel file ./drivers/clk/tegra/clk-dfll.h β go read it, it's right there, fr fr π¦
anyway that's the whole page, no notes π
and yeah, this lil beauty comes from ./drivers/clk/tegra, dated October 2026, in the Kernel API Manual β mwah, bye 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