omap_i2c_bus_setup(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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 😭

Returns 1 on success, 0 otherwise. that’s the whole vibe check: 1 = slay, 0 = not slay πŸ’€

πŸ‘‘ SEE ALSO πŸ‘‘


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