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=-9.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 67E4DC433E0 for ; Fri, 8 Jan 2021 09:55:22 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 0133D23435 for ; Fri, 8 Jan 2021 09:55:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0133D23435 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=cerno.tech Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject: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=ev2S1xosQ311nL1rr2pOT/eG8YM8MkkMDMA5KWUSMH4=; b=UzyJvXWNS+XngSVO+aRFUlIJa +/gLzAD+PKqGf0FCGRTjUxw9mhaJPimTIRqu3ujUKQFRgQ+n7xAiJG3+tG5n5CP5TgCZoI6hw4RtD x1UAKV6q6/ZmRPOszDvTbVnFJ2CwBZo++gPOyBTfRrVpnyB/LWedYZKvHF0fcvmCUuaAyM+9ljRGg EbtrIhFaIGuUeHCifjz7PQFoADSKg3C48VWjWgsyKKY5ZTP1/3FNxCGvUE54Uq/UqFsz3Mv+fshrS y1dCMTnRtpBogYhjFBxqecKzacAjXfhgc6zIdT04Av9H3rL95UqGo3ZFRgx5gKoUJRGKUf6ihoUNy SdP43F3GA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kxoRX-0000np-Ox; Fri, 08 Jan 2021 09:52:27 +0000 Received: from new1-smtp.messagingengine.com ([66.111.4.221]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kxoRV-0000nK-Uk for linux-arm-kernel@lists.infradead.org; Fri, 08 Jan 2021 09:52:26 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailnew.nyi.internal (Postfix) with ESMTP id 5AC1358041D; Fri, 8 Jan 2021 04:52:25 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Fri, 08 Jan 2021 04:52:25 -0500 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=fm1; bh=TKBkA03lRN84ad9o+as6yIqJAef QnnerZu10YLu1NjI=; b=m+pxzedo2S2L716UHZ4j9iCb1c5FDm8UGCb2vef3hdV ew3LWXiBjWiNt2+dbzspyyriTBT+K+LRmyDJGkK2hnFTcGruOy60aHVNeHPCxPki Td0Gr1Y958Oh7o+g5Vu7Vh8lhr4qnCj6Wh66EhCWqn/0236sU4oLnEGWDUJt+cpU iZO2r52XCPmI24HJFrfFHLqjmoArrG1uGTgE4xY9NgMIPYLVqvUaojw2XE+Tud4o xsrhpVkqo5tOsoChAu+L6yfEfhGL3SS2OMdFUJp6LA5eoi6x8FselVmijYkZ+/Tb 9JR30bMfZyfpldrTEiXvjdWmCE+UNAtL+0undFw8T1w== 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=fm1; bh=TKBkA0 3lRN84ad9o+as6yIqJAefQnnerZu10YLu1NjI=; b=heq/+AQIBLXcDsCkZx5zff 0hnm1PMvajE6l7mt4Z47GwPSsqpB8ggnwNuPHvywBvf7WKb1hwrg22hIeUUhM197 LeSfIx7DwsJTt7l55Upr/WG4hk6D/y7wvjN55E8a/dJD3KYfpMlMFoL9k4fMbzMn OPvOGhhV+YH9wG6uuaGG8iGPwspLrtP81OMqo/05GAhurx9z46gfAqmPpTEAu8mC Iowc/0aEvMifC5po2jAxkUBI8yIrMSnT3tXH0MRT9csPaZ7HAzy5QDi0AJZqOex6 lSNAPBegVc4SLw+cst+IrPfu20zBZLW3DtVd8Y0J+PHc/LgXE33eBDstYsB6LJzQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrvdeggedgtdekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpeforgigihhm vgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrfgrth htvghrnhepleekgeehhfdutdeljefgleejffehfffgieejhffgueefhfdtveetgeehieeh gedunecukfhppeeltddrkeelrdeikedrjeeinecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepmhgrgihimhgvsegtvghrnhhordhtvggthh X-ME-Proxy: Received: from localhost (lfbn-tou-1-1502-76.w90-89.abo.wanadoo.fr [90.89.68.76]) by mail.messagingengine.com (Postfix) with ESMTPA id 464A61080059; Fri, 8 Jan 2021 04:52:22 -0500 (EST) Date: Fri, 8 Jan 2021 10:52:21 +0100 From: Maxime Ripard To: Paul Kocialkowski Subject: Re: [PATCH v4 07/15] media: sun6i-csi: Add support for MIPI CSI-2 bridge input Message-ID: <20210108095221.squax52u2knxxgoy@gilmour> References: <20201231142948.3241780-1-paul.kocialkowski@bootlin.com> <20201231142948.3241780-8-paul.kocialkowski@bootlin.com> MIME-Version: 1.0 In-Reply-To: <20201231142948.3241780-8-paul.kocialkowski@bootlin.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210108_045226_064180_1863FAF0 X-CRM114-Status: GOOD ( 20.38 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Dafna Hirschfeld , linux-doc@vger.kernel.org, linux-sunxi@googlegroups.com, Thomas Petazzoni , kevin.lhopital@hotmail.com, devel@driverdev.osuosl.org, Jonathan Corbet , Kishon Vijay Abraham I , Chen-Yu Tsai , Hans Verkuil , linux-media@vger.kernel.org, devicetree@vger.kernel.org, Sakari Ailus , Helen Koike , Rob Herring , Yong Deng , Mauro Carvalho Chehab , linux-arm-kernel@lists.infradead.org, Jernej Skrabec , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Vinod Koul , Philipp Zabel Content-Type: multipart/mixed; boundary="===============0729558054877651085==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============0729558054877651085== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="sapnhbeyia6qq3l7" Content-Disposition: inline --sapnhbeyia6qq3l7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 31, 2020 at 03:29:40PM +0100, Paul Kocialkowski wrote: > The A31 CSI controller supports a MIPI CSI-2 bridge input, which has > its own dedicated port in the fwnode graph. >=20 > Support for this input is added with this change: > - two pads are defined for the media entity instead of one > and only one needs to be connected at a time; > - the pads currently match the fwnode graph representation; > - links are created between our pads and the subdevs for each > interface and are no longer immutable so that userspace can select > which interface to use in case both are bound to a subdev; > - fwnode endpoints are parsed and stored for each interface; > - the active subdev (and fwnode endpoint) is retrieved when validating > the media link at stream on time and cleared at stream off; > - an error is raised if both links are active at the same time; > - the MIPI interface bit is set if the MIPI CSI-2 bridge endpoint is > active. >=20 > In the future, the media entity representation might evolve to: > - distinguish the internal parallel bridge and data formatter; > - represent each of the 4 internal channels that can exist between > the parallel bridge (for BT656 time-multiplex) and MIPI CSI-2 > (internal channels can be mapped to virtual channels); > - connect the controller's output to the ISP instead of its > DMA engine. >=20 > Finally note that the MIPI CSI-2 bridges should not be linked in > the fwnode graph unless they have a sensor subdev attached. >=20 > Signed-off-by: Paul Kocialkowski Acked-by: Maxime Ripard Maxime --sapnhbeyia6qq3l7 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCX/grTwAKCRDj7w1vZxhR xaWoAQDnF8B2JCSct0BxYeQua9xd5yH22K8Et3Stf1Z7l8QlcQD8C2QDOCFM5k6d 9v4VMq95E2L9I/j04U1xefNZHfVdkw8= =yq67 -----END PGP SIGNATURE----- --sapnhbeyia6qq3l7-- --===============0729558054877651085== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============0729558054877651085==--