omap_cpcap_vsel_to_uv(9)
β¨ omap_cpcap_vsel_to_uv(9) β¨
okay so bestie, welcome to the Kernel API Manual, section 9 β this is the whole vibe for omap_cpcap_vsel_to_uv π«Ά
π NAME π
omap_cpcap_vsel_to_uv β convert CPCAP VSEL value to microvolts DC β‘
ngl, that's the entire plot: little register number in, actual real-life volts out π
πΈ SYNOPSIS πΈ
unsigned long omap_cpcap_vsel_to_uv (unsigned char vsel );
like, that's it. one (1) function. sitting there. being iconic π
π¦ ARGUMENTS π¦
vselβ the CPCAP VSEL value you want converted π« literally the raw VSEL value, that's what it is, bestie, don't overthink it
β RETURN β
it hands you back the microvolts DC that the CPCAP PMIC should generate when it's programmed with vsel π₯ so likeβ¦ the voltage you're actually gonna get out of the chip, in Β΅V, in unsigned long form. slay.
π friendly reminder that this is a return value, not avselrewrite situation β you feed it avsel, it tells you the microvolts. no cap.
π§ SEE ALSO π§
the kernel file is ./arch/arm/mach-omap2/pmic-cpcap.c β go read it, it's giving main character energy πβ¨
and then the whole friend group of sibling converters, all invited to the party π
omap_cpcap_uv_to_vsel(9)β the reverse bestie πomap_max8952_vsel_to_uv(9)omap_max8952_uv_to_vsel(9)omap_fan535503_vsel_to_uv(9)omap_fan535508_vsel_to_uv(9)omap_fan535503_uv_to_vsel(9)omap_fan535508_uv_to_vsel(9)
iykyk π
and that's a wrap, babes π this page lives in ./arch/arm/mach-omap2 and it's stamped October 2026 β go convert those VSELs, you absolute icon πβπ
π¦ 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