omap_i2c_reset(9)
πΈ 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β astruct 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
SOFTRESETbit. - Enable the I2C.
- Poll on the
RESETDONEbit.
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
- 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