omap_i2c_bus_setup(9)
omap_i2c_bus_setup(9) π
okay so this little icon is from the Kernel API Manual, and sheβs here to explain how the I2C bus speed gets set from the command line. no cap, sheβs lowkey important if youβre poking at OMAP1 I2C stuff. π
β¨ NAME β¨
omap_i2c_bus_setup β Process command line options for the I2C bus speed π¦
πΈ SYNOPSIS πΈ
int omap_i2c_bus_setup (char *str );
π ARGUMENTS π
strβ String of options. thatβs the group-chat message sheβs reading, bestie π
π«Ά DESCRIPTION π«Ά
This function lets you override the default I2C bus speed for a given I2C bus with a command line option. itβs giving βcustom vibes onlyβ β¨
The format is literally:
i2c_bus=bus_id,clkrate (in kHz)
So yeah: bus_id, then clkrate, and the clock rate is in kHz. donβt forget that part, iykyk π
Returns1on success,0otherwise. thatβs the whole vibe check:1= slay,0= not slay π
π SEE ALSO π
- Kernel file
./arch/arm/mach-omap1/i2c.c omap_register_i2c_bus(9)π
and thatβs the page, bestie π big cute sign-off energy: the source/version line is ./arch/arm/mach-omap1, and the date on this iconic little manpage is October 2026. periodt π
β¨
π¦ 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