From patchwork Tue Jul 7 19:17: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: 6738701 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 87C76C05AC for ; Tue, 7 Jul 2015 19:20:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AE1BC2062E for ; Tue, 7 Jul 2015 19:20:44 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C55B32062C for ; Tue, 7 Jul 2015 19:20:43 +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 1ZCYOC-0005c5-De; Tue, 07 Jul 2015 19:18:44 +0000 Received: from mail-bn1bon0144.outbound.protection.outlook.com ([157.56.111.144] helo=na01-bn1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZCYNx-0005XX-DY for linux-arm-kernel@lists.infradead.org; Tue, 07 Jul 2015 19:18:30 +0000 Received: from DM2PR0301MB0784.namprd03.prod.outlook.com (10.160.97.155) by DM2PR0301MB0864.namprd03.prod.outlook.com (10.160.215.15) with Microsoft SMTP Server (TLS) id 15.1.207.19; Tue, 7 Jul 2015 19:18:02 +0000 Received: from DM2PR03CA0050.namprd03.prod.outlook.com (10.141.96.49) by DM2PR0301MB0784.namprd03.prod.outlook.com (10.160.97.155) with Microsoft SMTP Server (TLS) id 15.1.213.14; Tue, 7 Jul 2015 19:18:01 +0000 Received: from BY2FFO11FD012.protection.gbl (2a01:111:f400:7c0c::136) by DM2PR03CA0050.outlook.office365.com (2a01:111:e400:2428::49) with Microsoft SMTP Server (TLS) id 15.1.207.19 via Frontend Transport; Tue, 7 Jul 2015 19:18:02 +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 BY2FFO11FD012.mail.protection.outlook.com (10.1.14.130) with Microsoft SMTP Server (TLS) id 15.1.201.10 via Frontend Transport; Tue, 7 Jul 2015 19:18:01 +0000 Received: from bluefly.am.freescale.net (bluefly.am.freescale.net [10.81.17.130]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id t67JHwGX023526; Tue, 7 Jul 2015 12:18:00 -0700 From: Adrian Alonso To: , , , , Subject: [PATCH 4/4][v3] ARM: imx: pinctrl-imx7d: add iomuxc-lpsr gpio group ids Date: Tue, 7 Jul 2015 14:17:10 -0500 Message-ID: <1436296630-20296-4-git-send-email-aalonso@freescale.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1436296630-20296-1-git-send-email-aalonso@freescale.com> References: <1436296630-20296-1-git-send-email-aalonso@freescale.com> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD012; 1:/xJP1wePR8ywjq2vkvdmoUPvAvMZ9aLKl+OyNS/c9Jzqxe3oUKuNGaiITXOCN0HMWgBB+UKwRxkLnH5dQohYC5W3l9eBshrp0fgWq8jn88x9BVdMwYz8vqM36V8t22PLfBijcGzGz2PaB4JHPWSjAwr6DgOzljfO3rv1N3oe0e9JmZ2GhIHMpBdz5vZ9iClk5ibSpAiAqPuCBWIKfpAnWpwOdUVo62TznRd/K4FMWZ/JnU9BsUo/6FR7uppdVIZN8M1zwV5c0y/GlgUk3/68qZ36HpOVtNRth8QleAvMaPatCoFXtF1DdcJyAmk2hKjFpjft1/n670V/NJaTOpuoBg== X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(339900001)(189002)(199003)(47776003)(46102003)(92566002)(85426001)(33646002)(104016003)(2950100001)(189998001)(77156002)(62966003)(36756003)(229853001)(50986999)(76176999)(77096005)(105606002)(19580395003)(5001960100002)(19580405001)(87936001)(2201001)(48376002)(106466001)(5003940100001)(6806004)(5001770100001)(107886002)(50466002)(86362001)(50226001)(2101003)(4001430100001); DIR:OUT; SFP:1102; SCL:1; SRVR:DM2PR0301MB0784; H:az84smr01.freescale.net; FPR:; SPF:Fail; MLV:sfv; MX:1; A:1; LANG:; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0784; 2:gA54cxZuan/p4tymLGkbVxUaqPf9GFsg2JG1GBTCnhJLYOioNIM28njXX1bScS/K; 3:P0xGFjNvlAXewJuhdEo6/n1+xgq+DK2vC9xvLxZeMPpmC07NZjgSi6A2at0j+1u2V6PPD0EdJpdpEQ5aAnxKPb6Y5UDOVMF59GwSv7Rc0HvErJtAN6ONGdLxk7EtgzPMYkupZOHr8c8fa9aBiONBMHnHjUy9CwxPctzn9Wj9GS9JwVPD8W59BY/V+uG6wizbDgyuP64M7tgRairVIdBfYgqTldIPTIH1ugUGwlRbkYk=; 25:bIHrIn/F2gx/rKc0AAcC40ygy2mTlYjzQl8pks4uU1ForxgtRIH3B7sh8O2x9vEpZNQFloOsb+2WqYQP59jvnvXJ6+9rwXnM50XSzSJGqQNgRFCuFiQAMRiPJJBL0v64D63HAuCVuub76dKN95ZmBmeEcC2jXiGoRHkyl/b9+eUYg9fWSOkCPudHH39b0gNgA83wocQGzuLwlVfsrw8JtJmtDv0gI8Fi7hqbCHqlWW3MUmTUosXrxER8v46mhZUc; 20:v9Zze3nEa4h77fw8mmLg0N1uWt07tpWYjtUONbWA82nTbUZ+i+Th834Qpug8YEZ5pqSSJXvW+Q7X4o2FOdiud/Ej/mPoHacPWttkbesh4LcFs1wpK+vxXBKMqvj265H91AUY2GC4VomwgT+tEbfSLzDU14sEw6T6GlUFNFZm82aFiADviz5cilta3qmeCazUFXXaJLo3W9hiWzvq1l/k64iIhO5Pso+Caxa7qemcWbDO3zq6Mj4T/kX/9gWDvHCiKKwoce9tMMMyPN6v6jF+0Qbk039jSmYa+3ALLainhpxrNanTNI50bVmBldsgJUmjl6Ykvf2MsJ38bODvhXKGORK5WxoZU6TIG8GOv3H6lLU= X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:; SRVR:DM2PR0301MB0784; UriScan:; BCL:0; PCL:0; RULEID:; SRVR:DM2PR0301MB0864; DM2PR0301MB0784: X-MS-Exchange-Organization-RulesExecuted 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:DM2PR0301MB0784; BCL:0; PCL:0; RULEID:; SRVR:DM2PR0301MB0784; X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0784; 4:PYhbW3O/TeEte/GfYFgwhQiuJ71ChEFMmODwgXCTuseryE2CPfEwqOHPn6c2XUw9M5iX/xnPWLGXD1Irw8KY7RmoYlIdKJjBXN2ElgTh8v551ubshojMHWoU6cNi+8z5ROWbd3xglzFhPAZqg24Qqsk0F32uGMu4fpjkPxEUJWXVfB9cBZiIJ7UzQGbItcRJWFiiu1jdROP7eU9vuk5Z7klOwcGaUCCfj2wjTsSoLimNOHXjVzrxNlBE+VQJxm8aHveLrvN7Np23IOWj51RUYUJHFTXnHoA6E9SsAMOTQOs= X-Forefront-PRVS: 0630013541 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM2PR0301MB0784; 23:gs/TOo+nGSoPF6bSYK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FOBP6B7/TglydbHDkrez5o2/7HwL6oiBLtE5THwvj7f6WVUkEXMwIGB?= =?us-ascii?Q?mkjNzW3QM7rD1k3Hiv+JrTz/gwXH35XT2k+MvYKvqQY2O94Vf7JOOW0eYJmp?= =?us-ascii?Q?IcGQ=3D?= X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0784; 5:vtI3av3YGQ+Hnm8faYa+kHQBNIEXKr4sJZRZyaJlFq0dzOUyb/FHIIF9roTTV7GmlauqYqZkVyhRHC7qTrNF3ykUJVabxCD3jyJHAH17lpVyzoDuQD3pLjOMDGPjMz4YcxX3d11Uq1Yi5SJk1xRFkA==; 24:FS3r5MlMOQeu9OoHonr3ZUt5OD6ou0mcli1IHzuye3n5CSa3itAz5UdXHp3CmjKvPUPA4YC0UxynBK+Us6VepYRYyDB3b/6f2mmZsSoDglo=; 20:gZ8P5c5JCMZ+VGxEFhsKa5zrZBiiCT2vSzLL99veL8PN3wx8IaNb+NYNjrS0+olO3EpQ0pE4BsQZQgNRW6R7hQ== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jul 2015 19:18:01.1929 (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: DM2PR0301MB0784 X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0864; 2:Dcr6hFm9vux6UvInDfT+ZJAMB9avMLpQXkQcEkLbExx9wmJx2WS88DA+xfk8TR7i; 3:Jek0WCZTYhe3xDK8lsV7DoElfH0OdRQr4D421N8/gIwgI+Xo2MUVCyNw7CyqiKYItk+OTe4MJSWVNp/aYSOhOdP+NFciwFJ5GgYBGAUinfTZXq+SP/Bu8c3cqPF28K0cfeZrcTcZSZvB2aM0ezkr+Haic6/GDDTTvsbhs2f5+lcaKxM9PL248mwFY/uQqgnU1wA3gSeSKNX5AT6y4q9BkNpomwic57X+GfUgcbwDsqI=; 25:WWONHThhBjpP4Hp8aJe3/exwFbESZ5k1F84dYEioCfsiD19U2hcHwz/Tu1JnxcMEa0C+0viCLiNIZZKzEHg/6uvkg8L5QhOpTVNonB9f8k3e6NWclwI+3jBOBHUYGJeRQCP2vmxZfOlWGgd6H9NeIWEB0yQFt1oCqfQ3GsMa+vxO7wudw+FwRMFEoMfp/tQhmVLSgqHv486pKR8SAcBv/gI3wUL+nIFhUZSpMLr9wcpvTRdY069hBk/wqOQwQPx6; 23:JhH1DoZE8XDKtOB2M56iLK1YwkJixyaIxevBqmvj2O2lkDSui58XGJQZid+qkpro/XKdzGUR4rT3WyEXpCyupfZMi4gV+nS0ECYQlBuI6HQIRdOAqVJtWXE7M8KklpItzPpJIu9TVN5SV9vUk+P6IwSJXuXfAWBL+Y3mNisdXC615FW5JFtZhD7XNZHbfNqFRQCNymlvGkCafY/7OrXUNe6PBdqqmUhStMNZZIvS3bcWoRbsmdZ4CFt2a9QX1ND8 X-OriginatorOrg: freescale.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150707_121829_709148_CE5E9C95 X-CRM114-Status: GOOD ( 11.58 ) X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.0 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 - Change v1 to v3: resend patch Acked-by: frank.li@freescale.com --- 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[] = {