From patchwork Fri Apr 15 15:37:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Kocialkowski X-Patchwork-Id: 12815177 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 67B90C433F5 for ; Fri, 15 Apr 2022 16:15:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=HcpqPTfl6ife3GXO0kiILOqwXpNuk+eUxfrwb2aVUxQ=; b=JChmle9XLENqra kRl2oFY/Xf3n7dP9q5CPSpR4LzGK1QHL3Mboi9AhrhMugnsYDbVDFQ/aXd0LkAc4doPzLgEGLskMV jpC59Nok8hZsjLVfoeUY+GozriRaFPRChUmo/2SmT/vO2QDBF33OfQxUPp0z0jJDGVSnb6B9n7Fxs +p7rVQhkpl4Gvm4Az88hE5LA2C5Op6IfbUiObsUtvgTv1hpVnXZyinYnWtxHkU6/8vOGta99fzIq/ 0ZNGov+Q0m6MiEVRd6ho8XW2CPkvo5WgWmPgNmA24BI9RByAq+w33odvom+efCEwoP2AXGQSV/Ohm sQ/qz12ppHu74/IDV3yw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nfOa5-00AqRc-O2; Fri, 15 Apr 2022 16:13:58 +0000 Received: from relay1-d.mail.gandi.net ([217.70.183.193]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nfO0e-00AbcO-IY for linux-arm-kernel@lists.infradead.org; Fri, 15 Apr 2022 15:37:31 +0000 Received: (Authenticated sender: paul.kocialkowski@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 8625A240011; Fri, 15 Apr 2022 15:37:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1650037039; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7QLURbieOpkkpfNq0BunWS0OopKUOZx+5e7LfvVp5TQ=; b=ZGlF/9OG8gidXF+Pyl9PA9TDDHGLp8Bkc1pOMohqQcpzLRAyrnrYEakLaeYzY05zX9f0Lm bs1kn2ocRSXMmauI1gxuNzYuGW3TEXACcI0Nnlc7aaMKqe2s+WNpOpG3aBjyI63gjyoZPv kb129U+I9gJFaySLQxEreryVp5yp4kWm7nlkNqnVK87NdGIay/NEPxc33gZPdmWzd59L21 8aaQ3dj0RmesKW94CvbAYyQ28g+adkqAO3Dhr9Yc304Kq1UCFF1BS/O9zeseU3UV/2plog Mh5lFWwGx55J5pqR+hgNem2fMxzdA/T4IOby8U6pl9sdXlSufhe1D8vPuuWJGQ== 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-staging@lists.linux.dev Cc: Paul Kocialkowski , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Sakari Ailus , Hans Verkuil , Laurent Pinchart , Maxime Ripard , Thomas Petazzoni Subject: [PATCH v3 2/4] dt-bindings: media: sun6i-a31-csi: Add ISP output port Date: Fri, 15 Apr 2022 17:37:06 +0200 Message-Id: <20220415153708.637804-3-paul.kocialkowski@bootlin.com> X-Mailer: git-send-email 2.35.2 In-Reply-To: <20220415153708.637804-1-paul.kocialkowski@bootlin.com> References: <20220415153708.637804-1-paul.kocialkowski@bootlin.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220415_083720_846972_D36083BE X-CRM114-Status: GOOD ( 10.32 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 53aa6dbe8e2c..1b41a6008195 100644 --- a/Documentation/devicetree/bindings/media/allwinner,sun6i-a31-csi.yaml +++ b/Documentation/devicetree/bindings/media/allwinner,sun6i-a31-csi.yaml @@ -87,6 +87,20 @@ properties: additionalProperties: false + port@2: + $ref: /schemas/graph.yaml#/$defs/port-base + description: ISP output port + + properties: + reg: + const: 2 + + endpoint: + $ref: /schemas/graph.yaml#/$defs/endpoint-base + unevaluatedProperties: false + + additionalProperties: false + anyOf: - required: - port@0