From patchwork Wed May 17 21:16:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sakari Ailus X-Patchwork-Id: 13245707 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 B9FB4C7EE23 for ; Wed, 17 May 2023 21:18:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229880AbjEQVSN (ORCPT ); Wed, 17 May 2023 17:18:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57330 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229814AbjEQVSL (ORCPT ); Wed, 17 May 2023 17:18:11 -0400 Received: from lahtoruutu.iki.fi (lahtoruutu.iki.fi [185.185.170.37]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A9F59001 for ; Wed, 17 May 2023 14:17:48 -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 4QM5Wr2sV9z49Q3D for ; Thu, 18 May 2023 00:16:40 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1684358200; 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=79QkwjE6X2im7FrtGi/2Qyr7p7APDGoN0a0/f9jhh04=; b=D5mksNfPYclco7O2LucpLUA0L+97qAkuWR8UjxVbI0LHn7u3NxWJYnJvbP9we66WVdRRVs FJrFMQOAUCYk7S8ABBKGrRO0kckijjilC0tdjAfwVTCnPbzqve56WYSfv+NMajI1nbbs5O hLFvd2xcvWvolXHUlKShntpl418ydzsHTS5fvj9D1HSeagceJxyipJJysbZeK9VRLZsroR B149y7pSRXiouWhEBy834v2OPtNG48nDf1fs7G498mT0R9HQd8YBgO4A6tNcF3lSfCPlsJ PY2otVzL+wo8kxIGR+JcvdOgqzRnttFUsSn9+6PchwiOCpr5qOQhkoZ9APweiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1684358200; 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=79QkwjE6X2im7FrtGi/2Qyr7p7APDGoN0a0/f9jhh04=; b=YSi4L/nyPzJpTZ7Ex6GqJDITfhlGaZgS6BLx51pF+BzwQ+r1pN6oKSJY4jFFHao598N9uy lxHRXFa3Sd12CNCLxc64vykT3VTthbXcq2obO7CRVbAAZAQvlI9wk9RG/YbcaCgRoAvgr1 XsC+jUVXIuVbfXphl1CUPbc0I1DRHBtnGvB7MFNDzWpJkpElFsBtEJC6NsdU8vdPskCPZl YXZgWBDV7B76KeoOSuMujg7jTqH8fnWJN/z36s0+NcSnab/I+e0vRnQlR76CDSAtXziO9Q UxiPnvzNKs2FzsB3YhxsWytQZUkWInsoY5KkeshvRuelD8ncDBKfzg0Bfa0rAA== 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=1684358200; a=rsa-sha256; cv=none; b=P80kgn8rvI0GBFaIociyJgmJlMTFl+8JmTTqia9PhCu6c9dFEBuynuXSYKkMOsPcsCFB/5 9uS+4XklK0AGj7TL9ocVujnBUKNnOgQe1KiOzhT0K0XExly298L/Kfd3nKCs+SEWUD+wNo xCGAWNhImGi1TvRDAphlUxZWJBPLUHhQxOvOhBDDKsbHzGeRehHFoWSTswaiztXZ9tLSEf KPXGazCicMBXYzV5SsFD5/EQaIrrgZztWMlFoXPmQ9L7lkKqoiBXfR7qpdyIjyMsWRNZvL IU39IxLTPg+CjCmdIR5ZLxV8Nkme0J/fLnTw9FYuSpANJAixxYGXquCvj/1rgw== 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 D2187634C94 for ; Thu, 18 May 2023 00:16:39 +0300 (EEST) Date: Thu, 18 May 2023 00:16:39 +0300 From: Sakari Ailus To: linux-media@vger.kernel.org Subject: [GIT PULL FOR 6.5 v2] 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 v1: - Drop extra patches picked already earlier by Hans. Please pull. The following changes since commit ac9a78681b921877518763ba0e89202254349d1b: Linux 6.4-rc1 (2023-05-07 13:34:35 -0700) are available in the Git repository at: git://linuxtv.org/sailus/media_tree.git tags/for-6.5-1.1-signed for you to fetch changes up to c8b61d183159f253e78769cf33ffd2ff3176545d: media: sti: c8sectpfe: drop of_match_ptr() to avoid unused variables (2023-05-18 00:13:48 +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 (7): 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: rcar-csi2: Add support for C-PHY on R-Car V4H 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 | 388 +++++++- 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, 1676 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