omap_vc_i2c_init(9)
π NAME π
omap_vc_i2c_init β initialize I2C interface to PMIC β¨π
okay so bestie, this one's from the Kernel API Manual (section 9, iykyk), and it's literally the function that gets your PMIC's I2C interface looking cute and functional. πΈ
β¨ SYNOPSIS β¨
void omap_vc_i2c_init (struct voltagedomain *voltdm );
π ARGUMENTS π
voltdmβ the voltage domain that's carrying all the VC data, no cap π«Ά
πΈ DESCRIPTION πΈ
So here's the whole vibe, bestie: this function grabs the PMIC-supplied settings for I2C high-speed mode and master code (only if it's actually set, periodt) and then programs the VC I2C configuration register. π
And the important tea β: the VC I2C configuration is common to all VC channels, so this function only configures I2C for the first VC channel registers. All the other VC channels are just gonna use that exact same configuration β one setup, everybody eats. β¨ it's giving efficiency, honestly π¦
π¦ SEE ALSO π¦
- Kernel file
./arch/arm/mach-omap2/vc.cπ struct omap_vc_channel_cfg(9)omap_vc_config_channel(9)omap3_set_i2c_timings(9)omap3_set_off_timings(9)omap4_calc_volt_ramp(9)omap4_usec_to_val_scrm(9)omap4_set_timings(9)omap4_vc_i2c_timing_init(9)omap_vc_calc_vsel(9)
that's the whole page, bestie π«Ά big love from the ./arch/arm/mach-omap2 girlies π β signed, sealed, delivered, October 2026 β¨π
π¦ 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