Skip to content

'[GIT PULL FOR 6.13] Mostly camera sensor patches'

'From : Sakari Ailus sakari.ailus@iki.fi

Hi Hans, Mauro,

Here's again a big, big PR with lots of various patches -- hopefully we can transition to the new process soon!

Noteworthy additions are the PiSP FE driver, additional hardware support for rcar-csi2 and max96712 drivers. The rest are mostly small fixes in drivers here and there. Prabhakar's get_frame_desc caller improvements and a few streaming documentation updates are included, too.

Please pull.

The following changes since commit 4115edef:

media: uvcvideo: Exit early if there is not int_urb (2024-10-08 16:04:45 +0200)

are available in the Git repository at:

git://linuxtv.org/sailus/media_tree.git tags/for-6.13-1-signed

for you to fetch changes up to 85084ffc6015c449c16924bfe65c8e9ff4089cb0:

media: atomisp: Replace ternary operator with if (2024-10-11 09:47:18 +0300)


V4L2 patches for 6.13


Benjamin Bara (3): media: i2c: imx290: Remove CHIP_ID reg definition media: i2c: imx290: Avoid communication during probe() media: i2c: imx290: Check for availability in probe()

Biju Das (1): media: platform: rzg2l-cru: rzg2l-video: Move request_irq() to probe()

Bingbu Cao (2): media: ipu6: fix the wrong type casting and 64-bit division media: ipu6: remove redundant dependency in Kconfig

Chen Ni (1): media: ti: j721e-csi2rx: Convert comma to semicolon

Christophe JAILLET (1): media: i2c: vgxy61: Fix an error handling path in vgxy61_detect()

Colin Ian King (1): media: i2c: ds90ub960: Fix missing return check on ub960_rxport_read call

Dan Carpenter (1): media: i2c: max96717: clean up on error in max96717_subdev_init()

Hridesh MG (1): staging: media: ipu3: fix spelling mistakes

Lad Prabhakar (1): v4l2-subdev: Return -EOPNOTSUPP for unsupported pad type in call_get_frame_desc()

Niklas S\xf6derlund (17): dt-bindings: media: renesas,csi2: Add binding for V4M media: rcar-csi2: Correct field size for PHTW writes media: rcar-csi2: Allow writing any code and data value to PHTW media: rcar-csi2: Abstract PHTW and PHYPLL register offsets media: rcar-csi2: Add helper to lookup mbps settings media: rcar-csi2: Move PHTW write helpers media: rcar-csi2: Add documentation for PHY_EN and PHY_MODE registers media: rcar-csi2: Add support for R-Car V4M dt-bindings: i2c: maxim,max96712: Add compatible for MAX96724 media: staging: max96712: Remove device id check media: staging: max96712: Move link frequency setting to device struct media: staging: max96712: Document the DEBUG_EXTRA register media: staging: max96712: Add support for MAX96724 dt-bindings: media: renesas,isp: Add Gen4 family fallback media: rcar-isp: Add family compatible for R-Car Gen4 family dt-bindings: media: renesas,isp: Add binding for V4M media: rcar-vin: Add support for RAW10

Paul Elder (1): media: platform: video-mux: Fix mutex locking

Ricardo Ribalda (1): media: atomisp: Replace ternary operator with if

Sakari Ailus (3): media: Documentation: Deprecate s_stream video op, update docs media: Documentation: Update {enable,disable}streams documentation media: Documentation: Improve v4l2_subdev{en,dis}able_streams documentation

Shen Lichuan (1): media: staging/intel-ipu3: css: Convert comma to semicolon

Tomi Valkeinen (4): media: uapi: Add meta formats for PiSP FE config and stats dt-bindings: media: Add bindings for raspberrypi,rp1-cfe media: raspberrypi: Add support for RP1-CFE media: admin-guide: Document the Raspberry Pi CFE (rp1-cfe)

Tommaso Merciai (2): media: i2c: max96714: add HAS_EVENTS support media: i2c: max96717: add HAS_EVENTS support

Yu Jiaoliang (1): media: i2c: Fix typos in comments across various files

