From patchwork Thu Feb 16 18:15:31 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 9578029 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 2BC7A600C5 for ; Thu, 16 Feb 2017 18:27:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1EA9026CFF for ; Thu, 16 Feb 2017 18:27:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1320628346; Thu, 16 Feb 2017 18:27:26 +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.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham 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 95CA026CFF for ; Thu, 16 Feb 2017 18:27:25 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=4L2iV+pZBlZeNs5qqq1RltUf4Tx+QsBqoft0FRVtvQA=; b=bzRfZPFra4r+zfMwHyrB9dK1tq NG0DQ7j4ZPnij+luODRBXoBcZIfoWiX5PD6KkE9CvDlvdSSKTX5SZ/ZiayKQri4jAUVJ5Xc7IpgCJ zonfv31Alh8FkzJYQIyW03BY3U0CuQOoHIMvTIDXSh6iTYXhBM5KdgEgBBDKbpc3olEyjgn2qkC+R DqXOuGNPKmle/iw4Iqa7zi/b8GmhAgd4T9DaiKM2CbLEHENkLpsE7Dtb/mQpbgPkGuaESJ4HDrXL7 I0gH9ZN6nEog9Ds24lGQGqn7nLvb2884S0OyMozNc2sTGux2YcrmQFQWhJ/6OKd4tVpm7ftViXBJK wXLQOC3A==; 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 1ceQlx-0005xT-U2; Thu, 16 Feb 2017 18:27:18 +0000 Received: from mail-wr0-x22e.google.com ([2a00:1450:400c:c0c::22e]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1ceQb3-00078R-B3 for linux-arm-kernel@lists.infradead.org; Thu, 16 Feb 2017 18:16:04 +0000 Received: by mail-wr0-x22e.google.com with SMTP id c4so17363785wrd.2 for ; Thu, 16 Feb 2017 10:15:41 -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=5V7OSzumK3VL/zitb6Z5zxTI3d/mKQlMxRDxBnQuWCs=; b=s4d0V+NB4d996yMbqXsTNaNEs8/0coqjXih42ufrDPmdAqgdSLkXVDFVDFhFpFTcYE fwghFFfhahKGV1PafEHXC/R8rUAovbcewEr4B82O9zzzL8D/xs4g3ThTahneawWaf9OW UNGrdJfKMyrKWmDoqchC/KMBbfXWNdDF9k+5lY0plito+EYPxVBGuBrqdCekrksJlfiC /Z+Ju+xsENjFqeCjqiz4LmBJuyfp/Pf7/CUggmz3qM7gy+dbTOFNRGWhdLpDAXiMCQCA nB8bLk3cWm2s+rEC7sEA46gFghdHSeRyinNzaHXHg465LCBNfYgtZ4SSKi58ORSlyP/X 4JZg== 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=5V7OSzumK3VL/zitb6Z5zxTI3d/mKQlMxRDxBnQuWCs=; b=MhzwgAOMy6ABAYaAX6OT91iIHwGtF3o+QHDogVTC3rd7aPsjoxd5D1LD1PapUhOaum lgi+4OwgCT0ejfuv9njT/RcjwHtZgBLCkF7PkWdhLqpQPAcOkRw5WXTqw3/51qrfi32t J1eJiLMYmvvFPfv0idClDcto4K91qXzFJLaLbryN3ZhozP0JqIFEbUzR+ryatou/GXYm 9w71NKXenmS5ffedg/iPrdVrsZSWJ7gDYhqDrBMGLYVg4Q93N4iBywHrEWNNuZ6OsM2B VDsu0L0RPvWbu1f3vYfDMce0B9+8Z0yfmGWa4ZM0+0ULGoDxldY5YjPQ4j69GP3HF/+r GWbw== X-Gm-Message-State: AMke39mkrIDMqNvGua3zFLbLZZv7JGoMDWVlqoR2VudgN02uAHTyQK2VXBbF9blG8JUwXnxj X-Received: by 10.223.139.220 with SMTP id w28mr3632246wra.172.1487268939863; Thu, 16 Feb 2017 10:15:39 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id q4sm9912983wrc.35.2017.02.16.10.15.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 16 Feb 2017 10:15:39 -0800 (PST) From: Bartosz Golaszewski To: Sekhar Nori , David Lechner , Kevin Hilman , Michael Turquette , Patrick Titiano , Laurent Pinchart , Rob Herring , Mark Rutland , Russell King Subject: [PATCH 3/4] ARM: dts: da850-evm: add the output port to the vpif node Date: Thu, 16 Feb 2017 19:15:31 +0100 Message-Id: <1487268932-6469-4-git-send-email-bgolaszewski@baylibre.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1487268932-6469-1-git-send-email-bgolaszewski@baylibre.com> References: <1487268932-6469-1-git-send-email-bgolaszewski@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170216_101601_724558_E3325577 X-CRM114-Status: GOOD ( 13.16 ) 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-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Bartosz Golaszewski 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 | 13 ++++++++++--- arch/arm/boot/dts/da850.dtsi | 8 +++++++- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/da850-evm.dts b/arch/arm/boot/dts/da850-evm.dts index 14f6f8ea..b549861 100644 --- a/arch/arm/boot/dts/da850-evm.dts +++ b/arch/arm/boot/dts/da850-evm.dts @@ -300,16 +300,23 @@ 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 { + bus-width = <8>; + }; + }; }; diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi index 5150331..c708155 100644 --- a/arch/arm/boot/dts/da850.dtsi +++ b/arch/arm/boot/dts/da850.dtsi @@ -358,7 +358,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>; };