From patchwork Tue Feb 7 16:41:17 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 9560719 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 7842C6047A for ; Tue, 7 Feb 2017 17:20:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6A24C28426 for ; Tue, 7 Feb 2017 17:20:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5EF122842B; Tue, 7 Feb 2017 17:20:39 +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=-1.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_SORBS_SPAM,T_DKIM_INVALID autolearn=no version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 05F0F28426 for ; Tue, 7 Feb 2017 17:20:38 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cb9RS-0001V6-1m; Tue, 07 Feb 2017 17:20:34 +0000 Received: from mail-wr0-f170.google.com ([209.85.128.170]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cb90P-0007pk-D0 for linux-arm-kernel@lists.infradead.org; Tue, 07 Feb 2017 16:52:40 +0000 Received: by mail-wr0-f170.google.com with SMTP id k90so41937321wrc.3 for ; Tue, 07 Feb 2017 08:52:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=C/5YYccE0CHstkUW0nI0Z+ZcpU33j2M5LPKs+EPyuXo=; b=gSKsDaPfoVq3UQLfTQ8EpavNnwAwWnIkRj7ry3QNwN9E6hlpZN1GfDhJ2EL2SuZm89 sCDFwF206nV/W9GzsuvtsaYFTQNBqIHQ7mFFKqWHCalGXGIq/VTtGl/NpTYGR2foNWQA aBhSsTjiLNwPcwaMkI5CcTS+NZ/+cROXOy0K8asdQQTOgyzb9jOQIEkhTq+U5FS/Z34C Uvqgz6bw6RtKqqBXxZDcfgC4ZyEgOsqzpDNKCDPDjo6TwD/A5eG/1SwhFTb9RWe6+9Tq tMcnln9e24ht4fBYYEyHrmDDxgDIjSv0rujxoplwApFj1Ajtu5fytmby8EqK00mm5tT4 oTaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=C/5YYccE0CHstkUW0nI0Z+ZcpU33j2M5LPKs+EPyuXo=; b=UzC8Bbof7ARczw0uZnisd1prEevXv+18foEHocJ57TA0k6WeVoeaiEIfYGNK+HFpR8 7JwVwbUEoqeWCTSPApF/8QC6Ua9HntteKY+do5S7QFFD/35VA7yFn8eN2CBOtTLUc87B R+7u8HCytuCzXLl59AB0WkpMSoX84sw6dpTNzY/0iTAbVNVDejpuExChxEM886X+8/8K 713K0NR0CJi/BtuWt4KcO3kMwJMcQ/jPpkQ1zlOQ21pWbqTUUDu9ETXvTi0UX9kCAsFu g2tkEtJaxHPzztRTz1ma5ghB8BjmssR44clyC/kXQe24ixY/UQtBohEi6DdzOS2sI37p C2Wg== X-Gm-Message-State: AIkVDXLENpQJ2DJV+g0/1kbjaq/4QpGMNxk1EbQu31UF7A3dsWoZh9mZv2VbSUd3ELGCiPFl X-Received: by 10.223.136.16 with SMTP id d16mr16752659wrd.117.1486485710111; Tue, 07 Feb 2017 08:41:50 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id 8sm3958185wmg.1.2017.02.07.08.41.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 07 Feb 2017 08:41:49 -0800 (PST) From: Bartosz Golaszewski To: Kevin Hilman , Sekhar Nori , Patrick Titiano , Michael Turquette , Rob Herring , Mark Rutland , Russell King , Alexandre Bailon , David Lechner , Laurent Pinchart , Mauro Carvalho Chehab , Lad Prabhakar Subject: [PATCH 04/10] ARM: dts: da850-evm: add the output port to the vpif node Date: Tue, 7 Feb 2017 17:41:17 +0100 Message-Id: <1486485683-11427-5-git-send-email-bgolaszewski@baylibre.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1486485683-11427-1-git-send-email-bgolaszewski@baylibre.com> References: <1486485683-11427-1-git-send-email-bgolaszewski@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170207_085237_890390_8AF4995A X-CRM114-Status: GOOD ( 13.08 ) 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, Bartosz Golaszewski , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org MIME-Version: 1.0 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 Extend the vpif node with an output port with a single channel. NOTE: this is still just hardware description - the actual driver is registered using pdata-quirks. Signed-off-by: Bartosz Golaszewski --- arch/arm/boot/dts/da850-evm.dts | 14 +++++++++++--- arch/arm/boot/dts/da850.dtsi | 8 +++++++- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/da850-evm.dts b/arch/arm/boot/dts/da850-evm.dts index 94938a3..3d6dd66 100644 --- a/arch/arm/boot/dts/da850-evm.dts +++ b/arch/arm/boot/dts/da850-evm.dts @@ -299,16 +299,24 @@ status = "okay"; /* VPIF capture port */ - port { - vpif_ch0: endpoint@0 { + port@0 { + vpif_input_ch0: endpoint@0 { reg = <0>; bus-width = <8>; }; - vpif_ch1: endpoint@1 { + vpif_input_ch1: endpoint@1 { reg = <1>; bus-width = <8>; data-shift = <8>; }; }; + + /* VPIF display port */ + port@1 { + vpif_output_ch0: endpoint@0 { + reg = <0>; + bus-width = <8>; + }; + }; }; diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi index 69ec5e7..768a58c 100644 --- a/arch/arm/boot/dts/da850.dtsi +++ b/arch/arm/boot/dts/da850.dtsi @@ -494,7 +494,13 @@ status = "disabled"; /* VPIF capture port */ - port { + port@0 { + #address-cells = <1>; + #size-cells = <0>; + }; + + /* VPIF display port */ + port@1 { #address-cells = <1>; #size-cells = <0>; };