v4l2_i2c_new_subdev_board(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

Okay bestie, this is the manual page for v4l2_i2c_new_subdev_board(9) β€” and its whole job is to load an i2c module and return an initialized &struct v4l2_subdev. That's the vibe. 🫢


✨ SYNOPSIS ✨

Here's the signature, copy it carefully:

struct v4l2_subdev * v4l2_i2c_new_subdev_board (struct v4l2_device
       *v4l2_dev , struct i2c_adapter *adapter , struct i2c_board_info *info ,
       const unsigned short *probe_addrs );

πŸŽ€ ARGUMENTS πŸŽ€

  • v4l2_dev β€” pointer to struct v4l2_device.
  • adapter β€” pointer to struct i2c_adapter.
  • info β€” pointer to struct i2c_board_info used to replace the irq, platform_data and addr arguments.
  • probe_addrs β€” array with a list of address. The last entry at such array should be I2C_CLIENT_END.

πŸ¦‹ DESCRIPTION πŸ¦‹

Short and sweet, no cap: it returns a struct v4l2_subdev pointer. That's the whole description, bestie. πŸ’…


🌈 SEE ALSO 🌈


πŸ’Œ Cute sign-off: source/version is ./include/media, dated October 2026, for v4l2_i2c_new_subdev_board(9). Stay slaying, kernel bestie! πŸ’–

πŸ“¦ where this page comes from