From patchwork Fri Jun 19 19:59:10 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adrian Alonso X-Patchwork-Id: 6647251 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 2CD37C05AC for ; Fri, 19 Jun 2015 20:04:07 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4A54B20738 for ; Fri, 19 Jun 2015 20:04:06 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6B78D20735 for ; Fri, 19 Jun 2015 20:04:05 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Z62TH-000300-7c; Fri, 19 Jun 2015 20:01:03 +0000 Received: from mail-bn1on0116.outbound.protection.outlook.com ([157.56.110.116] helo=na01-bn1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Z62Sv-0002vz-Im for linux-arm-kernel@lists.infradead.org; Fri, 19 Jun 2015 20:00:42 +0000 Received: from BLUPR0301CA0004.namprd03.prod.outlook.com (10.162.113.142) by CY1PR0301MB1641.namprd03.prod.outlook.com (10.162.166.139) with Microsoft SMTP Server (TLS) id 15.1.195.15; Fri, 19 Jun 2015 20:00:16 +0000 Received: from BN1AFFO11FD009.protection.gbl (2a01:111:f400:7c10::181) by BLUPR0301CA0004.outlook.office365.com (2a01:111:e400:5259::14) with Microsoft SMTP Server (TLS) id 15.1.195.15 via Frontend Transport; Fri, 19 Jun 2015 20:00:16 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=freescale.com; freescale.mail.onmicrosoft.com; dkim=none (message not signed) header.d=none; Received-SPF: Fail (protection.outlook.com: domain of freescale.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BN1AFFO11FD009.mail.protection.outlook.com (10.58.52.69) with Microsoft SMTP Server (TLS) id 15.1.190.9 via Frontend Transport; Fri, 19 Jun 2015 20:00:11 +0000 Received: from bluefly.am.freescale.net (bluefly.am.freescale.net [10.81.17.104]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id t5JK06PL002345; Fri, 19 Jun 2015 13:00:09 -0700 From: Adrian Alonso To: , , , , Subject: [PATCH 4/4] ARM: imx: pinctrl-imx7d: add iomuxc-lpsr gpio group ids Date: Fri, 19 Jun 2015 14:59:10 -0500 Message-ID: <1434743950-7771-4-git-send-email-aalonso@freescale.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1434743950-7771-1-git-send-email-aalonso@freescale.com> References: <1434743950-7771-1-git-send-email-aalonso@freescale.com> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD009; 1:LUaylqxBu0OBPMVSE21P83bYxyvG1wTvrz0NYgYlRZ6KvfhuggEq3EfyAviSoyMs+4wf36pxSi2ckUnTKhNkmfCTLsQLn2gD/W3OlGZFHYXkP955mH/uRde7k+zJX0OiKLlHLf3kQNxwpNxM+lIKJYHFkEftS4joVslKbuYa44UkRZVZ3ty9+av9yFNdvlNPiKKtRDO3CVUxrA57kAbsqJy2amew+ACmvfZW5cQdyqia+ZBbPGn5vWO8USjKqif3Y3lWqSoWQeq52M82bSNY0eLl43Em5nFqYlqTimgg1mWWioUNYqEdR7GYdKjkehBCV8vRKPCbkKz055byQaeCCbu9MzCtFTM1GOKvRBlHbqs= X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(339900001)(199003)(189002)(107886002)(6806004)(33646002)(2950100001)(46102003)(104016003)(77096005)(50226001)(85426001)(19580405001)(19580395003)(5001960100002)(229853001)(2201001)(105606002)(86362001)(106466001)(87936001)(189998001)(47776003)(62966003)(77156002)(5001770100001)(50466002)(48376002)(50986999)(76176999)(36756003)(92566002)(2101003)(4001430100001); DIR:OUT; SFP:1102; SCL:1; SRVR:CY1PR0301MB1641; H:az84smr01.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; A:1; MX:1; PTR:InfoDomainNonexistent; LANG:; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB1641; 2:zcNPdhAAT5vIjW53Xf6z3LcHabwuyZ3gWbF76xlsQ+Ri3LeLgd9ZD1We9paW1NSr; 3:tN/afJni24tq0Q3w4K698MTSHy1WL+0BEKYTjx+amvSLgG+iFV+1NW+n3VHiBeREtj9xUmOlo6PEaiU6ZXzcUSLi0vhytqhrpzYlw9HFAV3tCgriVEiBtltoGiPaMEA+0IdvXY7DiblX/NBhRdiJs0fHoLnFaEJURhkcyesknSHuEAgt0xw2kzFy0+6eNLwkHlyB7DMRRFmGvxP8JoxhUK+5TDWv7DIINFoAXMO3zhw=; 20:xg2+ApBprr3oPcF6gDbr2zY/ANAETgMUCK9/2gqHGywTot6IGFTuXXFZgjb4j9BAuBUfXYR/0MdGx0IFklk6ARQAMJyZFhDVtGDhr2KJPoRSWTSHDbAYn3FmTCXvYXc4bGOv6gwx4nEK8WwmdmrQA0PVJICSOtVnkP1VK/gu106BxjwTn2lInGHhBPw5hpZ4y0zDGz80Gjh2BlfRzbGF7wFhoSNAcTOVKXsLco1Xf14b2N24U4DLbYoNt9aqcnruAs3K174IQ28QyRuMzUzgZTT91UGZPDYbezZJsE+utnRtnYrnHg0EkVDQ62GMHu4c3uD43WHQqQNZmxvbwkgCqv2A1o6d03at8pRHOn4LhiA= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR0301MB1641; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(3002001); SRVR:CY1PR0301MB1641; BCL:0; PCL:0; RULEID:; SRVR:CY1PR0301MB1641; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB1641; 4:+SSpKUKIUZXizZkDTu61y3QdTfyy22+Y9mNwZa3Q9QloF5SO6bsPOjK/E+8IgjM5rmh6CJDQvis+cx2vWUdaNxOYiIuJwCof+vPfVzqoFvxGtZn20H3PcrhW5iHpRNAc9BRmFudo27soGyLJ5FTfBYzkwSKk5W8mVhYgcPP6VBMHqpgbKGzywbRWJ8ymAZIyrsaHW5ufZrQThbLdSeIQrmSx8NE525V2KR7y4ecsprAI2UPypmO7bVLd/FdPpjD0iDgMTzLq3p2Cn9vJ/QPx7EwwBoMv2Jm8yvPfExQqgLQ= X-Forefront-PRVS: 0612E553B4 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0301MB1641; 23:MK73xwHCM0k4YjL1syjOx+ztNAhjUYLRUPyp8w3?= =?us-ascii?Q?05CuuB8xTjk9meieRQc8gAynTSIQkXMG/c0DW6EAruCniVkpQ1yqdsfW23mU?= =?us-ascii?Q?EkDkffuzIvWx609uwdFuopEFEOaoqsphLHEtvXzuN0KrY8/AA2bpTTAv+AVl?= =?us-ascii?Q?ztY3u+JHTcjxbHWTs6/IKeH6JIdA3Mxk7W/fBI2GofdGFHPP3mOX8IypjTku?= =?us-ascii?Q?nUlVHchVz5GRwA2woht7UaaM3zcRxqPyBas96er95+SsCL+sQEKLAvBa5q7n?= =?us-ascii?Q?/cvMAkNzg96Z6m/nYejwX0kiwYxMQpvm1royg7BKw03u8byVJJAimUSNsDTm?= =?us-ascii?Q?Rnf/tt7xhq12AcPNzm9yN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VQIxwUY=; 20:JhvcUIXTV6qu132eShhqYJ73KNh+pii4fAyKuwBfox8lZ19esaVBxu14fl1RfKZ2cqEW4PGFJXit/R2e1c6XNA== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jun 2015 20:00:11.5614 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0301MB1641 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150619_130041_837472_E67A3013 X-CRM114-Status: UNSURE ( 6.25 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.0 (/) Cc: devicetree@vger.kernel.org, Frank.Li@freescale.com, nitin.garg@freescale.com, Anson.Huang@freescale.com, linux-gpio@vger.kernel.org, robh+dt@kernel.org, yibin.gong@freescale.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.5 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED, 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 * Add imx7d SoC iomuxc-lpsr gpio group id's * Add IOMUXC_LPSR_SUPPORT flag for pinctrl-imx driver to support iomuxc-lpsr controller. Signed-off-by: Adrian Alonso --- drivers/pinctrl/freescale/pinctrl-imx7d.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/drivers/pinctrl/freescale/pinctrl-imx7d.c b/drivers/pinctrl/freescale/pinctrl-imx7d.c index 1fa7530..cf89275 100644 --- a/drivers/pinctrl/freescale/pinctrl-imx7d.c +++ b/drivers/pinctrl/freescale/pinctrl-imx7d.c @@ -172,6 +172,14 @@ enum imx7d_pads { MX7D_PAD_ENET1_RX_CLK = 152, MX7D_PAD_ENET1_CRS = 153, MX7D_PAD_ENET1_COL = 154, + MX7D_PAD_GPIO1_IO00 = 155, + MX7D_PAD_GPIO1_IO01 = 156, + MX7D_PAD_GPIO1_IO02 = 157, + MX7D_PAD_GPIO1_IO03 = 158, + MX7D_PAD_GPIO1_IO04 = 159, + MX7D_PAD_GPIO1_IO05 = 160, + MX7D_PAD_GPIO1_IO06 = 161, + MX7D_PAD_GPIO1_IO07 = 162, }; /* Pad names for the pinmux subsystem */ @@ -331,11 +339,20 @@ static const struct pinctrl_pin_desc imx7d_pinctrl_pads[] = { IMX_PINCTRL_PIN(MX7D_PAD_ENET1_RX_CLK), IMX_PINCTRL_PIN(MX7D_PAD_ENET1_CRS), IMX_PINCTRL_PIN(MX7D_PAD_ENET1_COL), + IMX_PINCTRL_PIN(MX7D_PAD_GPIO1_IO00), + IMX_PINCTRL_PIN(MX7D_PAD_GPIO1_IO01), + IMX_PINCTRL_PIN(MX7D_PAD_GPIO1_IO02), + IMX_PINCTRL_PIN(MX7D_PAD_GPIO1_IO03), + IMX_PINCTRL_PIN(MX7D_PAD_GPIO1_IO04), + IMX_PINCTRL_PIN(MX7D_PAD_GPIO1_IO05), + IMX_PINCTRL_PIN(MX7D_PAD_GPIO1_IO06), + IMX_PINCTRL_PIN(MX7D_PAD_GPIO1_IO07), }; static struct imx_pinctrl_soc_info imx7d_pinctrl_info = { .pins = imx7d_pinctrl_pads, .npins = ARRAY_SIZE(imx7d_pinctrl_pads), + .flags = IOMUXC_LPSR_SUPPORT, }; static struct of_device_id imx7d_pinctrl_of_match[] = {