I2C OF COMPONENT PROBER SIMPLE HELPERS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… I2C OF COMPONENT PROBER SIMPLE HELPERS πŸ’…

okay so this is a page from the Kernel API Manual, section 9, and bestie it's literally about the simple helpers for the I2C OF component prober. yes the name is a mouthful, no we're not changing it, periodt ✨


πŸŽ€ DESCRIPTION πŸŽ€

so picture this: components like trackpads are super commonly wired up to a device's baseboard with a 6-pin ribbon cable. that's it. that's the whole budget. which means you get at most one voltage supply and one GPIO (usually an "enable" or "reset" line) on top of the I2C bus, the interrupt pin, and the common ground. that's the entire connection, no cap 🫢

and touchscreens? they're built into the display panel's connection, but the way that they typically have the same set of connections is honestly so iconic of them πŸ’…

so because of all that, a simple set of helpers is provided right here for use with the I2C OF component prober. this implementation targets exactly those kinds of components, which means it allows for at most one regulator supply β€” that's the vibe check and it passed 🌸

🌈 the helpers, in list form

the following helpers are provided:

  • i2c_of_probe_simple_enable
  • i2c_of_probe_simple_cleanup_early
  • i2c_of_probe_simple_cleanup

like yes that's the whole list, they're simple helpers, it's giving exactly what it says on the tin πŸ’€βœ¨


πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./include/linux/i2c-of-prober.h
  • struct i2c_of_probe_ops(9)
  • struct i2c_of_probe_cfg(9)
  • struct i2c_of_probe_simple_opts(9)

go read those fr fr, they're the main character energy this page is supporting πŸŽ€


ngl the whole thing lives under ./include/linux and it's dated October 2026 β€” mwah, sending you off with a kiss, bestie πŸ’–πŸ‘‘πŸ«Ά
πŸ“¦ where this page comes from