omap3_set_off_timings(9)

๐Ÿ“ฆ version 7.3.1, in nixpkgs unstable

๐Ÿ’– 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_mode pad โ€” used to send a global command to power IC.n, and this one comes with a glow-up bonus: with TWL4030 / 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 ๐Ÿ’–


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