omap_vc_config_channel(9)
π omap_vc_config_channel β kernel API manual, but make it make sense
okay bestie, so this page is from the Kernel API Manual and it's all about omap_vc_config_channel(9) β say that three times fast, I dare you π«Ά
β¨ NAME β¨
omap_vc_config_channel β configure the VC channel to PMIC mappings, periodt
πΈ SYNOPSIS πΈ
int omap_vc_config_channel (struct voltagedomain *voltdm );
π ARGUMENTS π
voltdmβ a pointer to the voltagdomain that defines the VC channel you actually want. that's it, that's the whole argument, she's lowkey simple π
π¦ DESCRIPTION π¦
So this function configures the VC channel β PMIC mappings for the following PMIC settings, and yes we're listing them all because details are the moment:
- i2c slave address (SA)
- voltage configuration address (RAV)
- command configuration address (RAC) plus its enable bit (RACEN)
- command values for
ON,ONLP,RETandOFF(CMD)
ngl, here's the catch: this function currently only allows flexible configuration of the non-default channel. like, that's just the rules rn π«
Starting with OMAP4, there are more than 2 channels β and one of them is defined as the default (on OMAP4, it's MPU, main character energy fr fr π). Only the non-default channel can be configured.
so to recap: multiple channels, one default, and only the non-default one is getting the glow-up. the default one is booked and busy elsewhere π
π₯ SEE ALSO π₯
- Kernel file
./arch/arm/mach-omap2/vc.c struct omap_vc_channel_cfg(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_i2c_init(9)omap_vc_calc_vsel(9)
go read those next, bestie, they're all in the friend group π
and that's the whole page, hope you slayed your VC channel config β¨ this little gem lives over in ./arch/arm/mach-omap2, dated October 2026, and it came to you courtesy of the Kernel API Manual β mwah, kisses, go touch some omap registers ππ
π¦ 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