From patchwork Tue Feb 7 16:41:18 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 9560637 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 A7A8960434 for ; Tue, 7 Feb 2017 16:48:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 99F4F28415 for ; Tue, 7 Feb 2017 16:48:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8EB0528423; Tue, 7 Feb 2017 16:48:05 +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=-1.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_SORBS_SPAM,T_DKIM_INVALID autolearn=no version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2486728415 for ; Tue, 7 Feb 2017 16:48:05 +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 1cb8vz-0004oB-Dn; Tue, 07 Feb 2017 16:48:03 +0000 Received: from mail-wm0-f44.google.com ([74.125.82.44]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cb8rJ-00029d-Dy for linux-arm-kernel@lists.infradead.org; Tue, 07 Feb 2017 16:43:23 +0000 Received: by mail-wm0-f44.google.com with SMTP id v77so162575437wmv.0 for ; Tue, 07 Feb 2017 08:42:53 -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; bh=94Z1Piq2O6C8ynR71bxPiCkanPuKdBFF0LzMmmvdTDQ=; b=TbS9cscmRoCFCll1ibLIfv8bC1WxHVIwVgb/6Tk80pfYYACTWUJElyc1chjrSmUaXZ v2WDyiL4QDyn/Jz25B2WIciBsFlGkdgsYkJxdC6tRdZS++xwTRAP1pMAC3Rxp+0TX9Do Dvw9frFw/O5S1ISs2Cy/ZIC468h1AW65WUyhU1hUQcYkuX+qiIeTOe9lCb3S1iM/kskz dGggTvi6HMRStYbgFxSXFsuO4skt50GiBeLYvGr1eK/AV54Zx1HkmULoFaTWUfDRGoXA +p7B2pKFuPzS54uNL1apDRv02+2EgE2uoYEYmoIJQUF6lPHOI/c1Y4WblF11Bltn3qqz Xo0w== 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; bh=94Z1Piq2O6C8ynR71bxPiCkanPuKdBFF0LzMmmvdTDQ=; b=LGYV7j5jsMDzs1AvWPsrMtPStmQm6EvxicELZVhISPdXK2mNI1IEAJ32YySTrHwW04 YQyoUw60HwU5KViqBYGvICMSbnrwfWX6Jo+XUexhNT9SAziRrnsYjJBy/WRP4wI1dpDN fe4nihSvrxQCdGyfk8EcrNIZE+BVWTqN3CUF1vdTeJtYvJ8CUJXnmRDUNAEKx4mPiCva zZX60vrq2R3CZgXzsmTBg4vSMl9hRvJjYM2/GGTCNIJFlWt1a7ENP2VDkW8AtqfN7iuh WxqAPV71KvEk8GoOdXAZINBlvZPx+XvYwCzoFqMkFQTiVw6piAv417MzwBovtzgt0xFi hSPQ== X-Gm-Message-State: AMke39lz/ADeo9NKPMDj0M7P41YxVsMv+3s3oY+tgP0gshuLynPTjfWAX1P7o8PIp9NTp+NB X-Received: by 10.28.69.17 with SMTP id s17mr14620991wma.60.1486485711516; Tue, 07 Feb 2017 08:41:51 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id 8sm3958185wmg.1.2017.02.07.08.41.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 07 Feb 2017 08:41:50 -0800 (PST) From: Bartosz Golaszewski To: Kevin Hilman , Sekhar Nori , Patrick Titiano , Michael Turquette , Rob Herring , Mark Rutland , Russell King , Alexandre Bailon , David Lechner , Laurent Pinchart , Mauro Carvalho Chehab , Lad Prabhakar Subject: [PATCH 05/10] ARM: dts: da850: add vpif video display pins Date: Tue, 7 Feb 2017 17:41:18 +0100 Message-Id: <1486485683-11427-6-git-send-email-bgolaszewski@baylibre.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1486485683-11427-1-git-send-email-bgolaszewski@baylibre.com> References: <1486485683-11427-1-git-send-email-bgolaszewski@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170207_084313_810687_60541A04 X-CRM114-Status: GOOD ( 12.22 ) 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: devicetree@vger.kernel.org, Bartosz Golaszewski , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org MIME-Version: 1.0 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 a new pinctrl sub-node for vpif display pins. Move VP_CLKIN3 and VP_CLKIN2 to the display node where they actually belong (vide section 35.2.2 of the da850 datasheet). Signed-off-by: Bartosz Golaszewski --- arch/arm/boot/dts/da850-evm.dts | 2 +- arch/arm/boot/dts/da850.dtsi | 17 +++++++++++++++-- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/da850-evm.dts b/arch/arm/boot/dts/da850-evm.dts index 3d6dd66..6db16ba 100644 --- a/arch/arm/boot/dts/da850-evm.dts +++ b/arch/arm/boot/dts/da850-evm.dts @@ -295,7 +295,7 @@ &vpif { pinctrl-names = "default"; - pinctrl-0 = <&vpif_capture_pins>; + pinctrl-0 = <&vpif_capture_pins>, <&vpif_display_pins>; status = "okay"; /* VPIF capture port */ diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi index 768a58c..d317bc5 100644 --- a/arch/arm/boot/dts/da850.dtsi +++ b/arch/arm/boot/dts/da850.dtsi @@ -218,8 +218,21 @@ 0x3c 0x11111111 0xffffffff /* VP_DIN[8..9] */ 0x40 0x00000011 0x000000ff - /* VP_CLKIN3, VP_CLKIN2 */ - 0x4c 0x00010100 0x000f0f00 + >; + }; + vpif_display_pins: vpif_display_pins { + pinctrl-single,bits = < + /* VP_DOUT[2..7] */ + 0x40 0x11111100 0xffffff00 + /* VP_DOUT[10..15,0..1] */ + 0x44 0x11111111 0xffffffff + /* VP_DOUT[8..9] */ + 0x48 0x00000011 0x000000ff + /* + * VP_CLKOUT3, VP_CLKIN3, + * VP_CLKOUT2, VP_CLKIN2 + */ + 0x4c 0x00111100 0x00ffff00 >; }; };