omap_i2c_reset(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

omap_i2c_reset β€” reset the omap i2c module. This is the Kernel API Manual, and we're getting into it, bestie πŸ’–

✨ SYNOPSIS ✨

int omap_i2c_reset (struct omap_hwmod *oh );

🫢 ARGUMENTS 🫢

  • oh β€” a struct omap_hwmod *. That's the one and only argument, no cap πŸŽ€

πŸ’… DESCRIPTION πŸ’…

Okay so the i2c module in omap2 and omap3 had a special little sequence to reset. The sequence is:

  • Disable the I2C.
  • Write to SOFTRESET bit.
  • Enable the I2C.
  • Poll on the RESETDONE bit.

The sequence is implemented in below function. This is called for 2420, 2430 and omap3. Periodt ✨

🌈 SEE ALSO 🌈

  • Kernel file ./arch/arm/mach-omap2/i2c.c

Cute little sign-off: this page is from ./arch/arm/mach-omap2, dated October 2026, and it's literally the omap_i2c_reset(9) manual page. Mwah πŸ’‹πŸ¦‹

πŸ“¦ where this page comes from