From patchwork Fri Nov 21 13:35:44 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vivek Gautam X-Patchwork-Id: 5354851 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id A2BE39F2F1 for ; Fri, 21 Nov 2014 13:44:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E310C20160 for ; Fri, 21 Nov 2014 13:44:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0D09C2015D for ; Fri, 21 Nov 2014 13:44:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758368AbaKUNo1 (ORCPT ); Fri, 21 Nov 2014 08:44:27 -0500 Received: from mailout2.samsung.com ([203.254.224.25]:14841 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755540AbaKUNoZ (ORCPT ); Fri, 21 Nov 2014 08:44:25 -0500 Received: from epcpsbgr4.samsung.com (u144.gpu120.samsung.co.kr [203.254.230.144]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NFE00GRI65ZBS50@mailout2.samsung.com>; Fri, 21 Nov 2014 22:44:23 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.122]) by epcpsbgr4.samsung.com (EPCPMTA) with SMTP id 9B.A7.18167.6B14F645; Fri, 21 Nov 2014 22:44:22 +0900 (KST) X-AuditID: cbfee690-f79ab6d0000046f7-41-546f41b699ee Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 29.07.20081.6B14F645; Fri, 21 Nov 2014 22:44:22 +0900 (KST) Received: from chromebld-server.sisodomain.com ([107.108.73.106]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NFE0066D61YU010@mmp2.samsung.com>; Fri, 21 Nov 2014 22:44:22 +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, balbi@ti.com, kishon@ti.com Cc: linux-omap@vger.kernel.org, gregkh@linuxfoundation.org, tomasz.figa@gmail.com, s.nawrocki@samsung.com, robh+dt@kernel.org, stern@rowland.harvard.edu, kgene.kim@samsung.com, Vivek Gautam , Linus Walleij Subject: [PATCH 01/11] pinctrl: exynos: Add BUS1 pin controller for exynos7 Date: Fri, 21 Nov 2014 19:05:44 +0530 Message-id: <1416576954-11997-2-git-send-email-gautam.vivek@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1416576954-11997-1-git-send-email-gautam.vivek@samsung.com> References: <1416576954-11997-1-git-send-email-gautam.vivek@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprIIsWRmVeSWpSXmKPExsWyRsSkSnebY36Iwak/NhYH79dbzD9yjtWi 7cpBdovmxevZLHoXXGWzuPC0h81iyp/lTBaXd81hs5i9pJ/FYsb5fUwWi5a1Mlu07j3CbnH4 TTurxYTfF9gsVu36w+jA77Fz1l12j02rOtk87lzbw+axf+4ado/Zd38wevRtWcXocfzGdiaP z5vkAjiiuGxSUnMyy1KL9O0SuDLau26zF9ziqbg18xlLA+NTri5GTg4JAROJYy8a2CBsMYkL 99YD2VwcQgJLGSVeTFnNClPUdH4jC4gtJDCdUeLudKiiCUwSE2eeYwJJsAnoSjS93cUIYosI zGaUaDsoBFLELNDFJPFu6SGwFcIC3hIXlv1kBrFZBFQlencsB2vgFfCQOPD7HVANB9A2BYk5 k2xAwpwCnhIt6y8z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IU4GBU4uH9MD0vRIg1say4MvcQowQHs5IIb7lwfogQb0piZVVq UX58UWlOavEhRlOgoyYyS4km5wOTSV5JvKGxibmpsamliYWJmaWSOO+Nm7khQgLpiSWp2amp BalFMH1MHJxSDYxOq8wuZgkvrt7GZmXh27PdUCjBT8dVUMfHxuVRQJgom5xsZXa12tbol5UT fD5Ps/M9L52c8rYt/nXl9F+3eDVfOB+dGdXcvq0gXsn7addkxl0LzygaXjcvcrrZ80Q6XbZ1 6hJt/qz+j0lJlSUvTMMDTvdOs34W8LcwborZnc93nq1f2j1JQImlOCPRUIu5qDgRAEWSpwnu AgAA 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 USB and Power regulator on Exynos7 require gpios available in BUS1 pin controller block. So adding the BUS1 pinctrl support. Signed-off-by: Naveen Krishna Ch Signed-off-by: Vivek Gautam Cc: Linus Walleij --- drivers/pinctrl/samsung/pinctrl-exynos.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/drivers/pinctrl/samsung/pinctrl-exynos.c b/drivers/pinctrl/samsung/pinctrl-exynos.c index d5d4cfc..caca5b5 100644 --- a/drivers/pinctrl/samsung/pinctrl-exynos.c +++ b/drivers/pinctrl/samsung/pinctrl-exynos.c @@ -1300,6 +1300,13 @@ static const struct samsung_pin_bank_data exynos7_pin_banks7[] __initconst = { EXYNOS_PIN_BANK_EINTG(8, 0x060, "gpr3", 0x0c), }; +/* pin banks of exynos7 pin-controller - BUS1 */ +static const struct samsung_pin_bank_data exynos7_pin_banks8[] __initconst = { + EXYNOS_PIN_BANK_EINTG(8, 0x020, "gpf0", 0x00), + EXYNOS_PIN_BANK_EINTG(8, 0x0a0, "gpf4", 0x10), + EXYNOS_PIN_BANK_EINTG(6, 0x120, "gph1", 0x20), +}; + const struct samsung_pin_ctrl exynos7_pin_ctrl[] __initconst = { { /* pin-controller instance 0 Alive data */ @@ -1342,5 +1349,10 @@ const struct samsung_pin_ctrl exynos7_pin_ctrl[] __initconst = { .pin_banks = exynos7_pin_banks7, .nr_banks = ARRAY_SIZE(exynos7_pin_banks7), .eint_gpio_init = exynos_eint_gpio_init, + }, { + /* pin-controller instance 8 BUS1 data */ + .pin_banks = exynos7_pin_banks8, + .nr_banks = ARRAY_SIZE(exynos7_pin_banks8), + .eint_gpio_init = exynos_eint_gpio_init, }, };