From patchwork Mon Jul 9 14:19:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 10514771 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D0FEC60318 for ; Mon, 9 Jul 2018 14:32:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C2E92271FD for ; Mon, 9 Jul 2018 14:32:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B676D28BD7; Mon, 9 Jul 2018 14:32:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5CBB3271FD for ; Mon, 9 Jul 2018 14:32:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=W3cvv1L767u6LpzRMTBCjY2O2pszdZ2vf8VvUzy8IVg=; b=NERkFKlyF4Zxzi Wme/UZo1XODMDSOXk+80BzL9MdzZHPmKnO1y5MC3ZCg+429zqbjy5/b/cvdg+DKn3PnM4oTqN/7JW MS+/Wo6xDsRwn4trG4AzPCtcxNA8UTyef3mPwGw9dCiLsLL3/TMkL9EfBb/BuT7u+0DjgVzSfiojE 8hhP7Amf+pGzUTsNFFBHb/LpohoFIVifgoz1dDATHIMb69Uk/1BPuB0L347KF69dgL89PRBHCv7yU BcT1Y/QSlWQo22no/LcIf9ks/mGQ8GTK1ZCQkLC+N5kihtrL66ibAJP9TgOeBqvQMoQAfJs7R1JdF Xeq33Hkf3j2wxkxDmy2g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fcXDX-0001BY-HB; Mon, 09 Jul 2018 14:32:43 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fcXDN-0000fm-0g for linux-arm-kernel@bombadil.infradead.org; Mon, 09 Jul 2018 14:32:33 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=aEnv/3k0WUWSN7fKhesQLbUc1ZzcMsXrTXdHzVlGyaI=; b=URb0Vjew2Y5mjlOEABcqSjlWb1 fRUdKqu6A198aM4LUbWdqbkx8S5JnoPBtmL9xkZ0QmD0X3+S+VwX5ZBi3yFp9vZqFUfNCuW7M87JR dNHMd4P9t+eHc+Z0QjSF0rw4LeH08AVE0jsqT3nW9xettdLSvtvtg71Sap6gtRleyRdO6gJ0bzHgO tVpJFiDetCKZo13VS6mw5TaSYsq2fMsCUiMIOO7zJl3qiBm7eRY1SsfZlA+EV6xvTqwyyp+nq05iO c5hx5/MvfNughkGAr9MDC5cgul8MlJJUy6pHsO7ziLYzZ8ydhNXlh8wKQ+yb+vnJHPTV2PkEn78O3 ksFB43EA==; Received: from relay9-d.mail.gandi.net ([217.70.183.199]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fcX1T-00089A-SE for linux-arm-kernel@lists.infradead.org; Mon, 09 Jul 2018 14:20:17 +0000 X-Originating-IP: 2.224.242.101 Received: from w540.lan (2-224-242-101.ip172.fastwebnet.it [2.224.242.101]) (Authenticated sender: jacopo@jmondi.org) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id B8076FF815; Mon, 9 Jul 2018 14:19:37 +0000 (UTC) From: Jacopo Mondi To: niklas.soderlund@ragnatech.se, laurent.pinchart@ideasonboard.com, horms@verge.net.au, geert@glider.be Subject: [PATCH v5 2/6] dt-bindings: media: rcar-vin: Describe optional ep properties Date: Mon, 9 Jul 2018 16:19:17 +0200 Message-Id: <1531145962-1540-3-git-send-email-jacopo+renesas@jmondi.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1531145962-1540-1-git-send-email-jacopo+renesas@jmondi.org> References: <1531145962-1540-1-git-send-email-jacopo+renesas@jmondi.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180709_152015_963582_4B0F8295 X-CRM114-Status: GOOD ( 11.23 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org, robh+dt@kernel.org, hans.verkuil@cisco.com, sakari.ailus@linux.intel.com, Jacopo Mondi , mchehab@kernel.org, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Describe the optional endpoint properties for endpoint nodes of the R-Car VIN interface device tree bindings documentation. Signed-off-by: Jacopo Mondi Acked-by: Niklas Söderlund Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/media/rcar_vin.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Documentation/devicetree/bindings/media/rcar_vin.txt b/Documentation/devicetree/bindings/media/rcar_vin.txt index 39c4e6a..b410863 100644 --- a/Documentation/devicetree/bindings/media/rcar_vin.txt +++ b/Documentation/devicetree/bindings/media/rcar_vin.txt @@ -45,6 +45,17 @@ The per-board settings Gen2 platforms: Only the first one will be considered as each vin interface has one input port. + - Optional properties for endpoint nodes: + - hsync-active: see [1] for description. Default is active high. + - vsync-active: see [1] for description. Default is active high. + If both HSYNC and VSYNC polarities are not specified, embedded + synchronization is selected. + - field-active-even: see [1] for description. Default is active high. + - bus-width: see [1] for description. The selected bus width depends on + the SoC type and selected input image format. + Valid values are: 8, 10, 12, 16, 24 and 32. + - data-shift: see [1] for description. Valid values are 0 and 8. + The per-board settings Gen3 platforms: Gen3 platforms can support both a single connected parallel input source @@ -57,6 +68,10 @@ from local SoC CSI-2 receivers (port@1) depending on SoC. from external SoC pins as described in video-interfaces.txt[1]. Describing more than one endpoint in port@0 is invalid. Only VIN instances that are connected to external pins should have port@0. + + Endpoint nodes of port@0 support the optional properties listed in + the Gen2 per-board settings description. + - port@1 - sub-nodes describing one or more endpoints connected to the VIN from local SoC CSI-2 receivers. The endpoint numbers must use the following schema. @@ -66,6 +81,8 @@ from local SoC CSI-2 receivers (port@1) depending on SoC. - endpoint@2 - sub-node describing the endpoint connected to CSI40 - endpoint@3 - sub-node describing the endpoint connected to CSI41 + Endpoint nodes of port@1 do not support any optional endpoint property. + Device node example for Gen2 platforms --------------------------------------