Hi Mauro, Hans, This set contains cleanups and improvements for the imx219 driver from Laurent, additional mode for the hi556 driver from Bingbu, maintainer changes for some Intel-written sensor drivers as well as preparation for generic line based metadata support, including moving CCS and ov2740 drivers to use sub-device state. Please pull. The following changes since commit 1aa687a41c6b1ca28b45f230eb7ad2d3d6d35bc6: media: qcom: camss: Comment CSID dt_id field (2023-09-28 09:41:54 +0200) are available in the Git repository at: git://linuxtv.org/sailus/media_tree.git tags/for-6.7-2-signed for you to fetch changes up to 64079722be862e4e31b15f75503dee0315aca84e: media: Documentation: Split camera sensor documentation (2023-10-03 14:43:04 +0300) ---------------------------------------------------------------- V4L2 patches for 6.7 ---------------------------------------------------------------- Bingbu Cao (1): media: i2c/hi556: add a new mode 1296x722 settings Laurent Pinchart (22): media: dt-bindings: media: i2c: Add MT9M114 camera sensor binding media: i2c: Add driver for onsemi MT9M114 camera sensor media: i2c: imx219: Convert to CCI register access helpers media: i2c: imx219: Drop unused macros media: i2c: imx219: Replace register addresses with macros media: i2c: imx219: Drop IMX219_REG_CSI_LANE_MODE from common regs array media: i2c: imx219: Fix test pattern window for 640x480 mode media: i2c: imx219: Set mode registers programmatically media: i2c: imx219: Merge format and binning setting functions media: i2c: imx219: Initialize ycbcr_enc media: i2c: imx219: Use active crop rectangle to configure registers media: i2c: imx219: Infer binning settings from format and crop media: i2c: imx219: Access height from active format in imx219_set_ctrl media: i2c: imx219: Don't store the current mode in the imx219 structure media: i2c: imx219: Drop IMX219_VTS_* macros media: i2c: imx219: Group functions by purpose media: i2c: imx219: Remove unneeded goto media: i2c: imx219: Implement .init_cfg() using .set_fmt() media: i2c: imx219: Separate horizontal and vertical binning media: i2c: imx219: Calculate crop rectangle dynamically media: i2c: imx219: Name all subdev state variables 'state' media: i2c: imx219: Move variables to inner scope Sakari Ailus (23): media: ov9282: Assign maintenance to Dave media: imx412: Orphan the driver media: imx335: Orphan the driver media: imx334: Orphan the driver media: Documentation: Align numbered list, make it a proper ReST media: ccs: Fix driver quirk struct documentation media: ccs: Correctly initialise try compose rectangle media: ccs: Correct error handling in ccs_register_subdev media: ccs: Switch to init_cfg media: ccs: Rename ccs_create_subdev as ccs_init_subdev media: ccs: Move media_entity_pads_init to init from register media: ccs: Obtain media bus formats before initialising up sub-devices media: ccs: Use sub-device active state media: ccs: Partially revert "media: i2c: Use pm_runtime_resume_and_get()" media: ccs: Drop re-entrant s_stream support media: ov2740: Enable runtime PM before registering the async subdev media: ov2740: Use sub-device active state media: ov2740: Return -EPROBE_DEFER if no endpoint is found media: v4l: subdev: Clear frame descriptor before get_frame_desc media: v4l: subdev: Print debug information on frame descriptor media: mc: Check pad flag validity media: Add MIPI CSI-2 generic long packet type definition media: Documentation: Split camera sensor documentation .../bindings/media/i2c/onnn,mt9m114.yaml | 114 + Documentation/driver-api/media/camera-sensor.rst | 131 +- .../userspace-api/media/drivers/camera-sensor.rst | 104 + .../userspace-api/media/drivers/index.rst | 1 + Documentation/userspace-api/media/v4l/control.rst | 4 + .../userspace-api/media/v4l/dev-subdev.rst | 49 +- MAINTAINERS | 23 +- drivers/media/i2c/Kconfig | 11 + drivers/media/i2c/Makefile | 1 + drivers/media/i2c/ccs/ccs-core.c | 374 ++- drivers/media/i2c/ccs/ccs-quirk.h | 4 +- drivers/media/i2c/ccs/ccs.h | 4 +- drivers/media/i2c/ds90ub913.c | 2 - drivers/media/i2c/ds90ub953.c | 2 - drivers/media/i2c/ds90ub960.c | 2 - drivers/media/i2c/hi556.c | 64 +- drivers/media/i2c/imx219.c | 1247 +++++----- drivers/media/i2c/mt9m114.c | 2481 ++++++++++++++++++++ drivers/media/i2c/ov2740.c | 125 +- drivers/media/mc/mc-entity.c | 15 +- drivers/media/platform/nxp/imx-mipi-csis.c | 2 - drivers/media/v4l2-core/v4l2-subdev.c | 38 + include/media/mipi-csi2.h | 1 + 23 files changed, 3636 insertions(+), 1163 deletions(-) create mode 100644 Documentation/devicetree/bindings/media/i2c/onnn,mt9m114.yaml create mode 100644 Documentation/userspace-api/media/drivers/camera-sensor.rst create mode 100644 drivers/media/i2c/mt9m114.c -- Sakari Ailus