Received: by 2002:a05:6a10:6d25:0:0:0:0 with SMTP id gq37csp1621523pxb; Mon, 13 Sep 2021 01:34:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJycXgImjf6a3fTI4VBarAkvFAsK/AVY1AZ0c4xshJvCVZZxEBy4O28iDKkuTphD+hv9Zb1P X-Received: by 2002:a17:906:3591:: with SMTP id o17mr9957659ejb.158.1631522046014; Mon, 13 Sep 2021 01:34:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631522046; cv=none; d=google.com; s=arc-20160816; b=Hfurt2qOQZe0nSlFFzJU2tf8mvrsp83Q+ea60y4BJiQQrJUEHxXI4xg94VMj7gP1tV KIyIHaaaTnQjlj8tPEc4Y6aVRzEb0wV//nSlNjt9iG6DYynshY3hx7jQZKmPEHqbBcCV cnK2qTTm3jxykB2wR0uGALZb7HUKBhERfUhLg/tAGKLCxePvKd6PJCDeNBe2CcWyt28h ww4M/+DMztzRoKNXcQ8lpR56BfXDzh7UNY8TmiXJi6hm2TTN+KS003mXf75QRQsPM1Sg 6InhoOwcu2r4IVt4wvaUz2Ic/lNKal2HrGmA23EUth0YZkQxVx6YIWJydsUAlOJ+NQQD 0REg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=4z6zePSoBjeWsjoNDVFhA/Ago/a0rXEqKZSBXpOMmgs=; b=cDt8HKOMWCW07UZlPEs0uL/J3OcDajv799aLdyFOl1e+jpg/oxgGv0iHOLvdyJHpbY FJbxLjnr2q/UI6KFhK7rqEsCLjzymbbMX83k5iAvz9758oool+G+Q1kVZ+naTE2vHa+j I6ei8p+XUkQbnXZN9fg+e9Q/dGenkHdJDQDW1D3QxkzaZWYB1WlGyHgrYpsKpmdQWSz/ rQxx/Pi8DxEkx6Gqa/TtZSfQ/Ln4wUw4DJpXBSc9/WRxGVlIhNW6NTQ5pRyZXclJ/qyX nDfcNvtBcSdEWUW6OhoxG9qnKxzj5JThm2OZC5EtlDxOEWcop4Yrr+1iP/Eyf2PDsvKI 77wA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm3 header.b=3gsTSe2z; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=CYvZWhvR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z62si3846807ede.188.2021.09.13.01.33.39; Mon, 13 Sep 2021 01:34:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm3 header.b=3gsTSe2z; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=CYvZWhvR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238223AbhIMIdJ (ORCPT + 99 others); Mon, 13 Sep 2021 04:33:09 -0400 Received: from new2-smtp.messagingengine.com ([66.111.4.224]:45209 "EHLO new2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238026AbhIMIc5 (ORCPT ); Mon, 13 Sep 2021 04:32:57 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.nyi.internal (Postfix) with ESMTP id E4595580B02; Mon, 13 Sep 2021 04:31:40 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Mon, 13 Sep 2021 04:31:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=4z6zePSoBjeWsjoNDVFhA/Ago/a 0rXEqKZSBXpOMmgs=; b=3gsTSe2zYxyA7Wr79PMvbFNcKOqZL/5qsW9YTG02cb9 891aI5uksQuA3y4OFk2R4Bgx10oLFNJ+uKVM/0B5kEymwRjkoFhSwCtZEj/w7K/e WYfmDyOuTyWZLPT9xqEclMq4z0jWHeotyMd/5wQu2Gz2i660QVOInnWDp4k0YACJ iyzxGK714aAn+obuOV4YgBn2fWhCyulax6b+EhcLC5vY9lGPe6cnfJv49d4qmTwv rQMfRHwhS7gGCiGB0uv+U6+KtTagSHQeZEbLVWNZN0+9/K7XcaNfGH2/57wxaY3K OLqHuDOkrbjCmRsjfXCuHNTXApTVL3IoH7XsE0exL1g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=4z6zeP SoBjeWsjoNDVFhA/Ago/a0rXEqKZSBXpOMmgs=; b=CYvZWhvRfErfJfWiykQPA9 7h9/uEQ9oWpTBEJJ5X9C+7f7MIsGDwrOWzqjHFeGE0TediprO+ahqfUfie9/RjyG rAg/QDypLJWiC91MMC+9mW+hlj9Dp9ejNmRWaqdDlI49n3QmJR0mkOKIyf1ipJhY euN69QTTM+lkwq+gVyHBnmuqj9XkFmXH4uKI5ATj81IGN3oh3S53bF8mjkn4xmxX l3Um63Z2+i2fF+MNr11WJeR71W8fTqfrV0fZdJMtOn6oCao9BcD5wAJsC4xVK5M4 2v6gSVH7V3u1tzdaFSofzT7ANVobNLaUWY72gm73ZqodhIXUbZSKK1QlxzrST9MQ == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudegjedgtdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpeforgigihhm vgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrfgrth htvghrnhepleekgeehhfdutdeljefgleejffehfffgieejhffgueefhfdtveetgeehieeh gedunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmh grgihimhgvsegtvghrnhhordhtvggthh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 13 Sep 2021 04:31:37 -0400 (EDT) Date: Mon, 13 Sep 2021 10:31:35 +0200 From: Maxime Ripard To: Paul Kocialkowski Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, linux-clk@vger.kernel.org, linux-staging@lists.linux.dev, Yong Deng , Mauro Carvalho Chehab , Rob Herring , Sakari Ailus , Hans Verkuil , Chen-Yu Tsai , Jernej Skrabec , Greg Kroah-Hartman , Helen Koike , Laurent Pinchart , Thomas Petazzoni Subject: Re: [PATCH 20/22] staging: media: Add support for the Allwinner A31 ISP Message-ID: <20210913083135.v7q7joux2xckat62@gilmour> References: <20210910184147.336618-1-paul.kocialkowski@bootlin.com> <20210910184147.336618-21-paul.kocialkowski@bootlin.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="jbaigkkcxkmfnrsb" Content-Disposition: inline In-Reply-To: <20210910184147.336618-21-paul.kocialkowski@bootlin.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --jbaigkkcxkmfnrsb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 10, 2021 at 08:41:45PM +0200, Paul Kocialkowski wrote: > Some Allwinner platforms come with an Image Signal Processor, which > supports various features in order to enhance and transform data > received by image sensors into good-looking pictures. In most cases, > the data is raw bayer, which gets internally converted to RGB and > finally YUV, which is what the hardware produces. >=20 > This driver supports ISPs that are similar to the A31 ISP, which was > the first standalone ISP found in Allwinner platforms. Simpler ISP > blocks were found in the A10 and A20, where they are tied to a CSI > controller. Newer generations of Allwinner SoCs (starting with the > H6, H616, etc) come with a new camera subsystem and revised ISP. > Even though these previous and next-generation ISPs are somewhat > similar to the A31 ISP, they have enough significant differences to > be out of the scope of this driver. >=20 > While the ISP supports many features, including 3A and many > enhancement blocks, this implementation is limited to the following: > - V3s (V3/S3) platform support; > - Bayer media bus formats as input; > - Semi-planar YUV (NV12/NV21) as output; > - Debayering with per-component gain and offset configuration; > - 2D noise filtering with configurable coefficients. >=20 > Since many features are missing from the associated uAPI, the driver > is aimed to integrate staging until all features are properly > described. We can add new features/interfaces to a !staging driver. Why do you think staging is required? > On the technical side, it uses the v4l2 and media controller APIs, > with a video node for capture, a processor subdev and a video node > for parameters submission. A specific uAPI structure and associated > v4l2 meta format are used to configure parameters of the supported > modules. This meta format needs to be documented Maxime --jbaigkkcxkmfnrsb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCYT8MZwAKCRDj7w1vZxhR xfCSAPwNpePQefQ1qY48RKWEqQCFEJEtyeWg8x+EPAkBtwyHhgD+L5rlC9YsjQxc 0BfJNJ8/18oWOFR8e3TB8hFtggnpbA8= =eqH5 -----END PGP SIGNATURE----- --jbaigkkcxkmfnrsb--