omap3_set_off_timings(9)
๐ omap3_set_off_timings(9) ๐
okay so bestie, welcome to the Kernel API Manual bestie edition โ today's main character is omap3_set_off_timings, and she is literally the girl who handles the off-mode timings for a channel. no cap.
๐ธ NAME ๐ธ
omap3_set_off_timings โ sets off-mode timings for a channel โจ
๐ฆ SYNOPSIS ๐ฆ
void omap3_set_off_timings (struct voltagedomain *voltdm );
๐ ARGUMENTS ๐
voltdmโ the channel to configure. that's it, that's the whole argument, she's lowkey low maintenance ๐
๐ DESCRIPTION ๐
so here's the vibe: this function calculates and sets up off-mode timings for a channel. it's giving "i do the math so you don't have to" ๐งฎโจ
now, off-mode has two whole aesthetics for voltage scaling, and you gotta pick your fighter:
- I2C based voltage scaling โ the classic route ๐ซถ
- the
sys_off_modepad โ used to send a global command to power IC.n, and this one comes with a glow-up bonus: withTWL4030/TWL5030, voltages can be scaled all the way down to zero volt level. meanwhile I2C can only scale to 600mV. like, cute, but not zero ๐ฅฒ
no cap, that's a real difference โ zero volts vs. 600mV is not a vibe check you wanna fail ๐ฅ
also super important bestie: omap is not controlling the voltage scaling during off idle signaled by sys_off_mode, so we can keep voltsetup1 as 0. periodt. ๐
๐ SEE ALSO ๐
Kernel file ./arch/arm/mach-omap2/vc.c, plus the whole friend group ๐
struct omap_vc_channel_cfg(9)omap_vc_config_channel(9)omap3_set_i2c_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)
okay that's the whole page, ily, go configure a channel ๐โจ
โ brought to you by ./arch/arm/mach-omap2, October 2026, Kernel API Manual. mwah ๐ซถ๐โญ
๐ฆ 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