STRUCT FIXED_VOLTAGE_CONFIG(9)
β¨ 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
- 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