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: 9560655 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 AB60D60434 for ; Tue, 7 Feb 2017 16:51:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9D70428425 for ; Tue, 7 Feb 2017 16:51:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9237E28427; Tue, 7 Feb 2017 16:51:35 +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 3BF6228425 for ; Tue, 7 Feb 2017 16:51:35 +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 1cb8zN-0007TH-NZ; Tue, 07 Feb 2017 16:51:33 +0000 Received: from mail-wm0-f49.google.com ([74.125.82.49]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cb8rG-00029J-Ii for linux-arm-kernel@lists.infradead.org; Tue, 07 Feb 2017 16:44:30 +0000 Received: by mail-wm0-f49.google.com with SMTP id 196so44211797wmm.1 for ; Tue, 07 Feb 2017 08:42:50 -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=ffK1/FE1Za/isi6tHFprhIfM115zlGAAjNa87AW5ApssEa5cQBvDA+lEd+0qHVGehR xZi0J/SJ/WkTb7CNhbzDIHbramR/wntqncx5COEz+vShldyoolwTRh2GevYO+pyiDaVo Ig+GdX6NHVAeH3oI8Tq9rYiJkqeD8qGxv4uS8uMisn94hBWviyRcsTC295iwyAbwNcgD LCmw+h5Ox/q0bOO2DW9eTESVNYYFk7A8HLNqUtON5K4WCT0wFjij9EW3lY0wPybS2j2f IE+Cl+s8EEiO+1rHIZbO5PFmQW6Kfo/ZPTYPSWMzaqW5W15Lf4Qj/t4zonMqzMReGQPK SU5Q== X-Gm-Message-State: AMke39knv024hTqjsJ3oHIpZAqPwJf5Gpj6p6qAknyMG3WCXkoA91yU5bfp7mc0Dg9TVxPa8 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170207_084320_625539_7101A926 X-CRM114-Status: GOOD ( 11.59 ) 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 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>; }; };