Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1600258pxb; Tue, 8 Feb 2022 23:41:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJwC6mdL/+JAvsHivglK2Bf7IZBpFLsX+yQI8WxfS7pKIHC+B2DFDQAm4EAaRxchdcRnAemw X-Received: by 2002:a17:902:cf08:: with SMTP id i8mr888032plg.37.1644392478457; Tue, 08 Feb 2022 23:41:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644392478; cv=none; d=google.com; s=arc-20160816; b=bCqA/WExLqCVu2Kml3Mg472vdlg36vSlk05Hpxv8/pqinSMaivU8wOg3IexWw5IRm9 6ExBfydHIVS98p0t2XzSM5vP0qHgfMSGlb1zByQU4B2/brTZhc3tAETEjP5sxTmXRgdj g5W8rTb85HtH7V55RMHorbAIVrGHsC4uP/ZVYYBddxLXbe/+i/wb10JSUPFyDNcNiJUb AO2NmMxPLrYHTaQbUGOq1973Y08QsZVMgjgc98UBcAv+/RhdOrs5HAbCgPSNBl/RNzaE qadGrtzUg/3ADVJ3ZDwYDz9LcIoBduQt5TGYvo0aHmbCNLfeBrHE90F4X4nbTMTd7/0U Upng== 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; bh=EeD5dJpsbzmO9/Fiv/WVmNYzS9hZRoO1xsTlv7TauXc=; b=wtYRtArtOCQ6UVAW+TQO5YrkjrP9lVXzZlrR+beP6L0azaCqyq5Hll99Fl6OJTqw+C eiflFyHfMMkTn98J/UwLkEWOgaeIfR0B7xfI7cwjg4nguDHHnSfQFx91ncPjCyPMWGXj 4LPe3RA+zpfaf+wTTdjS8DIc7Fqw6pBMA2Nc4wcgxfpi27qAZr2p7wHFJ82RGGQwV1F4 GOTgSY+FwzoRKNU9I9d7bmd83rXi+BDA6NaAJoo5L324bNnzMJOmjT91sALxEB6fP9ld lvgsX89OYlAqm3N2FR2vAvi1Be8jeLKGNuBU56c3CEJ+Ddf2wjfaFRuvTdmb0zfFSK8i hELQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=MvyY9OKI; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u11si17581253pgp.314.2022.02.08.23.41.05; Tue, 08 Feb 2022 23:41:18 -0800 (PST) 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 (test mode) header.i=@ideasonboard.com header.s=mail header.b=MvyY9OKI; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1381723AbiBGQOw (ORCPT + 99 others); Mon, 7 Feb 2022 11:14:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44502 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1442655AbiBGQE4 (ORCPT ); Mon, 7 Feb 2022 11:04:56 -0500 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C811C0401CC; Mon, 7 Feb 2022 08:04:55 -0800 (PST) Received: from pendragon.ideasonboard.com (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 3E872340; Mon, 7 Feb 2022 17:04:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1644249893; bh=EBS3kkJ8BCBs5yuj170BnDdZuFVfeUksdyi/hOkIA0E=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MvyY9OKI0dHBs/LuDngKy5LRwVmt4U8MI1JrSmzwEUbroZ1j66FdAKeufPHPc7msD NxjUI4SKDw4w34fThGl88PBkP2eV0Y/iGXexOPDFBST9fnesGw30bWNPIqTqgpShzO 4YXjESc+sTvUEu1GGJ+aQxB0h7K4mhQSax2L7XJE= Date: Mon, 7 Feb 2022 18:04:51 +0200 From: Laurent Pinchart 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 , Maxime Ripard , Sakari Ailus , Hans Verkuil , Chen-Yu Tsai , Jernej Skrabec , Greg Kroah-Hartman , Helen Koike , Thomas Petazzoni Subject: Re: [PATCH v2 62/66] dt-bindings: media: sun6i-a31-csi: Add ISP output port Message-ID: References: <20220205185429.2278860-1-paul.kocialkowski@bootlin.com> <20220205185429.2278860-63-paul.kocialkowski@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220205185429.2278860-63-paul.kocialkowski@bootlin.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Feb 05, 2022 at 07:54:25PM +0100, Paul Kocialkowski wrote: > Some Allwinner devices come with an Image Signal Processor (ISP) that > allows processing camera data to produce good-looking images, > especially from raw bayer representations. > > The ISP does not have a dedicated capture path: it is fed directly by > one of the CSI controllers, which can be selected at run-time. > > Represent this possibility as a graph connection between the CSI > controller and the ISP in the device-tree bindings. > > Signed-off-by: Paul Kocialkowski > --- > .../bindings/media/allwinner,sun6i-a31-csi.yaml | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > > diff --git a/Documentation/devicetree/bindings/media/allwinner,sun6i-a31-csi.yaml b/Documentation/devicetree/bindings/media/allwinner,sun6i-a31-csi.yaml > index 3cc61866ea89..7952413f98d8 100644 > --- a/Documentation/devicetree/bindings/media/allwinner,sun6i-a31-csi.yaml > +++ b/Documentation/devicetree/bindings/media/allwinner,sun6i-a31-csi.yaml > @@ -83,6 +83,20 @@ properties: > > additionalProperties: false > > + port@2: > + $ref: /schemas/graph.yaml#/$defs/port-base > + description: ISP output port > + > + properties: > + reg: > + const: 2 > + > + endpoint: > + $ref: video-interfaces.yaml# > + unevaluatedProperties: false This could be $ref: video-interfaces.yaml# remote-endpoint: true additionalProperties: false to reject other properties. Reviewed-by: Laurent Pinchart > + > + additionalProperties: false > + > anyOf: > - required: > - port@0 -- Regards, Laurent Pinchart