From patchwork Tue Oct 25 23:55:34 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Hilman X-Patchwork-Id: 9395743 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 9001960233 for ; Tue, 25 Oct 2016 23:59:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4867029698 for ; Tue, 25 Oct 2016 23:59:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3CC07296A4; Tue, 25 Oct 2016 23:59:44 +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 D37A1296A2 for ; Tue, 25 Oct 2016 23:59:43 +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 1bzBbj-0003H0-Ne; Tue, 25 Oct 2016 23:58:15 +0000 Received: from mail-pf0-x231.google.com ([2607:f8b0:400e:c00::231]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bzBZa-0001kx-J6 for linux-arm-kernel@lists.infradead.org; Tue, 25 Oct 2016 23:56:04 +0000 Received: by mail-pf0-x231.google.com with SMTP id 197so3669856pfu.0 for ; Tue, 25 Oct 2016 16:55:42 -0700 (PDT) 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=VMgROzfnsc+A2/AblBVeh3/1p/wQO7JE12PkSXHeNrA=; b=Lk7+kSEQXUQw6PIIDlXxDWKjb1LtrkHuhJR1B0JHNXJwm5ry2D59L+teBdWzJIdgoY Ko/sQlElThuGnzpov8RaaC1yu0q+Qa/m3iTqHo2a3qYIHIMmP1H7gsOUDSAdsdcipsIw 7YJQ67PQI/rohsF70ycHO26Jfxe4+7Af9RAiFwtT7QGk2VmUWRG0GcUuIy/jLAiyMKF/ 91tdazur20XM4mPKRVjw1cyO7c+l6nFC17H8pJK7ewHKy0HOrRvxQz4J067kfvxHqbyO SGKbmaS+biYemlr5g5Nw9H07JliHmi3NNEvPSMbwxi5/te3tlsv39clTed4QqW/qbbe0 U7DQ== 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=VMgROzfnsc+A2/AblBVeh3/1p/wQO7JE12PkSXHeNrA=; b=XB3vhFUSFm5/pR257shnspyCx7+2zQ6qq4vyVbwFIfZNFCAm39bZLlUI9+mTIIlI5Y WAjr1hFjnLF+oyh5RhEBzmym7CrmsQxXd0WwPDsiglwq36daNBXRQTgOa4bvuB76L10C wJF8EqakXyURuWkftfvkXbzlMhkn4w7Sh+Foqjw4SeDDDDLZV+IQhHCOQ39jllXj/6Ub ZVet0k1zAX8f93sRN0N37iuxz6SvbXHS+j3hpSBxV5MqwucbXUs36yy6M6L3gVsm95Z6 zKoC1WicFK3h/HrKtvEMcONWxkClmFaGpq8JsDgcGETU1zZVS7NjzEEugCtQ/G89kLNW GhZw== X-Gm-Message-State: ABUngvc6Wlv3OL7xFRcKsYZYlsFYBGGUYDb/sGfJke94gvZfTH1fGL56KFK+4ScSt8LQmN5x X-Received: by 10.98.14.197 with SMTP id 66mr43968812pfo.123.1477439741658; Tue, 25 Oct 2016 16:55:41 -0700 (PDT) Received: from localhost (c-98-203-232-209.hsd1.wa.comcast.net. [98.203.232.209]) by smtp.gmail.com with ESMTPSA id f63sm35905445pfk.47.2016.10.25.16.55.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Oct 2016 16:55:41 -0700 (PDT) From: Kevin Hilman To: Hans Verkuil , Laurent Pinchart , linux-media@vger.kernel.org Subject: [RFC PATCH 4/6] ARM: dts: davinci: da850-lcdk: enable VPIF capture Date: Tue, 25 Oct 2016 16:55:34 -0700 Message-Id: <20161025235536.7342-5-khilman@baylibre.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20161025235536.7342-1-khilman@baylibre.com> References: <20161025235536.7342-1-khilman@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161025_165602_865613_538B5272 X-CRM114-Status: UNSURE ( 9.63 ) 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 , Sekhar Nori , =?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 7b8ab21fed6c..ef3c2aa1b619 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 { @@ -219,3 +237,15 @@ }; }; }; + +&vpif { + status = "okay"; +}; + +&vpif_capture { + status = "okay"; +}; + +&vpif_ch0 { + remote-endpoint = <&composite>; +};