.../admin-guide/media/raspberrypi-rp1-cfe.dot | 27 + .../admin-guide/media/raspberrypi-rp1-cfe.rst | 78 + Documentation/admin-guide/media/v4l-drivers.rst | 1 + .../bindings/media/i2c/maxim,max96712.yaml | 5 +- .../bindings/media/raspberrypi,rp1-cfe.yaml | 93 + .../devicetree/bindings/media/renesas,csi2.yaml | 1 + .../devicetree/bindings/media/renesas,isp.yaml | 4 +- Documentation/driver-api/media/camera-sensor.rst | 8 +- Documentation/driver-api/media/tx-rx.rst | 13 +- .../userspace-api/media/v4l/meta-formats.rst | 1 + .../userspace-api/media/v4l/metafmt-pisp-fe.rst | 39 + MAINTAINERS | 7 + drivers/media/i2c/ds90ub960.c | 2 +- drivers/media/i2c/hi556.c | 2 +- drivers/media/i2c/imx290.c | 30 +- drivers/media/i2c/max96714.c | 6 +- drivers/media/i2c/max96717.c | 12 +- drivers/media/i2c/ov2740.c | 2 +- drivers/media/i2c/ov5640.c | 2 +- drivers/media/i2c/ov5670.c | 2 +- drivers/media/i2c/ov5675.c | 4 +- drivers/media/i2c/ov772x.c | 2 +- drivers/media/i2c/ov7740.c | 2 +- drivers/media/i2c/ov8856.c | 2 +- drivers/media/i2c/ov9650.c | 2 +- drivers/media/i2c/ov9734.c | 2 +- drivers/media/i2c/vgxy61.c | 2 +- drivers/media/pci/intel/ipu6/Kconfig | 2 +- drivers/media/pci/intel/ipu6/ipu6-cpd.c | 6 +- drivers/media/pci/intel/ipu6/ipu6-fw-com.c | 8 +- drivers/media/pci/intel/ipu6/ipu6-isys-dwc-phy.c | 4 +- drivers/media/pci/intel/ipu6/ipu6-isys-video.c | 6 +- drivers/media/pci/intel/ipu6/ipu6-isys.c | 6 +- drivers/media/pci/intel/ipu6/ipu6-isys.h | 2 +- drivers/media/pci/intel/ipu6/ipu6.c | 3 +- drivers/media/platform/raspberrypi/Kconfig | 1 + drivers/media/platform/raspberrypi/Makefile | 1 + drivers/media/platform/raspberrypi/rp1-cfe/Kconfig | 15 + .../media/platform/raspberrypi/rp1-cfe/Makefile | 6 + .../media/platform/raspberrypi/rp1-cfe/cfe-fmts.h | 332 +++ .../media/platform/raspberrypi/rp1-cfe/cfe-trace.h | 202 ++ drivers/media/platform/raspberrypi/rp1-cfe/cfe.c | 2504 ++++++++++++++++++++ drivers/media/platform/raspberrypi/rp1-cfe/cfe.h | 43 + drivers/media/platform/raspberrypi/rp1-cfe/csi2.c | 586 +++++ drivers/media/platform/raspberrypi/rp1-cfe/csi2.h | 89 + drivers/media/platform/raspberrypi/rp1-cfe/dphy.c | 181 ++ drivers/media/platform/raspberrypi/rp1-cfe/dphy.h | 27 + .../media/platform/raspberrypi/rp1-cfe/pisp-fe.c | 605 +++++ .../media/platform/raspberrypi/rp1-cfe/pisp-fe.h | 53 + drivers/media/platform/renesas/rcar-csi2.c | 518 +++- drivers/media/platform/renesas/rcar-isp.c | 4 +- .../media/platform/renesas/rcar-vin/rcar-core.c | 1 + drivers/media/platform/renesas/rcar-vin/rcar-dma.c | 30 + .../media/platform/renesas/rcar-vin/rcar-v4l2.c | 43 + drivers/media/platform/renesas/rcar-vin/rcar-vin.h | 4 +- .../media/platform/renesas/rzg2l-cru/rzg2l-core.c | 13 +- .../media/platform/renesas/rzg2l-cru/rzg2l-cru.h | 6 +- .../media/platform/renesas/rzg2l-cru/rzg2l-video.c | 15 +- .../media/platform/ti/j721e-csi2rx/j721e-csi2rx.c | 6 +- drivers/media/platform/video-mux.c | 6 +- drivers/media/v4l2-core/v4l2-ioctl.c | 2 + drivers/media/v4l2-core/v4l2-subdev.c | 5 + drivers/staging/media/atomisp/pci/sh_css_frac.h | 6 +- drivers/staging/media/ipu3/ipu3-css-params.c | 6 +- drivers/staging/media/max96712/max96712.c | 56 +- include/media/v4l2-subdev.h | 17 +- .../uapi/linux/media/raspberrypi/pisp_fe_config.h | 273 +++ .../linux/media/raspberrypi/pisp_fe_statistics.h | 64 + include/uapi/linux/videodev2.h | 2 + 69 files changed, 5893 insertions(+), 217 deletions(-) create mode 100644 Documentation/admin-guide/media/raspberrypi-rp1-cfe.dot create mode 100644 Documentation/admin-guide/media/raspberrypi-rp1-cfe.rst create mode 100644 Documentation/devicetree/bindings/media/raspberrypi,rp1-cfe.yaml create mode 100644 Documentation/userspace-api/media/v4l/metafmt-pisp-fe.rst create mode 100644 drivers/media/platform/raspberrypi/rp1-cfe/Kconfig create mode 100644 drivers/media/platform/raspberrypi/rp1-cfe/Makefile create mode 100644 drivers/media/platform/raspberrypi/rp1-cfe/cfe-fmts.h create mode 100644 drivers/media/platform/raspberrypi/rp1-cfe/cfe-trace.h create mode 100644 drivers/media/platform/raspberrypi/rp1-cfe/cfe.c create mode 100644 drivers/media/platform/raspberrypi/rp1-cfe/cfe.h create mode 100644 drivers/media/platform/raspberrypi/rp1-cfe/csi2.c create mode 100644 drivers/media/platform/raspberrypi/rp1-cfe/csi2.h create mode 100644 drivers/media/platform/raspberrypi/rp1-cfe/dphy.c create mode 100644 drivers/media/platform/raspberrypi/rp1-cfe/dphy.h create mode 100644 drivers/media/platform/raspberrypi/rp1-cfe/pisp-fe.c create mode 100644 drivers/media/platform/raspberrypi/rp1-cfe/pisp-fe.h create mode 100644 include/uapi/linux/media/raspberrypi/pisp_fe_config.h create mode 100644 include/uapi/linux/media/raspberrypi/pisp_fe_statistics.h

-- Kind regards,

Sakari Ailus'

Merge request reports

Loading