From patchwork Fri Feb 5 08:38:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sakari Ailus X-Patchwork-Id: 12069603 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-22.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, INCLUDES_PULL_REQUEST,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 34F66C433DB for ; Fri, 5 Feb 2021 08:40:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D6C3A64E0B for ; Fri, 5 Feb 2021 08:40:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229727AbhBEIjs (ORCPT ); Fri, 5 Feb 2021 03:39:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34302 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229534AbhBEIje (ORCPT ); Fri, 5 Feb 2021 03:39:34 -0500 Received: from meesny.iki.fi (meesny.iki.fi [IPv6:2001:67c:2b0:1c1::201]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 63E90C0613D6 for ; Fri, 5 Feb 2021 00:38:53 -0800 (PST) Received: from hillosipuli.retiisi.eu (dbd4xkyj7wcfw2k22jcct-3.rev.dnainternet.fi [IPv6:2001:14ba:8f1:3400:fb90:892b:22d6:3885]) (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 meesny.iki.fi (Postfix) with ESMTPSA id A5D2020336 for ; Fri, 5 Feb 2021 10:38:49 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1612514329; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=0jTyaMjwT4Qtk7UQXVy2djSnysNSo69sbHP2UL+W9IQ=; b=v/FKF4/NDNekTt+u0FyAxNeNEL8U44hGsqwLQtHcuoA56fw+5LBRD0gcIT3tIvJapY1I+7 sXODHIpOOt4xVhtgYCfXVU4N3kbGDUYh6C8j9Wf/k1PwEgdpHmdnMN/0I+FonA8nuQpHuT vAe+t4beH8cI9TtlHpUX/Upr3Po7phQ= Received: from valkosipuli.localdomain (valkosipuli.localdomain [IPv6:fd35:1bc8:1a6:d3d5::80: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 ED232634C87 for ; Fri, 5 Feb 2021 10:38:32 +0200 (EET) Received: from localhost ([127.0.0.1] helo=valkosipuli.retiisi.org.uk) by valkosipuli.localdomain with esmtp (Exim 4.92) (envelope-from ) id 1l7wdb-000146-P8 for linux-media@vger.kernel.org; Fri, 05 Feb 2021 10:38:47 +0200 Date: Fri, 5 Feb 2021 10:38:47 +0200 From: Sakari Ailus To: linux-media@vger.kernel.org Subject: [GIT PULL v4 for 5.12] More V4L2 patches Message-ID: <20210205083847.GE3@valkosipuli.retiisi.org.uk> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) ARC-Seal: i=1; s=meesny; d=iki.fi; t=1612514329; a=rsa-sha256; cv=none; b=PBKLqgntEvGxuzBjwTzKDBcVvb7pGc4C8J7dtyQNF8cGlWWC4o5A4h7rKMVCjESPOm7IAc zJyco6wUqrRSa7BZkW7UDQD65Ex7cDNtTT2BlOVzPWGGVW3jA43I4QPw8xr/BTMotJgGgu 0xp2BNMJh+swNqFwVQMGj/Lq9/f6rvE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1612514329; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=0jTyaMjwT4Qtk7UQXVy2djSnysNSo69sbHP2UL+W9IQ=; b=idoecYOUhpK4Po/ZnWwWFrInq3kUbZuH4ojb6BgptI1I+hTvDmUgDspAWQnuoeFKAigTtv ACZ2S4VajCv102cHP+ja/RrW6ZghG7ogU5T7gpLhIF8rgYWlKF09HBbVxEEQqdfb12wy/m bN/rk0vii5BbBztFwdCRf6SHsISnt3I= ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=sailus smtp.mailfrom=sakari.ailus@iki.fi Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Hi Mauro, This pull request contains quite a bunch of different patches, but to name a few, there are: - Ezequiel's V4L2 async cleanup and V4L2 clock removal serieses, - RDACM21 camera module driver, - Imx258 raw camera driver, - Nice improvement for V4L2 async subdev struct allocation by Laurent and - Random fixes here and there. Since v1: - Add IMX334 driver + DT bindings - Add ov8856 driver fix - Add LINK_FREQ to IMX219 driver - Fix vflip/hflip in ov5675 driver - Dropped a minor documentation fix from me, merged with another bigger patch not yet in this pull request Since v2: - Add missing assigned-clock-parents property in IMX334 binding example. Since v3: - Add missing semicolon in IMX334 binding example. Please pull. The following changes since commit 0b9112a58836ad6a7e84eebec06a2de9778b7573: Merge tag 'v5.11-rc6' into patchwork (2021-02-01 10:03:45 +0100) are available in the Git repository at: git://linuxtv.org/sailus/media_tree.git tags/for-5.12-5.3-signed for you to fetch changes up to b28f16655455df353760bf01508c5087a2e8bfc5: media: i2c: Add imx334 camera sensor driver (2021-02-05 10:36:32 +0200) ---------------------------------------------------------------- More V4L2 patches! ---------------------------------------------------------------- Andrey Konovalov (1): media: i2c: imx219: Implement V4L2_CID_LINK_FREQ control Colin Ian King (1): media: i2c: fix spelling mistakes: "enpoint" -> "endpoint" Dan Carpenter (1): media: i2c: ov5648: remove unnecessary NULL check Ezequiel Garcia (19): media: v4l2-async: Remove V4L2_ASYNC_MATCH_DEVNAME media: v4l2-async: Clean v4l2_async_notifier_add_fwnode_remote_subdev media: atmel: Use v4l2_async_notifier_add_fwnode_remote_subdev media: stm32: Use v4l2_async_notifier_add_fwnode_remote_subdev media: exynos4-is: Use v4l2_async_notifier_add_fwnode_remote_subdev media: st-mipid02: Use v4l2_async_notifier_add_fwnode_remote_subdev media: cadence: Use v4l2_async_notifier_add_fwnode_remote_subdev media: marvell-ccic: Use v4l2_async_notifier_add_*_subdev media: renesas-ceu: Use v4l2_async_notifier_add_*_subdev media: pxa-camera: Use v4l2_async_notifier_add_*_subdev media: davinci: vpif_display: Remove unused v4l2-async code media: v4l2-async: Discourage use of v4l2_async_notifier_add_subdev media: Clarify v4l2-async subdevice addition API media: mach-pxa: Register the camera sensor fixed-rate clock media: pxa_camera: Drop the v4l2-clk clock register media: ov9640: Use the generic clock framework media: mt9m111: Use the generic clock framework media: ov6650: Use the generic clock framework media: Remove the legacy v4l2-clk API Jacopo Mondi (5): media: i2c: Add driver for RDACM21 camera module dt-bindings: media: max9286: Document 'maxim,reverse-channel-microvolt' media: i2c: max9286: Break-out reverse channel setup media: i2c: max9286: Make channel amplitude programmable media: i2c: max9286: Configure reverse channel amplitude Krzysztof Kozlowski (4): dt-bindings: media: imx258: add bindings for IMX258 sensor media: i2c: imx258: add support for binding via device tree media: i2c: imx258: simplify getting state container media: i2c: imx258: get clock from device properties and enable it via runtime PM Laurent Pinchart (1): media: v4l2-async: Improve v4l2_async_notifier_add_*_subdev() API Lubomir Rintel (1): media: marvell-ccic: power up the device on mclk enable Martina Krasteva (2): dt-bindings: media: Add bindings for imx334 media: i2c: Add imx334 camera sensor driver Ricardo Ribalda (2): media: ipu3-cio2: Do not zero reserved fields media: staging/intel-ipu3: Do not zero reserved fields Rikard Falkeborn (1): media: i2c: rdacm20: Constify static structs Robert Foss (1): media: ov8856: Configure sensor for GRBG Bayer for all modes Sakari Ailus (2): dt-bindings: Remove old ov5647.yaml file, update ovti,ov5647.yaml ipu3-cio2: Build bridge only if ACPI is enabled Shawn Tu (1): ov5675: fix vflip/hflip control Tomi Valkeinen (1): media: i2c: max9286: fix access to unallocated memory .../devicetree/bindings/media/i2c/imx258.yaml | 134 +++ .../bindings/media/i2c/maxim,max9286.yaml | 22 + .../devicetree/bindings/media/i2c/ov5647.yaml | 76 -- .../devicetree/bindings/media/i2c/ovti,ov5647.yaml | 20 +- .../devicetree/bindings/media/i2c/sony,imx334.yaml | 91 ++ Documentation/driver-api/media/v4l2-clocks.rst | 31 - Documentation/driver-api/media/v4l2-core.rst | 1 - Documentation/driver-api/media/v4l2-subdev.rst | 48 +- MAINTAINERS | 22 + arch/arm/mach-pxa/devices.c | 8 + drivers/media/i2c/Kconfig | 27 + drivers/media/i2c/Makefile | 3 + drivers/media/i2c/imx219.c | 15 +- drivers/media/i2c/imx258.c | 82 +- drivers/media/i2c/imx334.c | 1131 ++++++++++++++++++++ drivers/media/i2c/max9286.c | 74 +- drivers/media/i2c/mt9m111.c | 17 +- drivers/media/i2c/ov5648.c | 4 +- drivers/media/i2c/ov5675.c | 6 +- drivers/media/i2c/ov6650.c | 28 +- drivers/media/i2c/ov8856.c | 4 +- drivers/media/i2c/ov8865.c | 2 +- drivers/media/i2c/ov9640.c | 15 +- drivers/media/i2c/ov9640.h | 2 +- drivers/media/i2c/rdacm20.c | 4 +- drivers/media/i2c/rdacm21.c | 623 +++++++++++ drivers/media/i2c/st-mipid02.c | 21 +- drivers/media/pci/intel/ipu3/Kconfig | 2 +- drivers/media/pci/intel/ipu3/ipu3-cio2-main.c | 18 +- drivers/media/platform/am437x/am437x-vpfe.c | 2 +- drivers/media/platform/atmel/atmel-isc.h | 1 + drivers/media/platform/atmel/atmel-isi.c | 46 +- drivers/media/platform/atmel/atmel-sama5d2-isc.c | 44 +- drivers/media/platform/cadence/cdns-csi2rx.c | 17 +- drivers/media/platform/davinci/vpif_capture.c | 2 +- drivers/media/platform/davinci/vpif_display.c | 86 +- drivers/media/platform/davinci/vpif_display.h | 1 - drivers/media/platform/exynos4-is/media-dev.c | 25 +- drivers/media/platform/exynos4-is/media-dev.h | 2 +- drivers/media/platform/marvell-ccic/cafe-driver.c | 14 +- drivers/media/platform/marvell-ccic/mcam-core.c | 12 +- drivers/media/platform/marvell-ccic/mcam-core.h | 1 - drivers/media/platform/marvell-ccic/mmp-driver.c | 11 +- drivers/media/platform/omap3isp/isp.c | 74 +- drivers/media/platform/pxa_camera.c | 83 +- drivers/media/platform/qcom/camss/camss.c | 11 +- drivers/media/platform/rcar-vin/rcar-core.c | 5 +- drivers/media/platform/rcar-vin/rcar-csi2.c | 2 +- drivers/media/platform/rcar_drif.c | 2 +- drivers/media/platform/renesas-ceu.c | 56 +- .../media/platform/rockchip/rkisp1/rkisp1-dev.c | 15 +- drivers/media/platform/stm32/stm32-dcmi.c | 87 +- drivers/media/platform/sunxi/sun4i-csi/sun4i_csi.c | 9 +- drivers/media/platform/sunxi/sun4i-csi/sun4i_csi.h | 1 - drivers/media/platform/ti-vpe/cal.c | 12 +- drivers/media/platform/video-mux.c | 14 +- drivers/media/platform/xilinx/xilinx-vipp.c | 10 +- drivers/media/v4l2-core/Makefile | 2 +- drivers/media/v4l2-core/v4l2-async.c | 95 +- drivers/media/v4l2-core/v4l2-clk.c | 321 ------ drivers/media/v4l2-core/v4l2-fwnode.c | 6 +- drivers/staging/media/imx/imx-media-csi.c | 14 +- drivers/staging/media/imx/imx-media-of.c | 2 +- drivers/staging/media/imx/imx6-mipi-csi2.c | 19 +- drivers/staging/media/imx/imx7-media-csi.c | 16 +- drivers/staging/media/imx/imx7-mipi-csis.c | 15 +- drivers/staging/media/ipu3/ipu3-v4l2.c | 3 - drivers/staging/media/tegra-video/vi.c | 10 +- include/media/davinci/vpif_types.h | 2 - include/media/v4l2-async.h | 89 +- include/media/v4l2-clk.h | 73 -- 71 files changed, 2620 insertions(+), 1223 deletions(-) create mode 100644 Documentation/devicetree/bindings/media/i2c/imx258.yaml delete mode 100644 Documentation/devicetree/bindings/media/i2c/ov5647.yaml create mode 100644 Documentation/devicetree/bindings/media/i2c/sony,imx334.yaml delete mode 100644 Documentation/driver-api/media/v4l2-clocks.rst create mode 100644 drivers/media/i2c/imx334.c create mode 100644 drivers/media/i2c/rdacm21.c delete mode 100644 drivers/media/v4l2-core/v4l2-clk.c delete mode 100644 include/media/v4l2-clk.h