From patchwork Mon Nov 24 13:06:21 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vivek Gautam X-Patchwork-Id: 5365981 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id D8972C11AC for ; Mon, 24 Nov 2014 13:14:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 469B4203E5 for ; Mon, 24 Nov 2014 13:14:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4B243203DF for ; Mon, 24 Nov 2014 13:14:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753673AbaKXNNw (ORCPT ); Mon, 24 Nov 2014 08:13:52 -0500 Received: from mailout4.samsung.com ([203.254.224.34]:13607 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753599AbaKXNNf (ORCPT ); Mon, 24 Nov 2014 08:13:35 -0500 Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NFJ00L5IOQLTU00@mailout4.samsung.com>; Mon, 24 Nov 2014 22:13:33 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.123]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id F4.DB.19034.DFE23745; Mon, 24 Nov 2014 22:13:33 +0900 (KST) X-AuditID: cbfee691-f79b86d000004a5a-48-54732efdc26d Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id DC.B5.20081.DFE23745; Mon, 24 Nov 2014 22:13:33 +0900 (KST) Received: from chromebld-server.sisodomain.com ([107.108.73.106]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NFJ00L1GOOUO360@mmp1.samsung.com>; Mon, 24 Nov 2014 22:13:33 +0900 (KST) From: Vivek Gautam To: linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-usb@vger.kernel.org, devicetree@vger.kernel.org Cc: tomasz.figa@gmail.com, s.nawrocki@samsung.com, robh+dt@kernel.org, linus.walleij@linaro.org, kgene@kernel.org, alim.akhtar@samsung.com, Vivek Gautam Subject: [PATCH V2 2/2] arm64: exynos: Add bus1 pinctrl node on exynos7 Date: Mon, 24 Nov 2014 18:36:21 +0530 Message-id: <1416834381-11314-1-git-send-email-gautam.vivek@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: References: X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrPLMWRmVeSWpSXmKPExsWyRsSkWvevXnGIwfcLOhYP5m1js5h/5Byr RduVg+wW/Y9fM1tM+bOcyeLyrjlsFjPO72OyWLSsldmide8RdovDb9pZLVbt+sPowO2xc9Zd do9NqzrZPO5c28Pm0bdlFaPH501yAaxRXDYpqTmZZalF+nYJXBnnT71gKTgpXrF95nSWBsZz Ql2MHBwSAiYSC1e5dzFyApliEhfurWfrYuTiEBJYyijxcvdPZoiEicSjvhOMEIlFjBJXrqxl gnAmMEl0LHnGAlLFJqAr0fR2FyOILSJQIzHl1hV2kCJmge2MEut2XWYCSQgLuEtMXbAYrIhF QFWi4dUcVhCbV8BD4tvEp4wQJylIzJlkAxLmFAiWeDF3AxuILSQQIHH82S4WkJkSAvvYJV48 vcwCMUdA4tvkQywQvbISmw5AXS0pcXDFDZYJjMILGBlWMYqmFiQXFCelF5nqFSfmFpfmpesl 5+duYgTGw+l/zybuYLx/wPoQowAHoxIP74z1RSFCrIllxZW5hxhNgTZ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zyYfq1Xvj5t+ 8xZjpIq3+aG928P8WOdrNwo9CT7N6zF9x6FAS6GJUzXZ49QuRPxg8fIJE71qov3p0/y1Oq0z xea13fVSYinOSDTUYi4qTgQA5pC8IM0CAAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP BUS1 pinctrl provides gpios for usb and power regulator available on exynos7-espresso board. So add relevant device node for pinctrl-bus1. Signed-off-by: Naveen Krishna Ch Signed-off-by: Vivek Gautam Reviewed-by: Alim Akhtar --- This patch was part of series: "[PATCH 00/11] Exynos7: Adding USB 3.0 support" https://lkml.org/lkml/2014/11/21/247 Changes since V1: - Added support for all pin banks which are part of BUS1 pin controller. arch/arm64/boot/dts/exynos/exynos7-pinctrl.dtsi | 82 +++++++++++++++++++++++ arch/arm64/boot/dts/exynos/exynos7.dtsi | 7 ++ 2 files changed, 89 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos7-pinctrl.dtsi b/arch/arm64/boot/dts/exynos/exynos7-pinctrl.dtsi index 2eef4a2..c367f0a 100644 --- a/arch/arm64/boot/dts/exynos/exynos7-pinctrl.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos7-pinctrl.dtsi @@ -335,6 +335,88 @@ }; }; +&pinctrl_bus1 { + gpf0: gpf0 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpf1: gpf1 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpf2: gpf2 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpf3: gpf3 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpf4: gpf4 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpf5: gpf5 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpg1: gpg1 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpg2: gpg2 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gph1: gph1 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpv6: gpv6 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; +}; + &pinctrl_nfc { gpj0: gpj0 { gpio-controller; diff --git a/arch/arm64/boot/dts/exynos/exynos7.dtsi b/arch/arm64/boot/dts/exynos/exynos7.dtsi index 1d9e4c9..e633b02 100644 --- a/arch/arm64/boot/dts/exynos/exynos7.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos7.dtsi @@ -26,6 +26,7 @@ pinctrl5 = &pinctrl_ese; pinctrl6 = &pinctrl_fsys0; pinctrl7 = &pinctrl_fsys1; + pinctrl8 = &pinctrl_bus1; }; cpus { @@ -242,6 +243,12 @@ interrupts = <0 383 0>; }; + pinctrl_bus1: pinctrl@14870000 { + compatible = "samsung,exynos7-pinctrl"; + reg = <0x14870000 0x1000>; + interrupts = <0 384 0>; + }; + pinctrl_nfc: pinctrl@14cd0000 { compatible = "samsung,exynos7-pinctrl"; reg = <0x14cd0000 0x1000>;