Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp1705072pxb; Fri, 10 Sep 2021 11:46:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy9S0T8RA7ExkCwdrAM876QATAfAsmhtxlsogtxTnach0oTsi1QeyLkGz9lqN5vVgYfMQxG X-Received: by 2002:a5d:8a05:: with SMTP id w5mr7786237iod.155.1631299563435; Fri, 10 Sep 2021 11:46:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631299563; cv=none; d=google.com; s=arc-20160816; b=isLEn1hRTmijpalis3ea+HFd5Ue5dXYQgzq0RpyNL/i3GPtNShv9EOTKaqAP5rtPEF 7v87ZL5oeYZNjXouT8tK9SfeppjvxjgbqO1bGfqv6+EMDp/RU6gtmcxo3/fGtn0xg4cZ KD35KTE79iqRQPh6pzmlX+HEPumJ+GZA3B9Z7BKMxIHvkHGdB3LE5fug4w7vSAgIctrB N6pfv2+FxZmkZ4EW5anxqv68RBFbTyKP66MrFpgayqMNltTb9u/MuNv0WmB9UBFT3YSs AWPMMqnJ7CwmiREZjujnIhWEMzEKuKRMpXOEib2laxJJgrPvrsAiisiMfhqGHg8PTRVf qQRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=rInc4mxl8yg13RqFvZn7aAnPATcBYdxZy2lEqhgSDFI=; b=qpqd7ZVm2eJJKdz13BP4u4D8YNgylyvB/XqZl1FQSlguQGLgSR96WrgxI2exwJXvCt /4ZUA6yoO86yfTRz77dtcQn/M8TMWcBiJVYNZwrHWnsZI85SBy3BuiPkuFGDEVwKeL5d NRKvBjngJr5mX2XUxQGkxiuHgOatFaZGFIb3iPnvYIqTMbxMJ3PE2+C27G3vqwL1+MDN h0Cew5dSAWR68IgYi9A3aHpI1qUFT2l8+Y6i/YSyfudbX6EE6Y1ZofueNY8QyYhXFOGH 7xH1clmwwOR5VSIPVFXViPlN01WtM6GWM+TLF2r2NM0ApYFtm/g/8urX+vol02LWtvhG fi6A== ARC-Authentication-Results: i=1; mx.google.com; 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 k12si5973122jac.101.2021.09.10.11.45.51; Fri, 10 Sep 2021 11:46:03 -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; 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 S232852AbhIJSpK (ORCPT + 99 others); Fri, 10 Sep 2021 14:45:10 -0400 Received: from relay10.mail.gandi.net ([217.70.178.230]:59043 "EHLO relay10.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233075AbhIJSn4 (ORCPT ); Fri, 10 Sep 2021 14:43:56 -0400 Received: (Authenticated sender: paul.kocialkowski@bootlin.com) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 2F955240011; Fri, 10 Sep 2021 18:42:42 +0000 (UTC) From: Paul Kocialkowski To: 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 Cc: Yong Deng , Mauro Carvalho Chehab , Rob Herring , Maxime Ripard , Sakari Ailus , Hans Verkuil , Chen-Yu Tsai , Jernej Skrabec , Paul Kocialkowski , Greg Kroah-Hartman , Helen Koike , Laurent Pinchart , Thomas Petazzoni Subject: [PATCH 18/22] dt-bindings: media: sun6i-a31-csi: Add ISP output port Date: Fri, 10 Sep 2021 20:41:43 +0200 Message-Id: <20210910184147.336618-19-paul.kocialkowski@bootlin.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210910184147.336618-1-paul.kocialkowski@bootlin.com> References: <20210910184147.336618-1-paul.kocialkowski@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 c60f6b5403fa..9f796cd89a2f 100644 --- a/Documentation/devicetree/bindings/media/allwinner,sun6i-a31-csi.yaml +++ b/Documentation/devicetree/bindings/media/allwinner,sun6i-a31-csi.yaml @@ -104,6 +104,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 + + additionalProperties: false + required: - compatible - reg -- 2.32.0