omap_cpcap_vsel_to_uv(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 a vsel rewrite situation β€” you feed it a vsel, 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 πŸ’œ

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