From patchwork Tue Oct 25 23:55:33 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Hilman X-Patchwork-Id: 9395735 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 3EAC660233 for ; Tue, 25 Oct 2016 23:57:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EB4A1296A4 for ; Tue, 25 Oct 2016 23:57:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DFDBD296A7; Tue, 25 Oct 2016 23:57:40 +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 6A6DB296A4 for ; Tue, 25 Oct 2016 23:57:40 +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 1bzBZu-00022b-1u; Tue, 25 Oct 2016 23:56:22 +0000 Received: from mail-pf0-x230.google.com ([2607:f8b0:400e:c00::230]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bzBZX-0001kg-2a for linux-arm-kernel@lists.infradead.org; Tue, 25 Oct 2016 23:56:01 +0000 Received: by mail-pf0-x230.google.com with SMTP id s8so127627761pfj.2 for ; Tue, 25 Oct 2016 16:55:40 -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=UUGIe/VSSO83THYmkKN/Po/NkbqQQw4irdho1k2SbP8=; b=kCcAXMIPU4eraan03R6KWeX/ik6TECnpbBl3bfLEuwQplUfdgCuVkfKj0SBqWsDPs6 V2HvJqJMI5dQSAGpQOoz0817bKQLSkjVqpNdq+tPztqE1x/alpmf5JOCC+mYUyESDSDM yIUV1m1HMeJY8hz8CPfC15amvS4vgHYdsZozCoM4LIiwQvgGUwvIO4BiL/dV2zLpnXX7 bXAeNnsWQk0mb3XGOr+TbwcyysyxxIkUzxLk4LJOPO4SR2m2iR+xziC+yHa7K52kQhEp Dk7twNMKjrLFgy7s/eeK9FxLkMccxDpSYknWP7X2rNglrK4H8aHbU8ka7kZp0KNJE/Km dnuQ== 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=UUGIe/VSSO83THYmkKN/Po/NkbqQQw4irdho1k2SbP8=; b=Egx9RXPRATL6xKvCmnJSTLokaNOdZUwlx9uiOur8Frppclq9eR92eCKQ+ndbJezMg/ ycKhTXWsUebqfg/K0dKdaqdKDQ2xleSxdl6ZML+mqPMiEBHUH6RiVwSQjwOb5XkkCEWc KyrL1Q5F39CvmdZzF3/pM9an1dtAXS6VLbYNMXP4j9TOy8EyT/xqyjXsusV5Orv7tU1E hFShoEZh+w8CeeecGwfPnBkXhcoU2LRWQvVaI2ky88YaZAND9eq+sj/aH3R9rWN6nl8j 5Mjkrnr6rw5inJaHwI06B98a2FIkG4DG40w70R4EUCwM2McO5+eHz2xqUbs5+xNmEw2Y SRrA== X-Gm-Message-State: ABUngvfGZHoYvQhTedFF9vlEwwEqpOVzM26dKa7cZcjyqGom/ofaKO7Pox+c5bj1VJCDX1dZ X-Received: by 10.99.144.65 with SMTP id a62mr13692066pge.103.1477439740524; Tue, 25 Oct 2016 16:55:40 -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 dj3sm35985025pad.1.2016.10.25.16.55.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Oct 2016 16:55:40 -0700 (PDT) From: Kevin Hilman To: Hans Verkuil , Laurent Pinchart , linux-media@vger.kernel.org Subject: [RFC PATCH 3/6] ARM: dts: davinci: da850: add VPIF Date: Tue, 25 Oct 2016 16:55:33 -0700 Message-Id: <20161025235536.7342-4-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_165559_312141_8374E23F X-CRM114-Status: GOOD ( 10.11 ) 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 Add VPIF and VPIF capture nodes to da850. Note that these are separate nodes because the current media drivers have two separate drivers for vpif and vpif_capture. Signed-off-by: Kevin Hilman --- arch/arm/boot/dts/da850.dtsi | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi index f79e1b91c680..62c5b3e65071 100644 --- a/arch/arm/boot/dts/da850.dtsi +++ b/arch/arm/boot/dts/da850.dtsi @@ -399,7 +399,35 @@ <&edma0 0 1>; dma-names = "tx", "rx"; }; + + vpif: video@0x00217000 { + compatible = "ti,vpif"; + reg = <0x00217000 0x1000>; + status = "disabled"; + }; + + vpif_capture: video-capture@0x00217000 { + compatible = "ti,vpif-capture"; + reg = <0x00217000 0x1000>; + interrupts = <92>; + status = "disabled"; + + /* VPIF capture: input channels */ + port { + vpif_ch0: endpoint@0 { + reg = <0>; + bus-width = <8>; + }; + + vpif_ch1: endpoint@1 { + reg = <1>; + bus-width = <8>; + data-shift = <8>; + }; + }; + }; }; + aemif: aemif@68000000 { compatible = "ti,da850-aemif"; #address-cells = <2>;