STRUCT FIXED_VOLTAGE_CONFIG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct fixed_voltage_config(9) ✨

okay so welcome to the struct fixed_voltage_config(9) page from the Kernel API Manual, bestie β€” this one's short and sweet and honestly kind of iconic for it πŸ’…


🌸 NAME 🌸

struct fixed_voltage_config β€” literally the fixed_voltage_config structure. that's it. that's the name. short king 🫢


πŸŽ€ SYNOPSIS πŸŽ€

here's the whole thing, verbatim, no cap:

struct fixed_voltage_config {
    const char *supply_name;
    const char *input_supply;
    int microvolts;
    unsigned startup_delay;
    unsigned int off_on_delay;
    unsigned enabled_at_boot:1;
    struct regulator_init_data *init_data;
 };

look at that bitfield at the end, she's got main character energy ⭐


πŸ¦‹ Members πŸ¦‹

  • supply_name β€” the name of the regulator supply, i.e. what this supply is called πŸ’–
  • input_supply β€” the name of the input regulator supply (yes, input, not output β€” keep up, bestie) ✨
  • microvolts β€” the output voltage of the regulator. it's in microvolts. the name literally tells you, love that for us 🌈
  • startup_delay β€” the start-up time, measured in microseconds ⏱️
  • off_on_delay β€” okay so it's right there in the struct, but ngl this page does not describe it πŸ™ˆ it's just vibing in the list. not me noticing the gap πŸ‘€
  • enabled_at_boot β€” whether the regulator has been enabled at boot or not. 1 = Yes, 0 = No. and what's this used for? keeping the regulator at the default state πŸ’…
  • init_data β€” regulator_init_data. that's the description. that's the whole description. iconic minimalism πŸŽ€

πŸ”₯ Description πŸ”₯

so here's the tea: this structure holds the fixed voltage regulator configuration information, and it must be passed by platform code to the fixed voltage regulator driver. must. not "should", not "if you feel like it" β€” must, fr fr πŸ’€


πŸ‘‘ SEE ALSO πŸ‘‘

  • Kernel file ./include/linux/regulator/fixed.h β€” go read it, iykw iyk 😌

and that's the whole page, bestie! 🧚 this gem comes to you from ./include/linux/regulator, dated October 2026, and it's the struct fixed_voltage_config(9) page saying mwah πŸ’‹ slay, go configure your fixed voltage regulators responsibly πŸ’–βœ¨πŸ“

πŸ“¦ where this page comes from