From patchwork Mon Jan 9 20:55:27 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Hilman X-Patchwork-Id: 9505961 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 0F797606E1 for ; Mon, 9 Jan 2017 20:56:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EC204284DA for ; Mon, 9 Jan 2017 20:56:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E0F8028518; Mon, 9 Jan 2017 20:56:23 +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 AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 70917284DA for ; Mon, 9 Jan 2017 20:56:23 +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 1cQgzM-0005jX-AH; Mon, 09 Jan 2017 20:56:20 +0000 Received: from mail-pf0-x22a.google.com ([2607:f8b0:400e:c00::22a]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cQgyy-00051G-Np for linux-arm-kernel@lists.infradead.org; Mon, 09 Jan 2017 20:55:58 +0000 Received: by mail-pf0-x22a.google.com with SMTP id 127so33684505pfg.1 for ; Mon, 09 Jan 2017 12:55:35 -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=YsMOS1q0jv3p8R1FQn+qMjtL5owdPN/7VYG4/62U5KE=; b=HxH/nPy6UMUob70r96goEMBZGfX8Ti8mrQeywgIzQTgo0rUXJlPt+pUUAP8WchKsuk /pvtNQmMcbhfpVHB4ziLxyp7+7kjI72FlfmW3uel5+FfIMvZ4AVwau78F42gxtImlLA6 ZjuzgYx7FFvltKdQcoLxYzlr7l7kRBWI3YqjQvBdUU8nfZmvqSxPyY9UlfT/64SSMwnD TOZ7pffnSF0ws3MwIgnL/tqh0Z4ADALl3oBgw0gJJY/6mJAw/HnGEq2v4uR0ZJRizOjh wH2Loz0oSlwewJS6c2Gk8tUs+AvqKWa5A628SmvdDABuX4x051vNf1vlr7TgdRcixdGz w5CA== 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:mime-version:content-transfer-encoding; bh=YsMOS1q0jv3p8R1FQn+qMjtL5owdPN/7VYG4/62U5KE=; b=f7YsPv3KR/KsVKTUWp1W98KXp7AVGhal8skC4yJbKltorqv1R/hf9PbK3ZqA3HbEmR w+FHvbJck0WXHeuLcl5GNf1QGy+vWC5/xam0DSMgsDf6oNEy3RLeQxdx66a7X0Ray4HG SPyUyruKQF4UVmjpRSlSRLY5bOVtISuJXHu/Osny8Gql+aSQLFd1lEUVihPckmKAS6t1 DDx78xxMd3JPX5QVtr23YI1EwM+WnPdL4Y0zT4Q+rMyNQbxzORSy6u00+3zxQt47z6YM quV77IR6uprGa4hxh+XUzQQa1SfyR3frKuPIKqR2oCb/d7CqTdVjRdP3r1fwKuvgLstB kCxg== X-Gm-Message-State: AIkVDXJCzu3Ho+KjRUUzUqCVW/FPPJP9W7EjC1uH95oxLLTeIVZvEikOXC2sQ+xRvjyYW2SX X-Received: by 10.99.55.94 with SMTP id g30mr32604587pgn.103.1483995334940; Mon, 09 Jan 2017 12:55:34 -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 m67sm34037957pfc.64.2017.01.09.12.55.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Jan 2017 12:55:34 -0800 (PST) From: Kevin Hilman To: Sekhar Nori Subject: [PATCH v2 2/6] ARM: dts: davinci: da850-evm: enable VPIF Date: Mon, 9 Jan 2017 12:55:27 -0800 Message-Id: <20170109205531.3435-3-khilman@baylibre.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170109205531.3435-1-khilman@baylibre.com> References: <20170109205531.3435-1-khilman@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170109_125556_817874_138C6669 X-CRM114-Status: UNSURE ( 8.70 ) X-CRM114-Notice: Please train this message. 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: David Lechner , Axel Haslam , Fabien Parent , =?UTF-8?q?Bartosz=20Go=C5=82aszewski?= , Alexandre Bailon , Patrick Titiano , 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 VPIF node for video capture, and configure ports. EVM board uses channel 0 for composite input and channel 1 S-Video input. Signed-off-by: Kevin Hilman --- arch/arm/boot/dts/da850-evm.dts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/da850-evm.dts b/arch/arm/boot/dts/da850-evm.dts index 41de15fe15a2..cea36ee6fd07 100644 --- a/arch/arm/boot/dts/da850-evm.dts +++ b/arch/arm/boot/dts/da850-evm.dts @@ -289,3 +289,23 @@ }; }; }; + +&vpif { + pinctrl-names = "default"; + pinctrl-0 = <&vpif_capture_pins>; + status = "okay"; + + /* VPIF capture port */ + port { + vpif_ch0: endpoint@0 { + reg = <0>; + bus-width = <8>; + }; + + vpif_ch1: endpoint@1 { + reg = <1>; + bus-width = <8>; + data-shift = <8>; + }; + }; +};