STRUCT OMAP_VOLT_DATA(9)
π NAME π
struct omap_volt_data β the Omap voltage-specific data, aka the little bundle of facts that tells the kernel everything it needs to know about one voltage point. It's giving "voltage dossier" and honestly? Iconic.
β¨ SYNOPSIS β¨
struct omap_volt_data {
u32 volt_nominal;
u32 sr_efuse_offs;
u8 sr_errminlimit;
u8 vp_errgain;
};
Okay bestie, this is the whole struct β four fields, no cap, and every single one of them is doing main character work. Let's break it down π
π Members π
volt_nominalβ the possible voltage value, measured in uV. That's microvolts, so like, tiny numbers of volts. This is the actual voltage this entry is about πsr_efuse_offsβ the offset of the efuse register, and yes that's offset from the system control module base address. That's where you read the n-target value for the smartreflex module from. Think of it as the treasure map coordinate for the n-target value πΊοΈβ¨sr_errminlimitβ the error min limit value for smartreflex. Here's the tea: this value differs at different opp, so it's literally linked with voltage. It's not a one-size-fits-all situation, bestie π¦vp_errgainβ the error gain value for the voltage processor. And just likesr_errminlimit, this field also differs according to the voltage/opp. Two fields, both voltage-dependent, both staying booked and busy ππ₯
π SEE ALSO π
- Kernel file
./include/linux/platform_data/voltage-omap.hβ go read it, iykyk π«Ά
lowkey a reminder that these fields are opp-dependent and voltage-dependent, so don't be out here assuming one value works everywhere. That's not the vibe check you want to fail π
and that's the whole page, bestie β struct omap_volt_data(9), from the Kernel API Manual, living in ./include/linux/platform_data, dated October 2026. stan a kernel header for clear skin πβ¨π
π¦ 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