From patchwork Mon Jan 9 20:55:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Hilman X-Patchwork-Id: 9505955 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 CEAEC6071A for ; Mon, 9 Jan 2017 20:56:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B6BF5284DA for ; Mon, 9 Jan 2017 20:56:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AB52628520; Mon, 9 Jan 2017 20:56:02 +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 85C9E284DA for ; Mon, 9 Jan 2017 20:56:01 +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 1cQgz0-00057Q-Rd; Mon, 09 Jan 2017 20:55:58 +0000 Received: from mail-pf0-x233.google.com ([2607:f8b0:400e:c00::233]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cQgyw-000510-Ac for linux-arm-kernel@lists.infradead.org; Mon, 09 Jan 2017 20:55:56 +0000 Received: by mail-pf0-x233.google.com with SMTP id y143so12674406pfb.0 for ; Mon, 09 Jan 2017 12:55:33 -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=O+N/ixU3zDfeevDm+eS21jWUbkBJzFoEr7iarLHtOs8=; b=wzvouMRJz4Ogid4ZQRrpEbo50/2hXy2sKCc5dWdg1GitOgzxb4PfJBnBmE7+FTmnBx KfwF0Ff6es4+oG+dJzP0Rt4GhKjedprf80NtYiU7YjbvYiR7PSh8tUmLxgnRiLh3tQkG q3jiA26ToxKT7EKtNoyO57D//yybq200vM9fbSsG1I/9ICFttH6v8wU++AoAui+nT1kN EqPJtJY6joYaOXgn748RbHL4scXL/c68x6h2evxGRloxf1UYSIzazHs+slUvmNyevT+Y JDDlzRV/qVsA2YiHieYZu1Pf6oPqylH4u16iaMdAwRn60wqs8Bo63DjKJ20jx5KrKT7k 1CcA== 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=O+N/ixU3zDfeevDm+eS21jWUbkBJzFoEr7iarLHtOs8=; b=CVxzrf7TY+UUJ//fPSG13/wCwTTu1xUaBjbx10GAgUaWn5daKP4Nky0qAQ6Pffi35o yodHBztHVI+17FXPtOV6iBKr/ThS7qKDMh0bTXEKGXvoObAOXzncp+Jv0VRN+G0KCXup hWIBFnSgoR8Nee9dnVoUcSb9/a3/Rc7fbAvvs8vfqxSzCbZTJhBQPGBaye1DKJiF37ID Z4My4SxpcUBOUFxbZLORw+nVegknw07sHvHvQQptxwNCoA9vwbAGZnC9wg3YDx/8HzNF IqTZ9wvrn0dB9L6+I8Mz8SCMAPvrSUvzmU19jKD6fd3UywFiSPbxihBAVuFf8E+mXdAU +C3g== X-Gm-Message-State: AIkVDXKbGrclw6gz5eUoJYmkwsCT3KiS3yo9XoukxMCX9wSGlBVvP6sF4N2BzhO+wcfXIVCi X-Received: by 10.98.217.88 with SMTP id s85mr14028893pfg.167.1483995333374; Mon, 09 Jan 2017 12:55:33 -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 n25sm181513321pfi.33.2017.01.09.12.55.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Jan 2017 12:55:32 -0800 (PST) From: Kevin Hilman To: Sekhar Nori Subject: [PATCH v2 1/6] ARM: dts: davinci: da850: VPIF: add node and muxing Date: Mon, 9 Jan 2017 12:55:26 -0800 Message-Id: <20170109205531.3435-2-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_125554_434810_E996B38E X-CRM114-Status: GOOD ( 10.29 ) 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 Add VPIF node an pins to da850 SoC. VPIF has two input channels which can be described using the standard DT ports and enpoints. Signed-off-by: Kevin Hilman --- arch/arm/boot/dts/da850.dtsi | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi index 104155d12c2f..edab8bb92ec5 100644 --- a/arch/arm/boot/dts/da850.dtsi +++ b/arch/arm/boot/dts/da850.dtsi @@ -208,7 +208,18 @@ 0x4c 0x02000022 0x0f0000ff >; }; - + vpif_capture_pins: vpif_capture_pins { + pinctrl-single,bits = < + /* VP_DIN[2..7], VP_CLKIN1, VP_CLKIN0 */ + 0x38 0x11111111 0xffffffff + /* VP_DIN[10..15,0..1] */ + 0x3c 0x11111111 0xffffffff + /* VP_DIN[8..9] */ + 0x40 0x00000011 0x000000ff + /* VP_CLKIN3, VP_CLKIN2 */ + 0x4c 0x00010100 0x000f0f00 + >; + }; }; prictrl: priority-controller@14110 { compatible = "ti,da850-mstpri"; @@ -324,6 +335,18 @@ dma-names = "rx", "tx"; status = "disabled"; }; + vpif: video@217000 { + compatible = "ti,da850-vpif"; + reg = <0x217000 0x1000>; + interrupts = <92>; + status = "disabled"; + + /* VPIF capture port */ + port { + #address-cells = <1>; + #size-cells = <0>; + }; + }; mmc1: mmc@21b000 { compatible = "ti,da830-mmc"; reg = <0x21b000 0x1000>; @@ -465,6 +488,7 @@ status = "disabled"; }; }; + aemif: aemif@68000000 { compatible = "ti,da850-aemif"; #address-cells = <2>;