From mboxrd@z Thu Jan 1 00:00:00 1970 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=-4.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 B2A64C433F5 for ; Mon, 13 Sep 2021 08:32:29 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7DE2D60F46 for ; Mon, 13 Sep 2021 08:32:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 7DE2D60F46 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=cerno.tech Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=RJv4DTeVMRS/YgphGK7a0yTF12K0QxXXmFpwgG2KnBk=; b=ZRqbtsvwBWpxc4rCWHxKCP+wf/ 9O0u2v0VGXwzD4ppL5wraLeKypDmjWOwOk6qrlVo3cxyYiLYciYmDsWHoZ78KxzPcT2aupZ69EH4W VPJcnjXvbHm0TjZeUGCKn3MClGVTKtVSBS0ikrI18k9hKOh3ebYhRiFmeo9am5ZolRbjnRowmUXIF 7ErG2FVjOmfewGJLlkseLGuW2D6ZbVhoMAo6OwBxG6tyMtPNE7dd9sx49T86dkkvnFqWNH7J5wvzT A6RmIE5KVOR8aJiWGxB2MTc/255vaPDQb6GRopS8GXWLG8u3ncC4CDfp4raA1uXseS+Vt6w7NpNjC kXJl85OA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mPhO8-000mUt-NP; Mon, 13 Sep 2021 08:32:28 +0000 Received: from new2-smtp.messagingengine.com ([66.111.4.224]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mPhNR-000m8W-2l; Mon, 13 Sep 2021 08:31:47 +0000 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 In-Reply-To: <20210910184147.336618-21-paul.kocialkowski@bootlin.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210913_013145_260630_8519586B X-CRM114-Status: GOOD ( 21.14 ) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0414278925673927277==" Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org --===============0414278925673927277== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="jbaigkkcxkmfnrsb" Content-Disposition: inline --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-- --===============0414278925673927277== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy --===============0414278925673927277==--