From patchwork Fri May 19 20:18:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sakari Ailus X-Patchwork-Id: 13248813 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1B4BDC77B75 for ; Fri, 19 May 2023 20:18:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229807AbjESUSi (ORCPT ); Fri, 19 May 2023 16:18:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229761AbjESUSh (ORCPT ); Fri, 19 May 2023 16:18:37 -0400 Received: from lahtoruutu.iki.fi (lahtoruutu.iki.fi [185.185.170.37]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C904B1B5 for ; Fri, 19 May 2023 13:18:28 -0700 (PDT) Received: from hillosipuli.retiisi.eu (82-181-192-243.bb.dnainternet.fi [82.181.192.243]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: sailus) by lahtoruutu.iki.fi (Postfix) with ESMTPSA id 4QNJ7j3pL2z49Py9 for ; Fri, 19 May 2023 23:18:25 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1684527505; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Px56p6fHDHF+7UIzVqt11KFeybxiN66jJnuWhLkt6xE=; b=c92c2je2vqB4G7Jr0j04kT6HikKHKFaz02j/vTsDXw7tkoFB9fF55ptgi3cc+xU1O8Xk1m O0PbkiPd6IXg6348vO+0wtosEAZk47LmvHNDzhW/oVa6pnmJ+VZqNhPwNdxxdd1xpswaZb w0CeeFAP4FxtYYjC2s+8ny/kE2zXmceMzYKTVXT85/l63fu2QrNfjJlPATrRYerjIvSIBD CPEPsJWyPEb8SHWvS/YVAIBCi/TrWX7Pjeu8dBQHqIWIJJbi9FHwG0ri/cVsTfe0ln0pyR FmYPE+1hoxoc9ylUQr28ttj5ZI22S/EeyitAqmdbc3LIj1hOwmg/hdyZv6akjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1684527505; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Px56p6fHDHF+7UIzVqt11KFeybxiN66jJnuWhLkt6xE=; b=pJE9me6U9ESuY0PzcyNWxiOKXyphzSVrmizcjHrSoFK/JxGLqeb/l9qQ5YzCDaLYC1iwD/ 7jfle0ZOvtCo9FuHVnss7pxwFHysRwpGJWzqdn3o0Ckh9i5m/LLSsa2HzPqH32SOv7INE6 aLKTZDTsikjhgBRlCEV1JQVBIKe0HPd8fOE6/y+GnyxZQrQn6+mQYyyFgldJKsSIM8dtfH e8Qw7397wjtop2sUSCDcUcZHNXSixEZt8fRR4bYbhE90I0V+M10NUUiqm/xKIHwLHbfV3M Bmb0+qxKFNjXR8xJfdeemq/nsd6sbpRZqUj4tBCrmBN6z5K//XIysEK3V2GJsw== ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=sailus smtp.mailfrom=sakari.ailus@iki.fi ARC-Seal: i=1; s=lahtoruutu; d=iki.fi; t=1684527505; a=rsa-sha256; cv=none; b=OZM29hZk2JMnDcGDoOy8BLXsvni4DhP3wts3b+Gfp406P+BIO9kh2B+Yc6sYmKS23O4MGT qvPXoDjVsqd4S4jbq3nBUIYmCRb1eCwr2DBUG5Zautuq2igX9bGQzgsO5XkP57Mw0YQAkd n+jnSvAOBo0GVYR9DlABAFdb+/5MPIdXyXc2F/fgJRGmIVsqXojHXgi6s7pPZZXfYdi0Jr UANa02/gJXQ6V7teJKrd0fHCnyzVPZQfIfTfIpKVbsbdfZqt+XSY7YC/9ionrymG9y8ruq q6tvYcY62FKbrs9FsUqxFz0x+BdaHHnZ3D/PlqjL9SyMQ/bhnIvDvfb2nUWQMw== Received: from valkosipuli.retiisi.eu (valkosipuli.localdomain [192.168.4.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by hillosipuli.retiisi.eu (Postfix) with ESMTPS id 4F540634C94 for ; Fri, 19 May 2023 23:18:24 +0300 (EEST) Date: Fri, 19 May 2023 23:18:24 +0300 From: Sakari Ailus To: linux-media@vger.kernel.org Subject: [GIT PULL FOR 6.5 v3] Camera sensor, CSI-2 related patches plus more Message-ID: MIME-Version: 1.0 Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Hi Mauro, Here's a bunch of media patches for 6.5. In particular, there's a new driver for ov01a10, fixes and improvements for hi846, ov5640, imx7, mipid02, max96712, fdp1, rcar-*, c8sectpfe and imx334 drivers, as well as C-PHY support for rcar-csi2. Cleanups for others, too, and rename of meta format files. since v2: - Drop an rcar patch from Niklas that requires some rework. since v1: - Drop extra patches picked already earlier by Hans. Please pull. The following changes since commit a23a3041c733e068bed5ece88acb45fe0edf0413: Merge tag 'v6.4-rc2' into media_stage (2023-05-14 22:55:40 +0100) are available in the Git repository at: git://linuxtv.org/sailus/media_tree.git tags/for-6.5-1.2-signed for you to fetch changes up to 31b27891c9f9697d2aea26d7c1a090c2c32d5807: media: sti: c8sectpfe: drop of_match_ptr() to avoid unused variables (2023-05-19 11:07:31 +0300) ---------------------------------------------------------------- V4L2 patches for 6.5 ---------------------------------------------------------------- Alain Volmat (1): media: sti: c8sectpfe: drop of_match_ptr() to avoid unused variables Alexander Stein (4): media: video-mux: Add missing media_entity_cleanup upon async register fail media: imx: imx7-media-csi: Get rid of superfluous call to imx7_csi_mbus_fmt_to_pix_fmt media: imx: imx7-media-csi: Remove incorrect interlacing support media: imx: imx7-media-csi: Relax width constraints for non-8bpp formats Bingbu Cao (1): media: i2c: add ov01a10 image sensor driver Christophe JAILLET (1): media: ov5693: Simplify an error message Dan Carpenter (1): media: i2c: imx296: fix error checking in imx296_read_temperature() Daniel Scally (2): media: i2c: Correct format propagation for st-mipid02 media: st-mipid02: Propagate format from sink to source pad Dmitry Torokhov (1): media: c8sectpfe: switch to using gpiod API Geert Uytterhoeven (1): media: renesas: fdp1: Identify R-Car Gen2 versions Guoniu.zhou (1): media: ov5640: correct comments for default VGA to avoid confusion Jack Zhu (1): media: admin-guide: Update rkisp1.rst Jacopo Mondi (2): media: ov5640: Remove unused 'framerate' parameter media: ov5640: Drop dead code using frame_interval Krzysztof Kozlowski (2): media: dt-bindings: qcom: camss: correct unit address media: i2c: video: constify pointers to hwmon_channel_info Laurent Pinchart (1): media: imx: imx7-media-csi: Init default format with __imx7_csi_video_try_fmt() Martin Kepplinger (1): media: hi846: fix usage of pm_runtime_get_if_in_use() Niklas Söderlund (6): dt-bindings: i2c: maxim,max96712: Require setting bus-type property media: rcar-csi2: Prepare for Gen4 support media: rcar-csi2: Prepare for C-PHY support media: staging: max96712: Add support for 3-lane C-PHY media: rcar-isp: Add support for R-Car V4H media: rcar-vin: Add support for R-Car V4H Sakari Ailus (8): Documentation: v4l: Document rotation and orientation for sensor drivers media: mc: Make media_entity_get_fwnode_pad() fwnode argument const media: pci: ipu3-cio2: Obtain remote pad from endpoint media: mc: Make media_get_pad_index() use pad type flag media: Documentation: Rename meta format files media: uapi: Use unsigned int values for assigning bits in u32 fields media: uapi: Fix [GS]_ROUTING ACTIVE flag value media: ipu3-cio2: Fix container_of() macro wrapper arguments Shravan Chippa (1): media: i2c: imx334: update pixel, hblank and link frequency Documentation/admin-guide/media/rkisp1.rst | 4 +- .../bindings/media/i2c/maxim,max96712.yaml | 7 + .../bindings/media/qcom,msm8916-camss.yaml | 2 +- .../bindings/media/qcom,msm8996-camss.yaml | 2 +- .../bindings/media/qcom,sdm660-camss.yaml | 2 +- .../bindings/media/qcom,sdm845-camss.yaml | 2 +- Documentation/driver-api/media/camera-sensor.rst | 22 + .../userspace-api/media/v4l/ext-ctrls-camera.rst | 3 + .../userspace-api/media/v4l/meta-formats.rst | 14 +- .../v4l/{pixfmt-meta-d4xx.rst => metafmt-d4xx.rst} | 0 ...-meta-intel-ipu3.rst => metafmt-intel-ipu3.rst} | 0 .../{pixfmt-meta-rkisp1.rst => metafmt-rkisp1.rst} | 0 .../v4l/{pixfmt-meta-uvc.rst => metafmt-uvc.rst} | 0 .../{pixfmt-meta-vivid.rst => metafmt-vivid.rst} | 0 ...xfmt-meta-vsp1-hgo.rst => metafmt-vsp1-hgo.rst} | 0 ...xfmt-meta-vsp1-hgt.rst => metafmt-vsp1-hgt.rst} | 0 .../media/v4l/vidioc-subdev-g-routing.rst | 2 +- MAINTAINERS | 11 +- drivers/media/dvb-core/dvbdev.c | 4 +- drivers/media/i2c/Kconfig | 13 + drivers/media/i2c/Makefile | 1 + drivers/media/i2c/hi846.c | 3 +- drivers/media/i2c/imx296.c | 4 +- drivers/media/i2c/imx334.c | 62 +- drivers/media/i2c/ov01a10.c | 1004 ++++++++++++++++++++ drivers/media/i2c/ov5640.c | 19 +- drivers/media/i2c/ov5693.c | 4 +- drivers/media/i2c/st-mipid02.c | 15 +- drivers/media/i2c/video-i2c.c | 2 +- drivers/media/mc/mc-entity.c | 18 +- drivers/media/pci/intel/ipu3/ipu3-cio2-main.c | 31 +- drivers/media/platform/nxp/imx7-media-csi.c | 94 +- drivers/media/platform/renesas/rcar-isp.c | 1 + .../media/platform/renesas/rcar-vin/rcar-core.c | 13 + .../media/platform/renesas/rcar-vin/rcar-csi2.c | 100 +- drivers/media/platform/renesas/rcar_fdp1.c | 5 + .../platform/st/sti/c8sectpfe/c8sectpfe-core.c | 33 +- .../platform/st/sti/c8sectpfe/c8sectpfe-core.h | 4 +- drivers/media/platform/video-mux.c | 1 + drivers/media/usb/au0828/au0828-core.c | 2 +- drivers/media/v4l2-core/v4l2-mc.c | 38 +- drivers/staging/media/max96712/max96712.c | 38 +- include/media/media-entity.h | 6 +- include/uapi/linux/media.h | 28 +- 44 files changed, 1388 insertions(+), 226 deletions(-) rename Documentation/userspace-api/media/v4l/{pixfmt-meta-d4xx.rst => metafmt-d4xx.rst} (100%) rename Documentation/userspace-api/media/v4l/{pixfmt-meta-intel-ipu3.rst => metafmt-intel-ipu3.rst} (100%) rename Documentation/userspace-api/media/v4l/{pixfmt-meta-rkisp1.rst => metafmt-rkisp1.rst} (100%) rename Documentation/userspace-api/media/v4l/{pixfmt-meta-uvc.rst => metafmt-uvc.rst} (100%) rename Documentation/userspace-api/media/v4l/{pixfmt-meta-vivid.rst => metafmt-vivid.rst} (100%) rename Documentation/userspace-api/media/v4l/{pixfmt-meta-vsp1-hgo.rst => metafmt-vsp1-hgo.rst} (100%) rename Documentation/userspace-api/media/v4l/{pixfmt-meta-vsp1-hgt.rst => metafmt-vsp1-hgt.rst} (100%) create mode 100644 drivers/media/i2c/ov01a10.c