From patchwork Mon Jul 6 22:59:06 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adrian Alonso X-Patchwork-Id: 6728281 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 4C3619F40A for ; Mon, 6 Jul 2015 23:02:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7CF33206BA for ; Mon, 6 Jul 2015 23:02: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 1AEDE206B0 for ; Mon, 6 Jul 2015 23:02: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 1ZCFNg-0008FV-8R; Mon, 06 Jul 2015 23:00:56 +0000 Received: from mail-bn1bn0105.outbound.protection.outlook.com ([157.56.110.105] helo=na01-bn1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZCFNM-00087m-8C for linux-arm-kernel@lists.infradead.org; Mon, 06 Jul 2015 23:00:36 +0000 Received: from DM2PR0301MB1232.namprd03.prod.outlook.com (10.160.219.21) by DM2PR0301MB0782.namprd03.prod.outlook.com (10.160.97.153) with Microsoft SMTP Server (TLS) id 15.1.207.19; Mon, 6 Jul 2015 23:00:14 +0000 Received: from BN3PR0301CA0016.namprd03.prod.outlook.com (10.160.180.154) by DM2PR0301MB1232.namprd03.prod.outlook.com (10.160.219.21) with Microsoft SMTP Server (TLS) id 15.1.207.19; Mon, 6 Jul 2015 23:00:13 +0000 Received: from BN1BFFO11FD046.protection.gbl (2a01:111:f400:7c10::1:195) by BN3PR0301CA0016.outlook.office365.com (2a01:111:e400:4000::26) with Microsoft SMTP Server (TLS) id 15.1.207.19 via Frontend Transport; Mon, 6 Jul 2015 23:00:12 +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 BN1BFFO11FD046.mail.protection.outlook.com (10.58.145.1) with Microsoft SMTP Server (TLS) id 15.1.190.9 via Frontend Transport; Mon, 6 Jul 2015 23:00:12 +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 t66N09gA011008; Mon, 6 Jul 2015 16:00:11 -0700 From: Adrian Alonso To: , , , , Subject: [PATCH 4/4][v2] ARM: imx: pinctrl-imx7d: add iomuxc-lpsr gpio group ids Date: Mon, 6 Jul 2015 17:59:06 -0500 Message-ID: <1436223546-6333-4-git-send-email-aalonso@freescale.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1436223546-6333-1-git-send-email-aalonso@freescale.com> References: <1436223546-6333-1-git-send-email-aalonso@freescale.com> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD046; 1:TAFLmBoIMdSXKw6A0s43BJzhcesQqXNYBIIFd737HM0YBNRygS38j1OAHbuk/01L5UJLrG7E5jQZhPeG2ccmWlnBSDa2JN3K6R9oxx0l3urYXtKRTAiUDSpgiFSeYzhtMAEYH83Xx2L1LQ7zm9WwehY785cuC9RTDiZH/vN09KyilqrlyQnTq/fYxI3/sFQVHv2VuWpC2nEz6MPawmEraKOYC8qvnFjYbFVRoi35NfbFbc3cnrfdrkmnEACQDG9wKksr+RDwa3dhUWRGZkneFf9yfOnJV4IuTbGfLyqAXNVXF+imbvPEqla/JTVWsBOMeu803rszTY9+E0OGUJFvHg== X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(339900001)(189002)(199003)(33646002)(104016003)(86362001)(107886002)(106466001)(50986999)(19580395003)(5001960100002)(2950100001)(76176999)(87936001)(189998001)(2201001)(6806004)(229853001)(77096005)(85426001)(92566002)(5001770100001)(36756003)(105606002)(19580405001)(47776003)(48376002)(50226001)(62966003)(77156002)(46102003)(50466002)(5003940100001)(2101003)(4001430100001); DIR:OUT; SFP:1102; SCL:1; SRVR:DM2PR0301MB1232; H:az84smr01.freescale.net; FPR:; SPF:Fail; MLV:sfv; MX:1; A:1; LANG:; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB1232; 2:RP1JZnZk+B3p2VR5DmVUy4x2a+Qxb4VUAECl2qt1eJDTG9mt4yn8wluGAPxMxda4; 3:2DD7Saf/Z/N/2kTboCu35kopLDtJ8fVtqVoPfm0EgrmNXuWe2lwZ1lbZ7bnGJZwub8mIwakA10cwJu8WaWQ4IqFQxaJcNQhZ8/Gs7RaHok2LmgWsmaXkNhasOv39jxaYwtOSFBY6H782eZxBc++hhX8l2mN3TArgUZuyW4WxpXrYAdmKfkC5QQD8KxrQmjwRfq24rc9D/3Z8DZ+K+4eCfcGWcbvYU5GFf4Yi3v9oj3A=; 25:Xcz8QEeUE/4bTdahlqvzXhlFG5acL5WneI3sLFXMdrOe1ZJ+F2IbCrjaV/IOMbqinhhCrjkUgwrVBCWVCvHxeRxFcqLvd4pgUAf9RNV6fiWKGuArlJbPKxCVszamXiSWhgTNB6W64zE/o7sfgQp3tZMP39cuObee9AlaGf7k+wjCfnekhTUk/mHVShEOyE97NB8qRd0+hvoJhBb7+rH1R+lo795Jj5oKO10jlb6KzhzxhQ0XEBlbo/os1gcdFipv; 20:L1DJKOyA3jtbkxItK0+LInz3npBVC+2lILbNSb5Hsoz3dGXC/yx3Y1UL05AtMAl74gvS7U1qisKJPvfUIwesgJT4tgrSKwPzWaY9WAFSxvOJfU7F1+1Br4hBDEUOxFM5Tv+svFGE5lzppxGYWlBfUFt816agAMfoJNaU78ab0CAMPsJhguCNb7WpXpW5Z+YcV4bY+Xypzk1kIjWOLduICvFKv4RnnrJNk+57TBWgGnT1qVx/cPbWuf0Z3C+7Q/4P8ceffeiYYoTEaqUIHCPopzR+Re48sUmMRMavxVWOTL7V7NZ4/eNiaDgEy0fh1ulHDBz+kiM6YRnyV5B4hVGnzQhrrqJ49bKIoQqO6ZH8yS4= X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:; SRVR:DM2PR0301MB1232; UriScan:; BCL:0; PCL:0; RULEID:; SRVR:DM2PR0301MB0782; 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:DM2PR0301MB1232; BCL:0; PCL:0; RULEID:; SRVR:DM2PR0301MB1232; X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB1232; 4:Fta2adWMsvUZxRJJDsXRCYynxHww9B0iMR1SSru6yVhlP203PvU67kzTgY7/VRM7F9F6C+a+2oM2ADSUDGR31+vGPw3HzZyqnvxRUfZ4w1V478UkbgPDaEhC6sk/Y+erT08zRrB6kZiJx3GjQnIEqFSXxv/OwnWmUqkT71dnmpSlEpSJZGip0ya+0D3IVxe9qbw67UMbkjuVCqQahmgZ0z+RjxBFof7h1fC9v0o5Vrk3jwIyEXex+BEDbDVeuw/BQBBZG1puXI0SAe4oHB5Z9wxbymtm/tTuM/ilPi5c7k4= X-Forefront-PRVS: 06290ECA9D X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM2PR0301MB1232; 23:vgU7n/BBp3jRmB3I4NIxaNAv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1nr6cdjiY32kfRiduPhiEhJCbpETUluhlEf0Q/ibTEGO?= =?us-ascii?Q?lUfgl5Ew6AFAV8sHypGmR/VmkEVcGIr98qq2svJYo9P/m6P367UnqVQBtCeZ?= =?us-ascii?Q?PG7Q=3D?= X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB1232; 5:ozTthd6BpG8NhOjqQsPWKLfV/lsr9luFq8gyz8Tnyq8A6R2v36LtjnXhONFuJwlb4a27lkvF/YPGXw2Dnz5pmc73ER5y4ZOInIbVUjHbch1bN2kZFAXZ8eHQpYXe6uzvQ0HNQICHOKkpiJu1LQ0ZoQ==; 24:AquivhtVf3iUnPQ/bXUJHWfVNwRJPiq2ZZitjA5zjqiPYocGloF+D5MIWAn1UthhSSo0wm6fV85Lz1J2A6txJlMx+SI8TdLRlH/sxSunpKU=; 20:jT5k7i2FvsR16O8EHsVbO+XeoJwuRqPqpW0KHNopFRkqlFJM63igWxZT07ERCkt/Qij9FKLOUSnowEb/Ejs2xw== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jul 2015 23:00:12.3442 (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: DM2PR0301MB1232 X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0782; 2:uyKUqpZhgyZuufvUWabsYzR+9+iMNxe6uJ2QIfRiKDT3V52x95no6h+h8kSF/7MP; 3:4j98XD/Mn3zezEH7033dZiLjIkJ4XPjDbilUmxqu6W9ThL7q2ym8Zgq06gNyEEtl+6sgfrW8ivmYOUnfZOMA4BRxK3YwlJz4usryUezPb8AjnDSvvljDZBn3O+hR51agblvOCdz2NyqGQY9gIGkkIsMxWdEExcbPa9RS2TMKuAnSqTGh63HfpWm6Z41GlAWHKh6XpZaemAA7uaRxvu7pib83oqtPO3Y1FLu3SonuIuo=; 25:MVB4w7rCiaHbmaKmX7rJ7J6gTnZMbiHb1vMtKPZF0RuIWlw6zBY9Alczg68Ka69oQY2EO+3dUzjrqXHld1IJs3Sw8y+mPAo/GbYu3LDz3UgNQfp5auIEv6oW5XhQYu3QZACm7AouXzSbRcksyhS6KNVpuKnZvePoeJpkBq9xpSTz4IXSqQV1z1U4CDBM1nCXEdWgV7zJfYBAblpP8VEYl7xmOfwnLbmcRjTHudkKq1gqSkUsUYlaOaNE00NgixYv; 23:7AcA/0MlKqt9excBy3tnKQMbk1InBu4qRs/p2Qbckoy+U1yRIkCU7axtEdPaUGrk2MCDk33BN6alClkY1FX/wDwD9+57pmeKH2pCkgMbHteDxl6hy0XnPrfLS/9ncT5enjAxm7nA3RStO8ca3sejHNtjzWiR/8td91n3avmUncX0kCavZap97BXUeqnr2PG7BAEZ+5Awb4lhOJyp8m2VJj4eKogYn04/6h2oWvKJ5HTxP3DN0SnXU9HWmUfGTdM7 X-OriginatorOrg: freescale.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150706_160036_551456_906B6CF5 X-CRM114-Status: GOOD ( 10.62 ) 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=-4.9 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[] = {