From patchwork Thu Feb 16 18:15:30 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 9578035 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 EF797600C5 for ; Thu, 16 Feb 2017 18:28:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E1CB1284D1 for ; Thu, 16 Feb 2017 18:28:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D675B28636; Thu, 16 Feb 2017 18:28: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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham 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 5EF96284D1 for ; Thu, 16 Feb 2017 18:28:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=jXMlCHLG5xBpOutlDNCnm+hP1ZTVUEaMJhvBaPYv3is=; b=SvJSRLPlDU/Zef0+usZO0Oa8bQ vCAGRUOHhypGBnhn7aJd3cJi66+PcUGsGDiCEm5GM80Acc6wer7Pwwu6e2pFIsRPinlI/8dHwAqoT oAPbdgFEloPH84yKJY40gv9eQLn0pVXW5DdXbNJ+Etbmi4mTEYw9q6wk1+Rq4kY31AKM7i4QBJ+Kf c9iuDHyqphgnKSEicGfAjnzIN6QW2R/lhK8yN5W1leGwCuhxxoRYE29ekE+WaClBbFsIgJDOcDxXr /+874Tgj+Eju1yglbBqL6ZggwN5UHXhvng+Z8pLmQnhckC+cZilUurdmdFH/XTKtaS0fAFAHLltl9 OR85n/Pg==; 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 1ceQmY-0006aP-79; Thu, 16 Feb 2017 18:27:54 +0000 Received: from mail-wr0-x22c.google.com ([2a00:1450:400c:c0c::22c]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1ceQb2-00078Q-EW for linux-arm-kernel@lists.infradead.org; Thu, 16 Feb 2017 18:16:07 +0000 Received: by mail-wr0-x22c.google.com with SMTP id 89so12829708wrr.3 for ; Thu, 16 Feb 2017 10:15:40 -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=oqpJjoOM6DVt2Y5wovhA/8SJ5UG2Nw79pBf7IrZvBe0=; b=lTBENipOE57RCX86RlPZb1t8qAxGeCEC0N+Nlst59ie4sQF9555SuJ1/j/hQi1lEtA Q1nrhxu0F/NcEM7siPSImes/OVxgUpAL4cxFWOAeBRn62zMKn0I0M8P7CKS9TcfJ9ulp pqD0oFdi9Gi+jC49nyeU05Z25ZF0q/lnW5lzRudHuO1P3yfQlZqM9OdLftk50oqGCE6n XCiV/zl21WULkwp25VM0JABt0Zjblf9+iNTMganWZIKcRTSuxGVdnA3PcpAcUQ9e6YIl wOaZTp44kpuc+E7FUWjW7KBWqrWK2l+Gt1gRwYnErTK/TX2Qh+pdbrYH5qfA0fyrfGZ7 PvoA== 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=oqpJjoOM6DVt2Y5wovhA/8SJ5UG2Nw79pBf7IrZvBe0=; b=dDH2GWCJG4HEDaBOBzBfrbQejJKjQhfRA/IcgWTtd+2ElZbU5+AqiiyxQA8yYr2wWp AVyrxpnsaIQj3SZlP+/dQtMBc5HyFSyYyqTueebWfNDmxq0ZUJFAq7zly/EGszKDfdgr ij4GDe9ZLAkgnKisO+ULU13srqx5ZMD8qudAYU9/70PW4W9mtz+q5Li+YUfT52SRjv7z cO3E1VXmkSnapeH/+RdA8hwwpExhbRBmKWChL6XYNyPPIOU47oQsQJx0YVkJ9FnCAgVt x3yesvpBx1ymjBOIw3xGkKyZt1/i+0tCUm4SnaO3130UJER1S592O19QZKfDL5vahkEi T/Rw== X-Gm-Message-State: AMke39nhaYxopwQL3gEnQEiLMUYfQR/MEXAjIvRr5XFBUGqhvjtpjGxQmS/0YYEvr5TUjWBK X-Received: by 10.223.163.142 with SMTP id l14mr1165718wrb.35.1487268938755; Thu, 16 Feb 2017 10:15:38 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id q4sm9912983wrc.35.2017.02.16.10.15.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 16 Feb 2017 10:15:38 -0800 (PST) From: Bartosz Golaszewski To: Sekhar Nori , David Lechner , Kevin Hilman , Michael Turquette , Patrick Titiano , Laurent Pinchart , Rob Herring , Mark Rutland , Russell King Subject: [PATCH 2/4] ARM: dts: da850: add vpif video display pins Date: Thu, 16 Feb 2017 19:15:30 +0100 Message-Id: <1487268932-6469-3-git-send-email-bgolaszewski@baylibre.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1487268932-6469-1-git-send-email-bgolaszewski@baylibre.com> References: <1487268932-6469-1-git-send-email-bgolaszewski@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170216_101600_742139_D8E523EE X-CRM114-Status: GOOD ( 12.09 ) 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, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Bartosz Golaszewski 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 dece981..14f6f8ea 100644 --- a/arch/arm/boot/dts/da850-evm.dts +++ b/arch/arm/boot/dts/da850-evm.dts @@ -296,7 +296,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 92d633d..5150331 100644 --- a/arch/arm/boot/dts/da850.dtsi +++ b/arch/arm/boot/dts/da850.dtsi @@ -216,8 +216,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 >; }; };