From patchwork Tue Feb 28 16:15:16 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 9596165 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 353D960453 for ; Tue, 28 Feb 2017 16:20:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 27423284A5 for ; Tue, 28 Feb 2017 16:20:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1BF93284EF; Tue, 28 Feb 2017 16:20:14 +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 86AF0284A5 for ; Tue, 28 Feb 2017 16:20:13 +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=AqyVY1f8jA/M8Zall/RyaZ8a7rzhlq1fA0e89UCgiHg=; b=AUaYh8T2h0AT2lrm2P5vHMxzjB aj7GRA9PnDWgHpZK6pv95NzqecaBebj8eHmzpGjQZ7LxBVYSfxuZQSZR4IRdrS8LzVSG4VkqHxX/T 3LR43szodXtiADd8wMmaYbzSVYNHpJMyiyuaHKahgCMWNiWcEjG+D5zTC9fbnBcP8IiN/mt9P5iSd BclWYzs/yD8wxKMf4zi9P66SEL1RGR3xmDvM/0VLgjJU9qTH3/a1EOeAh5389FGhksL1KY4lTKujy a8ZzuyJDlUtENFoF9bB881+/MsAFCxXwOopuH1tauoXc+MOqVx5pyFITJ3oMmsSIojz6Nfq65OG/F yeznBkbQ==; 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 1cikVX-0007fE-Sj; Tue, 28 Feb 2017 16:20:11 +0000 Received: from mail-wm0-x235.google.com ([2a00:1450:400c:c09::235]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cikRK-0004ue-1i for linux-arm-kernel@lists.infradead.org; Tue, 28 Feb 2017 16:15:52 +0000 Received: by mail-wm0-x235.google.com with SMTP id v186so89508123wmd.0 for ; Tue, 28 Feb 2017 08:15:29 -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=59y5Sjc7zscnxyVEXzUMwqEy0wdoLLLttsXepPngpLc=; b=1h/2QLBoHhzkB+klnucjJVZnaWhe8mHOCF4o/F9Eb+zb5HfMqkRNAfvbZzUenXLnxu qEjCYEUKhwV2ydFsiNf8RCIBsF/BBVZRrZCKtYRVwaecnlNUtf3mW3TR3VQrR2+hMZvc qUdsFKEKtmn15nlszzFJn0LBqhg2Jnf8mE9kQVx7xdc2xXnjkYQQWyldgObRYEI3oLl1 RfbPElCmp8RA49gFjeCF8oR+NGCl5X8fUdC+LTNbXC+Z/ER0z61Mb2L3y4NukwxLVDVq i57piGElRaJTVYACuldyJWf7PHZBPed2esZMl4U9/bcgUQMuUDtNHCj2UhBrC4S/RY1q EfxQ== 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=59y5Sjc7zscnxyVEXzUMwqEy0wdoLLLttsXepPngpLc=; b=MqwZZvP6nkOT0hwMGHKrxw3xt5AoRM19qlhMp6s+jCI3wvtyI5stfNqG/J9Kn+Bzuk PmRxpsWtSB3rf5iMIZzuGY44bnRjUcWV63e1+h4We+YTZ4EJUZIcKREPxv3HFGzsSd+s xPRp69xTDRWZWMRPc0tv0dn9pV6oDach0HPyi78Pq2gNbvXLlxJcLXApkYYxTKV/959s b9F+a+PglvhuImlphqx8o54HkE/sZUtsNZlJyk777/9/LXb16yqfwfS9QkgW0//T/M/O Om1EGgsp8Wr+KbaIeKH5iW5i6jYaOPq4wlR0fRXJR8vIEzPYOs3guVYv9fc3Fbqdxm4M 2mhw== X-Gm-Message-State: AMke39kX/qiMBltHn00zDDjhPA26zG3+UH9DlR3hmcJBOBLyrJ+odg3hFTbSSEC+nZMK9PLf X-Received: by 10.28.210.133 with SMTP id j127mr3222872wmg.64.1488298528339; Tue, 28 Feb 2017 08:15:28 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id j18sm2934239wrb.33.2017.02.28.08.15.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 28 Feb 2017 08:15:27 -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 v3 4/4] ARM: dts: da850-evm: add the output port to the vpif node Date: Tue, 28 Feb 2017 17:15:16 +0100 Message-Id: <1488298516-14363-5-git-send-email-bgolaszewski@baylibre.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1488298516-14363-1-git-send-email-bgolaszewski@baylibre.com> References: <1488298516-14363-1-git-send-email-bgolaszewski@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170228_081550_357264_2630A78E X-CRM114-Status: GOOD ( 13.93 ) 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 mostly just hardware description - the actual driver is registered using pdata-quirks. We need the node however for correct pin control function selection. Signed-off-by: Bartosz Golaszewski --- arch/arm/boot/dts/da850-evm.dts | 15 +++++++++++---- arch/arm/boot/dts/da850.dtsi | 8 +++++++- 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/da850-evm.dts b/arch/arm/boot/dts/da850-evm.dts index 3968a18..aa29991 100644 --- a/arch/arm/boot/dts/da850-evm.dts +++ b/arch/arm/boot/dts/da850-evm.dts @@ -300,20 +300,27 @@ &vpif { pinctrl-names = "default"; - pinctrl-0 = <&vpif_capture_pins>; + pinctrl-0 = <&vpif_capture_pins>, <&vpif_display_pins>; 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>; };