v4l2_i2c_new_subdev_board(9)
π 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 tostruct v4l2_device.adapterβ pointer tostruct i2c_adapter.infoβ pointer tostruct i2c_board_infoused to replace theirq,platform_dataandaddrarguments.probe_addrsβ array with a list of address. The last entry at such array should beI2C_CLIENT_END.
π¦ DESCRIPTION π¦
Short and sweet, no cap: it returns a struct v4l2_subdev pointer. That's the whole description, bestie. π
π SEE ALSO π
- Kernel file
./include/media/v4l2-common.h v4l2_ctrl_query_fill(9)enum v4l2_i2c_tuner_type(9)v4l2_i2c_new_subdev(9)v4l2_i2c_subdev_set_name(9)v4l2_i2c_subdev_init(9)v4l2_i2c_subdev_addr(9)v4l2_i2c_tuner_addrs(9)v4l2_i2c_subdev_unregister(9)v4l2_spi_new_subdev(9)v4l2_spi_subdev_init(9)v4l2_spi_subdev_unregister(9)v4l_bound_align_image(9)v4l2_find_nearest_size_conditional(9)v4l2_find_nearest_size(9)v4l2_g_parm_cap(9)v4l2_s_parm_cap(9)enum v4l2_pixel_encoding(9)struct v4l2_format_info(9)v4l2_get_link_freq(9)v4l2_get_active_data_lanes(9)v4l2_link_freq_to_bitmap(9)devm_v4l2_sensor_clk_get(9)devm_v4l2_sensor_clk_get_legacy(9)
π 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
- 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