From patchwork Tue Feb 7 16:41: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: 9560619 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 069F560434 for ; Tue, 7 Feb 2017 16:45:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EDB3F2841F for ; Tue, 7 Feb 2017 16:45:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E261128425; Tue, 7 Feb 2017 16:45:32 +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.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, 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 83FB92841F for ; Tue, 7 Feb 2017 16:45:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754472AbdBGQpT (ORCPT ); Tue, 7 Feb 2017 11:45:19 -0500 Received: from mail-wm0-f51.google.com ([74.125.82.51]:37074 "EHLO mail-wm0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755301AbdBGQlu (ORCPT ); Tue, 7 Feb 2017 11:41:50 -0500 Received: by mail-wm0-f51.google.com with SMTP id v77so162573418wmv.0 for ; Tue, 07 Feb 2017 08:41:49 -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=kwOFMJJ/b6hmjd8p64A+Ex6d4evvtagLXVRDo1K8jn0=; b=EzmkQCLpJb2K37FNU/2GUU6Nstp0r32PqueAbnv8UBy3OJuYgThB+rKmCttyKgy7MX grZux3B5DPEW5OjFXGGbOuXPxw5SGt4m/azrMnWIUXoHJWGFthZwZBlluCmS5bgp5ytR W+Y92BFeduC/mD1kb8+bvHGnwCAO94en+trTcPPU9OcqgBehCXc3w7Aha18w2h5tiqMd k4Q4A1GULavti3nioWUK+gyX1AlYz2e9HIIjyv6iYN2PJKMT5R4VUb+zQLjY2NxQFyD6 NUbREK9dwPa71CTzOSYT1v6gagx18/ApyFuicAzNKHaED0GexT7JwuSTF3HS6OFP3eDA C04A== 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=kwOFMJJ/b6hmjd8p64A+Ex6d4evvtagLXVRDo1K8jn0=; b=Z/uNy3ZYj0w6sXya/srprweFZsjJ7YEqVf+CC1XLaIk8euCFepZU6ekuhYw0KncLPI yTTjmNVf1bhpGeZymtBKcBKjlxb8BsBV5Kye3BABoNt1SEQT5pYnxlSxJbLrIzQnOkdB QNTrfkLrxH51FvctOuo/xYCQrc0oajo0QTH0dt/t+c2r8m2ISxqNzWJftqPiXBz3uiWK R0OT2xPJWmPlH2E6fPjr4l5c7VHJuxUw+Ib1J+zJ5OHA5gD+leIcgpezYYcRmQMJnpuy 66G3LvpY9iLdjQjBAwOIDkFp6XUJNgPZI+uWTBdJz6LWGuh+UjqFTOAMcXZW7dZzqp/X xiXg== X-Gm-Message-State: AMke39lmk0dKXK7Bs10B51iAY2UrIWqVXntYjXsUkLjSpGWn9MMU/FKpF2pvPB2PVYABkUm5 X-Received: by 10.28.8.213 with SMTP id 204mr14214145wmi.100.1486485708956; Tue, 07 Feb 2017 08:41:48 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id 8sm3958185wmg.1.2017.02.07.08.41.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 07 Feb 2017 08:41:48 -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 03/10] media: dt-bindings: vpif: extend the example with an output port Date: Tue, 7 Feb 2017 17:41:16 +0100 Message-Id: <1486485683-11427-4-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 This makes the example more or less correspond with the da850-evm hardware setup. Signed-off-by: Bartosz Golaszewski Acked-by: Rob Herring --- .../devicetree/bindings/media/ti,da850-vpif.txt | 35 ++++++++++++++++++---- 1 file changed, 29 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/media/ti,da850-vpif.txt b/Documentation/devicetree/bindings/media/ti,da850-vpif.txt index 9c7510b..543f6f3 100644 --- a/Documentation/devicetree/bindings/media/ti,da850-vpif.txt +++ b/Documentation/devicetree/bindings/media/ti,da850-vpif.txt @@ -28,19 +28,27 @@ I2C-connected TVP5147 decoder: reg = <0x217000 0x1000>; interrupts = <92>; - port { - vpif_ch0: endpoint@0 { + port@0 { + vpif_input_ch0: endpoint@0 { reg = <0>; bus-width = <8>; - remote-endpoint = <&composite>; + remote-endpoint = <&composite_in>; }; - vpif_ch1: endpoint@1 { + vpif_input_ch1: endpoint@1 { reg = <1>; bus-width = <8>; data-shift = <8>; }; }; + + port@1 { + vpif_output_ch0: endpoint@0 { + reg = <0>; + bus-width = <8>; + remote-endpoint = <&composite_out>; + }; + }; }; [ ... ] @@ -53,13 +61,28 @@ I2C-connected TVP5147 decoder: status = "okay"; port { - composite: endpoint { + composite_in: endpoint { hsync-active = <1>; vsync-active = <1>; pclk-sample = <0>; /* VPIF channel 0 (lower 8-bits) */ - remote-endpoint = <&vpif_ch0>; + remote-endpoint = <&vpif_input_ch0>; + bus-width = <8>; + }; + }; + }; + + adv7343@2a { + compatible = "adi,adv7343"; + reg = <0x2a>; + + port { + composite_out: endpoint { + adi,dac-enable = <1 1 1>; + adi,sd-dac-enable = <1>; + + remote-endpoint = <&vpif_output_ch0>; bus-width = <8>; }; };