From patchwork Tue Jul 27 09:15:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sakari Ailus X-Patchwork-Id: 12402179 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,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 E9950C4338F for ; Tue, 27 Jul 2021 09:16:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C276E61267 for ; Tue, 27 Jul 2021 09:16:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236009AbhG0JQL (ORCPT ); Tue, 27 Jul 2021 05:16:11 -0400 Received: from meesny.iki.fi ([195.140.195.201]:44828 "EHLO meesny.iki.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235996AbhG0JQK (ORCPT ); Tue, 27 Jul 2021 05:16:10 -0400 Received: from hillosipuli.retiisi.eu (89-27-100-251.bb.dnainternet.fi [89.27.100.251]) (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 2BB2920050 for ; Tue, 27 Jul 2021 12:16:04 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1627377364; 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=omjwpbO2PkjxM27OXZ2X5+pQnElhTkNcCB/SU++HLUY=; b=nms65v9568aRChhZm1OscP3kuaQMWZrcxcGWZzmgfA0R1KpxTfi+5TXGDsXNF3XSuJMIOY SjxY3aXWzPQfnA3eGpwIG+iwVdnIbMtlY0kMR323hpMguqCrd63OAwrx78fCavS+Bhpzs+ jsH8Z9ahun9A14+o5Mc7ujzbzR9DVGk= 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 908C7634C87 for ; Tue, 27 Jul 2021 12:15:25 +0300 (EEST) Received: from localhost ([127.0.0.1] helo=valkosipuli.retiisi.eu) by valkosipuli.localdomain with esmtp (Exim 4.92) (envelope-from ) id 1m8JBn-0001HM-JD for linux-media@vger.kernel.org; Tue, 27 Jul 2021 12:15:51 +0300 Date: Tue, 27 Jul 2021 12:15:51 +0300 From: Sakari Ailus To: linux-media@vger.kernel.org Subject: [GIT PULL v2 for 5.15] Camera sensor, async and documentation patches Message-ID: <20210727091551.GF3@valkosipuli.retiisi.eu> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1627377364; 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=omjwpbO2PkjxM27OXZ2X5+pQnElhTkNcCB/SU++HLUY=; b=CQNAfSTzMO9RruBfaaD5GPxM6EZJowOA1ZXapAu4Or2vrulzNQuPi5s1tktEEprdqLbk0i H1QAb7aq/me9wVtaNu2S/w0VvQpygv3+C99l/ulONRAKWOxZ+ujLFBf1nFoXtWMhitv4W8 YcbAZ9TAjuP2pXpojt4OnrBjB4w5m5I= ARC-Seal: i=1; s=meesny; d=iki.fi; t=1627377364; a=rsa-sha256; cv=none; b=IqRMalkl7kNqWHcUZcwqZGsM0551dX1NY0LuoPush9v0wRM2IxisZyxoh+M/brUSebFwE3 7RHq1RSuvUjbMaXl2jrNseqneHgkSt7Xlv3y1nEvXg5mx2dsn9J6SiLaXJHJNzS+dUrnCL 5TW9vNk8f3aQ6dRV2MqLlvMcC3HSm5Q= 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, Here's a large set of patches for 5.15. Notable changes include: - Drivers for imx335, imx412 and ov9282 sensors - Fixes for digital gain configuration in ov2740 and ov9734 drivers - Fix ov8856 driver for ACPI - Shorten V4L2 async notifier functions for better fitting under 80 chars - Documentation improvements (camera sensors, CSI-2) - V4L2 LED flash fixes - Manual CSI-2 LP-11/LP-111 mode support with runtime PM, CCS driver support - Correct mbus code for YUV output in ov5640 driver with CSI-2 - Switch to DEVICE_ATTR_RO and DEVICE_ATTR_RW in MC and a few drivers - Omap3isp error path bugfix since v1: - Rebased on media-stage tree - Include Niklas's rcar-vin patches - Added imx258 fixes by Umang Jain and Laurent Pinchart Please pull. The following changes since commit c3cdc019a6bf03c4bf06fe8252db96eb6e4a3b5f: media: atomisp: pci: reposition braces as per coding style (2021-07-23 09:04:03 +0200) are available in the Git repository at: git://linuxtv.org/sailus/media_tree.git tags/for-5.15-1.3-signed for you to fetch changes up to 1d2f7ba7703e59a3a9a6579027d1757cbd00e7ce: media: imx258: Limit the max analogue gain to 480 (2021-07-26 22:38:46 +0300) ---------------------------------------------------------------- V4L2 patches for 5.15 ---------------------------------------------------------------- Bingbu Cao (3): media: ov2740: use group write for digital gain media: ov9734: use group write for digital gain media: ov8856: ignore gpio and regulator for ov8856 with ACPI Laurent Pinchart (1): media: imx258: Rectify mismatch of VTS value Martina Krasteva (6): dt-bindings: media: Add bindings for imx335 media: i2c: Add imx335 camera sensor driver dt-bindings: media: Add bindings for imx412 media: i2c: Add imx412 camera sensor driver dt-bindings: media: Add bindings for ov9282 media: i2c: Add ov9282 camera sensor driver Niklas Söderlund (15): media: dt-bindings: media: renesas,csi2: Add r8a779a0 support rcar-csi2: Add r8a779a0 support rcar-vin: Refactor controls creation for video device rcar-vin: Fix error paths for rvin_mc_init() rcar-vin: Improve async notifier cleanup paths rcar-vin: Improve reuse of parallel notifier rcar-vin: Rename array storing subdevice information rcar-vin: Move group async notifier rcar-vin: Extend group notifier DT parser to work with any port rcar-vin: Create a callback to setup media links rcar-vin: Specify media device ops at group creation time rcar-vin: Move and rename CSI-2 link notifications rcar-vin: Add r8a779a0 support media: rcar-vin: Remove explicit device availability check media: v4l2-fwnode: Simplify v4l2_async_nf_parse_fwnode_endpoints() Paul Kocialkowski (1): media: v4l2-subdev: Fix documentation of the subdev_notifier member Sakari Ailus (10): Documentation: media: Improve camera sensor documentation Documentation: media: Fix v4l2-async kerneldoc syntax v4l: async: Rename async nf functions, clean up long lines Documentation: v4l: Fix V4L2_CID_PIXEL_RATE documentation Documentation: v4l: Improve frame rate configuration documentation Documentation: v4l: Rework LP-11 documentation, add callbacks v4l: subdev: Add pre_streamon and post_streamoff callbacks ccs: Implement support for manual LP control v4l2-flash: Add sanity checks for flash and indicator controls v4l2-flash: Check whether setting LED brightness succeeded Umang Jain (1): media: imx258: Limit the max analogue gain to 480 Wei Yongjun (1): media: omap3isp: Fix missing unlock in isp_subdev_notifier_complete() Xavier Roumegue (1): media: ov5640: Complement yuv mbus formats with their 1X16 versions Zhen Lei (4): media: mc-device.c: use DEVICE_ATTR_RO() helper macro media: i2c: et8ek8: use DEVICE_ATTR_RO() helper macro media: i2c: use DEVICE_ATTR_RO() helper macro media: exynos4-is: use DEVICE_ATTR_RW() helper macro .../devicetree/bindings/media/i2c/ovti,ov9282.yaml | 91 ++ .../devicetree/bindings/media/i2c/sony,imx335.yaml | 91 ++ .../devicetree/bindings/media/i2c/sony,imx412.yaml | 91 ++ .../devicetree/bindings/media/renesas,csi2.yaml | 1 + Documentation/driver-api/media/camera-sensor.rst | 45 +- Documentation/driver-api/media/csi2.rst | 94 -- Documentation/driver-api/media/index.rst | 2 +- Documentation/driver-api/media/tx-rx.rst | 133 ++ Documentation/driver-api/media/v4l2-subdev.rst | 14 +- .../media/v4l/ext-ctrls-image-process.rst | 29 +- MAINTAINERS | 27 + drivers/media/i2c/Kconfig | 42 + drivers/media/i2c/Makefile | 4 +- drivers/media/i2c/ccs/ccs-core.c | 58 +- drivers/media/i2c/et8ek8/et8ek8_driver.c | 5 +- drivers/media/i2c/imx258.c | 4 +- drivers/media/i2c/imx335.c | 1129 +++++++++++++++++ drivers/media/i2c/imx412.c | 1272 ++++++++++++++++++++ drivers/media/i2c/max9286.c | 17 +- drivers/media/i2c/ov2740.c | 26 +- drivers/media/i2c/ov5640.c | 4 + drivers/media/i2c/ov8856.c | 27 +- drivers/media/i2c/ov9282.c | 1137 +++++++++++++++++ drivers/media/i2c/ov9734.c | 24 +- drivers/media/i2c/st-mipid02.c | 22 +- drivers/media/mc/mc-device.c | 4 +- drivers/media/pci/intel/ipu3/ipu3-cio2-main.c | 17 +- drivers/media/platform/am437x/am437x-vpfe.c | 19 +- drivers/media/platform/atmel/atmel-isc-base.c | 4 +- drivers/media/platform/atmel/atmel-isi.c | 17 +- drivers/media/platform/atmel/atmel-sama5d2-isc.c | 15 +- drivers/media/platform/atmel/atmel-sama7g5-isc.c | 15 +- drivers/media/platform/cadence/cdns-csi2rx.c | 14 +- drivers/media/platform/davinci/vpif_capture.c | 21 +- drivers/media/platform/exynos4-is/media-dev.c | 33 +- drivers/media/platform/marvell-ccic/cafe-driver.c | 9 +- drivers/media/platform/marvell-ccic/mcam-core.c | 10 +- drivers/media/platform/marvell-ccic/mmp-driver.c | 6 +- drivers/media/platform/omap3isp/isp.c | 25 +- drivers/media/platform/pxa_camera.c | 26 +- drivers/media/platform/qcom/camss/camss.c | 18 +- drivers/media/platform/rcar-vin/rcar-core.c | 1071 +++++++++------- drivers/media/platform/rcar-vin/rcar-csi2.c | 210 +++- drivers/media/platform/rcar-vin/rcar-dma.c | 22 +- drivers/media/platform/rcar-vin/rcar-vin.h | 25 +- drivers/media/platform/rcar_drif.c | 14 +- drivers/media/platform/renesas-ceu.c | 29 +- .../media/platform/rockchip/rkisp1/rkisp1-dev.c | 17 +- drivers/media/platform/stm32/stm32-dcmi.c | 18 +- drivers/media/platform/sunxi/sun4i-csi/sun4i_csi.c | 12 +- drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c | 19 +- drivers/media/platform/ti-vpe/cal.c | 16 +- drivers/media/platform/video-mux.c | 17 +- drivers/media/platform/xilinx/xilinx-vipp.c | 17 +- drivers/media/v4l2-core/v4l2-async.c | 168 ++- drivers/media/v4l2-core/v4l2-flash-led-class.c | 80 +- drivers/media/v4l2-core/v4l2-fwnode.c | 83 +- drivers/staging/media/imx/imx-media-csi.c | 17 +- drivers/staging/media/imx/imx-media-dev-common.c | 7 +- drivers/staging/media/imx/imx-media-dev.c | 6 +- drivers/staging/media/imx/imx-media-of.c | 6 +- drivers/staging/media/imx/imx6-mipi-csi2.c | 17 +- drivers/staging/media/imx/imx7-media-csi.c | 24 +- drivers/staging/media/imx/imx7-mipi-csis.c | 16 +- drivers/staging/media/tegra-video/vi.c | 17 +- include/media/v4l2-async.h | 105 +- include/media/v4l2-fwnode.h | 12 +- include/media/v4l2-subdev.h | 27 +- 68 files changed, 5541 insertions(+), 1173 deletions(-) create mode 100644 Documentation/devicetree/bindings/media/i2c/ovti,ov9282.yaml create mode 100644 Documentation/devicetree/bindings/media/i2c/sony,imx335.yaml create mode 100644 Documentation/devicetree/bindings/media/i2c/sony,imx412.yaml delete mode 100644 Documentation/driver-api/media/csi2.rst create mode 100644 Documentation/driver-api/media/tx-rx.rst create mode 100644 drivers/media/i2c/imx335.c create mode 100644 drivers/media/i2c/imx412.c create mode 100644 drivers/media/i2c/ov9282.c