STRUCT TEGRA_DFLL_SOC_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’œ 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 β€” a struct 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