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: 9560585 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 D5FA260547 for ; Tue, 7 Feb 2017 16:42:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C8E7C28404 for ; Tue, 7 Feb 2017 16:42:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BD4B42841D; Tue, 7 Feb 2017 16:42:02 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6626128404 for ; Tue, 7 Feb 2017 16:42:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755382AbdBGQl7 (ORCPT ); Tue, 7 Feb 2017 11:41:59 -0500 Received: from mail-wr0-f171.google.com ([209.85.128.171]:34803 "EHLO mail-wr0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755359AbdBGQl4 (ORCPT ); Tue, 7 Feb 2017 11:41:56 -0500 Received: by mail-wr0-f171.google.com with SMTP id o16so41960049wra.1 for ; Tue, 07 Feb 2017 08:41:55 -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=OimZZkJD8etBmq8VSRuJabXznhBs1pAdH3W+jg4wX1K/BEiY+rrmIqTb9OEeCRYoKd EUq5CURFcuvreAFRXsAPFrERbYWHyI1z+Dr8euONGtqT+1VtvYKc28cJpTQQQBkxZffQ +VBgawClk53CwO+3QHhmCxFtRv1T3YQ1CXfULGWU+XShdKK1l+Cl//NtYi36Otasbbpx ffBLChmPhXYrDq2tiTtMqayuY1UPn65eFAeIlKIyWLEzDxUccxhO0dKDPo7OVJb3+QcE 3zTS7e56dIQgwNJ7pOmxiWPIOISh9V8BJUFj7PP/QChtv6tr872GMCclBhmr8BRx5e2T Zewg== X-Gm-Message-State: AIkVDXJBjLzm6hqiDsupztnhTt6yE9PLAZwA/62AAr3HAiYjlDFxZ108dy5UR1Q1Q6j5qCpZ 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 Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org, Bartosz Golaszewski 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> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.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>; };