omap3_set_i2c_timings(9)
π omap3_set_i2c_timings(9) π
Okay so this little icon is from the Kernel API Manual, and it is literally all about setting up i2c sleep timings for a channel. Bestie, let's get into it. π
β¨ NAME β¨
omap3_set_i2c_timings β sets i2c sleep timings for a channel. Periodt. π
π SYNOPSIS π
void omap3_set_i2c_timings (struct voltagedomain *voltdm );
It's giving void, so nothing gets returned β the function just does its setup thing. π«Ά
π«Ά ARGUMENTS π«Ά
voltdmβ channel to configure. That's the whole argument, bestie: the channel you're configuring. πΈ
π DESCRIPTION π
So what it does is calculate and set up the voltage controller to use I2C based voltage scaling for sleep modes. Highkey important setup energy. β¨
This can be used for either off mode or retention. Both vibes are valid. π
π₯ Note bestie: off mode has additionally an option to use the sys_off_mode pad, which uses a global signal to program the whole power IC to off-mode. That's the extra off-mode moment, iykyk.
Also, note that pmic is not controlling the voltage scaling during retention signaled over I2C4, so we can keep voltsetup2 as 0. No cap. And the oscillator is not shut off over I2C4, so no need to set clksetup. Slay, we love a simpler setup. π¦
π SEE ALSO π
- Kernel file
./arch/arm/mach-omap2/vc.c struct omap_vc_channel_cfg(9)omap_vc_config_channel(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)
Alright bestie, cute sign-off time: source/version is ./arch/arm/mach-omap2, date is October 2026, and the page is omap3_set_i2c_timings(9) β go drink some water and stay iconic πβ¨π«Ά
π¦ 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