omap3_set_i2c_timings(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 🌈


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