From patchwork Sun Jan 22 21:57:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sakari Ailus X-Patchwork-Id: 645501 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 CFD26C25B4E for ; Sun, 22 Jan 2023 21:57:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230148AbjAVV5S (ORCPT ); Sun, 22 Jan 2023 16:57:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36262 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229920AbjAVV5S (ORCPT ); Sun, 22 Jan 2023 16:57:18 -0500 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B51515C90 for ; Sun, 22 Jan 2023 13:57:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1674424637; x=1705960637; h=date:from:to:subject:message-id:mime-version; bh=1tdfJMaE/5gtiX1iYo7cWH4i2s2JOhh5tunp6m7IOcs=; b=MFE9ah7AFwjAYm66uG6iFewxwQoM55wllzpaAOc4KfBTxbc0Ujcd6GK8 nhUeviqqTTNexiQMZJt471ojGyTEmM2JWfxet+VfUwO0D9ft7z6Kk24e5 cRqsTU4qRy+1+P9t9xmjGKXLOkjrWnmxzjl6Vx1dmzT5NiPz05SbLpnmh aV5FYpctREQKElBKY/XALNhuvpXPbB72IwWNSZoyOrKzZTsspYUtoFgey b95N1qNXsuXoEMvFBh0FDjrEz/YVJ2xLYY15EEO/2D4+Xjqhpa0KCOBEG a7ySP6Nd88SQJDFWhgLYs4SBMdP3PxYHDpybptHyL4AUWsooxhDVFXdDg w==; X-IronPort-AV: E=McAfee;i="6500,9779,10598"; a="313840550" X-IronPort-AV: E=Sophos;i="5.97,238,1669104000"; d="scan'208";a="313840550" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jan 2023 13:57:16 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10598"; a="906776533" X-IronPort-AV: E=Sophos;i="5.97,238,1669104000"; d="scan'208";a="906776533" Received: from turnipsi.fi.intel.com (HELO kekkonen.fi.intel.com) ([10.237.72.44]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jan 2023 13:57:15 -0800 Received: from kekkonen.localdomain (localhost [IPv6:::1]) by kekkonen.fi.intel.com (Postfix) with SMTP id 0DB1A1227A3 for ; Sun, 22 Jan 2023 23:57:13 +0200 (EET) Date: Sun, 22 Jan 2023 23:57:13 +0200 From: Sakari Ailus To: linux-media@vger.kernel.org Subject: [GIT PULL FOR 6.3] Lots of camera sensor and some MC material 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 large number of MC and camera sensor driver patches for 6.3. In particular this includes media graph traversal improvements, new drivers for ov8858 and imx296, also lots of improvements and fixes for imx290 and DT bindings to YAML conversion for ak7375. Please pull. The following changes since commit 6599e683db1bf22fee74302c47e31b9a42a1c3d2: Merge tag 'v6.2-rc1' into media_tree (2022-12-28 16:07:44 +0000) are available in the Git repository at: git://linuxtv.org/sailus/media_tree.git tags/for-6.3-1-signed for you to fetch changes up to a49d835edd622b070772fd2652b3c9a3d01ec6b7: media: i2c: imx219: Fix binning for RAW8 capture (2023-01-17 12:13:38 +0200) ---------------------------------------------------------------- V4L2 patches for 6.3 ---------------------------------------------------------------- Adam Ford (2): media: i2c: imx219: Split common registers from mode tables media: i2c: imx219: Support four-lane operation Alexander Stein (2): media: i2c: ov9282: remove unused and unset i2c_client member media: i2c: ov9282: Switch to use dev_err_probe helper Andrey Skvortsov (1): media: ov5640: Update last busy timestamp to reset autosuspend timer Andy Shevchenko (1): media: i2c: st-vgxy61: Use asm intead of asm-generic Guoniu.zhou (1): media: ov5640: set correct default format for CSI-2 mode Jacopo Mondi (1): dt-bindings: media: Add OmniVision OV8858 Jai Luthra (3): media: ov5640: Fix soft reset sequence and timings media: ov5640: Handle delays when no reset_gpio set media: i2c: imx219: Fix binning for RAW8 capture Laurent Pinchart (26): media: i2c: imx290: Group functions in sections media: i2c: imx290: Factor out subdev init and cleanup to functions media: i2c: imx290: Factor out control update code to a function media: i2c: imx290: Access link_freq_index directly media: i2c: imx290: Pass format and mode to imx290_calc_pixel_rate() media: i2c: imx290: Compute pixel rate and blanking in one place media: i2c: imx290: Factor out black level setting to a function media: i2c: imx290: Factor out DT parsing to separate function media: i2c: imx290: Use dev_err_probe() media: i2c: imx290: Factor out clock initialization to separate function media: i2c: imx290: Use V4L2 subdev active state media: i2c: imx290: Rename, extend and expand usage of imx290_pixfmt media: i2c: imx290: Use runtime PM autosuspend media: i2c: imx290: Initialize runtime PM before subdev media: i2c: imx290: Configure data lanes at start time media: i2c: imx290: Simplify imx290_set_data_lanes() media: i2c: imx290: Handle error from imx290_set_data_lanes() media: mc: entity: Add pad iterator for media_pipeline media: mc: entity: Add entity iterator for media_pipeline media: ti: omap3isp: Use media_pipeline_for_each_entity() media: ti: omap4iss: Use media_pipeline_for_each_entity() media: xilinx: dma: Use media_pipeline_for_each_pad() media: mc: Improve the media_entity_has_pad_interdep() documentation media: mc: Get media_device directly from pad media: mc: entity: Fix minor issues in comments and documentation media: i2c: IMX296 camera sensor driver Manivannan Sadhasivam (1): dt-bindings: media: i2c: Add IMX296 CMOS sensor binding Marco Felsch (3): media: i2c: tc358746: fix missing return assignment media: i2c: tc358746: fix ignoring read error in g_register callback media: i2c: tc358746: fix possible endianness issue Miaoqian Lin (1): media: mc: entity: Fix doc for media_graph_walk_init Nicholas Roth (1): media: i2c: Add driver for OmniVision OV8858 Oleg Verych (1): media: sun4i-csi: Use CSI_INT_STA_REG name, fix typo in a comment Paul Elder (1): media: ov5640: Fix analogue gain control Shang XiaoJing (3): media: max9286: Fix memleak in max9286_v4l2_register() media: ov2740: Fix memleak in ov2740_init_controls() media: ov5675: Fix memleak in ov5675_init_controls() Yassine Oudjana (3): media: dt-bindings: ak7375: Convert to DT schema media: dt-bindings: ak7375: Add supplies media: i2c: ak7375: Add regulator management Yuan Can (1): media: i2c: ov772x: Fix memleak in ov772x_probe() .../devicetree/bindings/media/i2c/ak7375.txt | 8 - .../bindings/media/i2c/asahi-kasei,ak7375.yaml | 52 + .../devicetree/bindings/media/i2c/ovti,ov8858.yaml | 106 ++ .../devicetree/bindings/media/i2c/sony,imx296.yaml | 106 ++ Documentation/driver-api/media/mc-core.rst | 10 +- MAINTAINERS | 20 +- drivers/media/i2c/Kconfig | 26 + drivers/media/i2c/Makefile | 2 + drivers/media/i2c/ak7375.c | 38 + drivers/media/i2c/imx219.c | 311 ++- drivers/media/i2c/imx290.c | 1059 ++++++----- drivers/media/i2c/imx296.c | 1172 ++++++++++++ drivers/media/i2c/max9286.c | 1 + drivers/media/i2c/ov2740.c | 4 +- drivers/media/i2c/ov5640.c | 86 +- drivers/media/i2c/ov5675.c | 4 +- drivers/media/i2c/ov772x.c | 3 +- drivers/media/i2c/ov8858.c | 2008 ++++++++++++++++++++ drivers/media/i2c/ov9282.c | 9 +- drivers/media/i2c/st-vgxy61.c | 4 +- drivers/media/i2c/tc358746.c | 9 +- drivers/media/mc/mc-entity.c | 86 +- drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c | 4 +- drivers/media/platform/ti/omap3isp/ispvideo.c | 20 +- drivers/media/platform/xilinx/xilinx-dma.c | 28 +- drivers/staging/media/omap4iss/iss_video.c | 66 +- include/media/media-entity.h | 102 +- 27 files changed, 4555 insertions(+), 789 deletions(-) delete mode 100644 Documentation/devicetree/bindings/media/i2c/ak7375.txt create mode 100644 Documentation/devicetree/bindings/media/i2c/asahi-kasei,ak7375.yaml create mode 100644 Documentation/devicetree/bindings/media/i2c/ovti,ov8858.yaml create mode 100644 Documentation/devicetree/bindings/media/i2c/sony,imx296.yaml create mode 100644 drivers/media/i2c/imx296.c create mode 100644 drivers/media/i2c/ov8858.c