From patchwork Fri Feb 3 09:51:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 650485 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 D5F3FC61DA4 for ; Fri, 3 Feb 2023 09:51:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232514AbjBCJvr (ORCPT ); Fri, 3 Feb 2023 04:51:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231614AbjBCJvq (ORCPT ); Fri, 3 Feb 2023 04:51:46 -0500 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5BF99A819 for ; Fri, 3 Feb 2023 01:51:44 -0800 (PST) Received: from pendragon.ideasonboard.com (213-243-189-158.bb.dnainternet.fi [213.243.189.158]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id E4F80890 for ; Fri, 3 Feb 2023 10:51:42 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1675417903; bh=Ogu2nLZYixd4pCkpKb8geUsrMLbuAxSBjkbJIBAgTYw=; h=Date:From:To:Subject:From; b=H/ZrghMs7uxpI8z2PQ1NRfyG8GwnAha3isw1irXmmU/zrsO3lBnf0jK33oWkmn754 iuJJNLAE+iQUTMELq1XE6uiaanID011+/tDnK6u1sCwi1LhlaBUoQZ1LW+PJ2T/1U7 rB6PBs7e9xv4AK8MXcQAxyk1j6C/YYC39e4HvwSU= Date: Fri, 3 Feb 2023 11:51:40 +0200 From: Laurent Pinchart To: linux-media@vger.kernel.org Subject: [GIT PULL FOR v6.3] NXP i.MX8 ISI driver Message-ID: MIME-Version: 1.0 Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Hi Mauro, The following changes since commit 7120d6bfd6d0b26b49958f429701996f2d3e2c2a: media: tm6000: remove deprecated driver (2023-01-22 09:57:19 +0100) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/pinchartl/linux.git tags/media-imx-isi-next-20230203 for you to fetch changes up to e8126b9f0ee306e784dfa20f5390b97d573986ae: media: nxp: Add i.MX8 ISI driver (2023-02-03 11:15:18 +0200) This is a new driver for the NXP i.MX8 ISI, found in multiple i.MX8 SoCs including the i.MX8MP (which I have used for testing) and i.MX8MN. The driver uses the V4L2 streams API that you have merged in the media staging tree, so I've based the pull request on the latest master branch of that tree. As the streams API is going to land in v6.3, I think it would be nice to also have one user of the API in the same kernel version. Note that the API isn't exposed to userspace by default, doing so requires flipping a variable in v4l2-subdev.c, so we'll have a few kernel releases to test and stabilize everything with multiple drivers (not that I expect issues, as we've extensively tested that API over the course of multiple years in at least 6 different drivers - which we'll work on upstreaming of course, some of them have already been posted for review). ---------------------------------------------------------------- NXP i.MX8 ISI driver ---------------------------------------------------------------- Laurent Pinchart (2): dt-bindings: media: Add i.MX8 ISI DT bindings media: nxp: Add i.MX8 ISI driver .../devicetree/bindings/media/nxp,imx8-isi.yaml | 173 +++ MAINTAINERS | 7 + drivers/media/platform/nxp/Kconfig | 2 + drivers/media/platform/nxp/Makefile | 1 + drivers/media/platform/nxp/imx8-isi/Kconfig | 22 + drivers/media/platform/nxp/imx8-isi/Makefile | 8 + .../media/platform/nxp/imx8-isi/imx8-isi-core.c | 645 +++++++++ .../media/platform/nxp/imx8-isi/imx8-isi-core.h | 395 +++++ .../platform/nxp/imx8-isi/imx8-isi-crossbar.c | 529 +++++++ .../media/platform/nxp/imx8-isi/imx8-isi-debug.c | 109 ++ drivers/media/platform/nxp/imx8-isi/imx8-isi-hw.c | 651 +++++++++ drivers/media/platform/nxp/imx8-isi/imx8-isi-m2m.c | 858 +++++++++++ .../media/platform/nxp/imx8-isi/imx8-isi-pipe.c | 867 +++++++++++ .../media/platform/nxp/imx8-isi/imx8-isi-regs.h | 418 ++++++ .../media/platform/nxp/imx8-isi/imx8-isi-video.c | 1512 ++++++++++++++++++++ 15 files changed, 6197 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/nxp,imx8-isi.yaml create mode 100644 drivers/media/platform/nxp/imx8-isi/Kconfig create mode 100644 drivers/media/platform/nxp/imx8-isi/Makefile create mode 100644 drivers/media/platform/nxp/imx8-isi/imx8-isi-core.c create mode 100644 drivers/media/platform/nxp/imx8-isi/imx8-isi-core.h create mode 100644 drivers/media/platform/nxp/imx8-isi/imx8-isi-crossbar.c create mode 100644 drivers/media/platform/nxp/imx8-isi/imx8-isi-debug.c create mode 100644 drivers/media/platform/nxp/imx8-isi/imx8-isi-hw.c create mode 100644 drivers/media/platform/nxp/imx8-isi/imx8-isi-m2m.c create mode 100644 drivers/media/platform/nxp/imx8-isi/imx8-isi-pipe.c create mode 100644 drivers/media/platform/nxp/imx8-isi/imx8-isi-regs.h create mode 100644 drivers/media/platform/nxp/imx8-isi/imx8-isi-video.c