From patchwork Tue Nov 22 19:45:50 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Hilman X-Patchwork-Id: 9442051 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 8BAB3605EE for ; Tue, 22 Nov 2016 19:48:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 79E511FE95 for ; Tue, 22 Nov 2016 19:48:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6EC381FF13; Tue, 22 Nov 2016 19:48: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=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 32D471FE95 for ; Tue, 22 Nov 2016 19:48:32 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1c9H2B-0007GW-1W; Tue, 22 Nov 2016 19:47:15 +0000 Received: from mail-pf0-x232.google.com ([2607:f8b0:400e:c00::232]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1c9H1E-0006xA-VE for linux-arm-kernel@lists.infradead.org; Tue, 22 Nov 2016 19:46:18 +0000 Received: by mail-pf0-x232.google.com with SMTP id 189so5520408pfz.3 for ; Tue, 22 Nov 2016 11:45:56 -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 :mime-version:content-transfer-encoding; bh=tyh9Fw9lg3twV0otAwixjoatcb9+K/YeUHsC+5UYNxA=; b=O5y36yTn4Z/RBN/B+Uykq6UDKNKfQVgiJiHdOZ6ByBUcuZtWD3Vv59F1zoV0fZARrC 42S7ydCjYr+yigO5u4iNUMLGXdqXom5x1GISQ/O1JgiTi8aq04MciZg1RKcC1C+9gmuB anc+Kyoe2R+e894U/hAalCNBTn/DUuDeVCfHQfiQFRtvdPNJT+6cVM6h1O1qNLOnilDI Dq+QQHETwO5G01Pl/7VhPp7wdz4PpFDXyGIYwkPUOdVmbdlBtSsTJdokniVvAN/JOyQd YUZa1D5ZIAljy947uv02zPUFEx+h+yCB6ZrSxSG+EqEkz+Vxh1+wxiKuuztSgTqgGg6D WonA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=tyh9Fw9lg3twV0otAwixjoatcb9+K/YeUHsC+5UYNxA=; b=aoIWcm6gd1bXYQB9SJSLUwCrG/XdqYxPRYZZJjksbNYUpil/Dkj24XoGQsS/nrfSPu PBF0pj/czJsZP/loBejZhcgjVRsp58goirKKYQfB0odfCcdPArU32FrqtIvGeymQhGm/ lkJ8K4Pe6T71HJc/FHgVklC+i5hyYG5dirx6Ay8sgksvN+4IepitOiLsnigfphXdTPrT InjFqUIDxXrfrwkU51w+fYc+DgWXq/qfANNs14ocbYtRDbTTHYwRlcxuSbeTNBQVRfHh 5CoSaistKaVzB2bGrYYgJnTSkUKhhnbtDTe9Hshib9JdTQvdkGcaCq9EDNn8Q9jlqDFA csew== X-Gm-Message-State: AKaTC01SvigRV8b8/NaNdG47PwkY33Pqrj7G1ARvPIhK9GO9a6yXOPiE2cltvppJUz1izDeo X-Received: by 10.84.218.8 with SMTP id q8mr2910805pli.138.1479843956113; Tue, 22 Nov 2016 11:45:56 -0800 (PST) Received: from localhost (c-98-203-232-209.hsd1.wa.comcast.net. [98.203.232.209]) by smtp.gmail.com with ESMTPSA id b12sm44742718pfb.78.2016.11.22.11.45.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 Nov 2016 11:45:55 -0800 (PST) From: Kevin Hilman To: Sekhar Nori Subject: [PATCH 3/4] ARM: dts: davinci: da850-lcdk: enable VPIF capture via TVP5147 Date: Tue, 22 Nov 2016 11:45:50 -0800 Message-Id: <20161122194551.3420-4-khilman@baylibre.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20161122194551.3420-1-khilman@baylibre.com> References: <20161122194551.3420-1-khilman@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161122_114617_122049_E7A1698C X-CRM114-Status: UNSURE ( 8.79 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Lechner , Axel Haslam , Hans Verkuil , =?UTF-8?q?Bartosz=20Go=C5=82aszewski?= , Alexandre Bailon , linux-arm-kernel@lists.infradead.org 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 Enable video capture via the on-board TVP5147 decoder hooked up to ch0 one of the VPIF capture input. Signed-off-by: Kevin Hilman --- arch/arm/boot/dts/da850-lcdk.dts | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/arch/arm/boot/dts/da850-lcdk.dts b/arch/arm/boot/dts/da850-lcdk.dts index 03f9bfda5385..39db2ffa1902 100644 --- a/arch/arm/boot/dts/da850-lcdk.dts +++ b/arch/arm/boot/dts/da850-lcdk.dts @@ -138,6 +138,24 @@ reg = <0x18>; status = "okay"; }; + + tvp5147@5d { + compatible = "ti,tvp5147"; + reg = <0x5d>; + status = "okay"; + + port { + composite: endpoint { + hsync-active = <1>; + vsync-active = <1>; + pclk-sample = <0>; + + /* VPIF channel 0 (lower 8-bits) */ + remote-endpoint = <&vpif_ch0>; + bus-width = <8>; + }; + }; + }; }; &mcasp0 { @@ -227,3 +245,15 @@ }; }; }; + +&vpif { + status = "okay"; +}; + +&vpif_capture { + status = "okay"; +}; + +&vpif_ch0 { + remote-endpoint = <&composite>; +};