From patchwork Wed Jul 22 12:53:00 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dong Aisheng X-Patchwork-Id: 6844281 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 7B149C05AC for ; Wed, 22 Jul 2015 14:05:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6369D20726 for ; Wed, 22 Jul 2015 14:05:51 +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 7E5DD20722 for ; Wed, 22 Jul 2015 14:05:47 +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 1ZHucN-00066F-Cq; Wed, 22 Jul 2015 14:03:31 +0000 Received: from mail-bn1on0140.outbound.protection.outlook.com ([157.56.110.140] helo=na01-bn1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZHucI-00063U-2U for linux-arm-kernel@lists.infradead.org; Wed, 22 Jul 2015 14:03:26 +0000 Received: from BN3PR03MB1415.namprd03.prod.outlook.com (10.163.34.22) by BN3PR03MB1479.namprd03.prod.outlook.com (10.163.35.142) with Microsoft SMTP Server (TLS) id 15.1.225.19; Wed, 22 Jul 2015 14:03:04 +0000 Received: from CO2PR03CA0028.namprd03.prod.outlook.com (10.141.194.155) by BN3PR03MB1415.namprd03.prod.outlook.com (10.163.34.22) with Microsoft SMTP Server (TLS) id 15.1.225.19; Wed, 22 Jul 2015 14:03:03 +0000 Received: from BN1AFFO11FD028.protection.gbl (2a01:111:f400:7c10::180) by CO2PR03CA0028.outlook.office365.com (2a01:111:e400:1414::27) with Microsoft SMTP Server (TLS) id 15.1.201.16 via Frontend Transport; Wed, 22 Jul 2015 14:03:03 +0000 Authentication-Results: spf=temperror (sender IP is 192.88.158.2) smtp.mailfrom=freescale.com; gmail.com; dkim=none (message not signed) header.d=none; Received-SPF: TempError (protection.outlook.com: error in processing during lookup of freescale.com: DNS Timeout) Received: from az84smr01.freescale.net (192.88.158.2) by BN1AFFO11FD028.mail.protection.outlook.com (10.58.52.88) with Microsoft SMTP Server (TLS) id 15.1.213.8 via Frontend Transport; Wed, 22 Jul 2015 14:02:59 +0000 Received: from shlinux2.ap.freescale.net (shlinux2.ap.freescale.net [10.192.224.44]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id t6ME2iXx019637; Wed, 22 Jul 2015 07:02:54 -0700 From: Dong Aisheng To: Subject: [PATCH V2 01/11] dts: imx51: fix sd card gpio polarity specified in device tree Date: Wed, 22 Jul 2015 20:53:00 +0800 Message-ID: <1437569590-5228-2-git-send-email-aisheng.dong@freescale.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1437569590-5228-1-git-send-email-aisheng.dong@freescale.com> References: <1437569590-5228-1-git-send-email-aisheng.dong@freescale.com> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD028; 1:nHJkhpbBlTV0wUwz2kK1/nus44mR2h/EisFqGkTvmJLOoXB5OWpCdG/sbbdHMhrqdiU0uM44N1QTaGkr+BO2ezG7287djXhLtTygWZrzqggFA1lZyxQSITvQ2u4v0FV6WUUNzacjOyRxfy1i3Qf5BJc2DPQPJIiK4iFivM72FXJg9in/aW2/FB+ysaZ54DZ7V7Kkcj4VQqAhy3BcGvJUIVqyiZejruugfJH+3tXf6da85dwlgVrTefd8VgoLwL0rvhC1+YVZRtxuZA72bihxwQJxdldIXQq/YNYYO5zon/I5gluPOiM/gvhIq9TfjKJZj3cPpgJr/xJlehRKKc60npvZAObvGq1V5KF6QkXF0ShhI6DgKI5Cxo4Jf+Y1U5rcImJBYvdNvURtQK0/AKaivJiT5D8rrOuafoM03gjlNOwhpnRxir02BlYUP6VDJbty X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2970300002)(199003)(189002)(2351001)(229853001)(62966003)(50986999)(189998001)(106466001)(104016003)(50226001)(47776003)(33646002)(76176999)(19580405001)(46102003)(110136002)(36756003)(87936001)(5001920100001)(77096005)(77156002)(2950100001)(50466002)(5001960100002)(5003940100001)(19580395003)(48376002)(6806004)(92566002)(86362001); DIR:OUT; SFP:1102; SCL:1; SRVR:BN3PR03MB1415; H:az84smr01.freescale.net; FPR:; SPF:TempError; MLV:sfv; A:1; MX:3; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; BN3PR03MB1415; 2:7SkY8wqv6dhelGxGv7fcbdvQFrT7zPA7CHNMkCaknTpnrjpOrdc4/rPtp4xZZvjRADqPTIFQ0SeQxhabhrnw0j2oaPK4fGMSpojv0yxTaFWFJIH7jSzyQ4V+JSulx7aC5d6zgjYqbDg2rxgUgvl3ilf4rN6wYUVx2soQu0/fAlk=; 3:cLnbNQj5CPnXEvuPckS0GnBynK0sk5ToJPTw+uNRVV8Bdvdj9fly+OCxtU3rjAOsELSr7GwqxkxCq9oc5gsK5kq18DjRY67Vtq0sAF7iMYRTICi4nofXJnqWCu1d1RVY6LWPf/ztAPxwwrLOFI68BwaCiJS/O+fzbFcNwmEPAK3XOY6aljINuJ0r9/Z/7FZW0D7F0qytlZXdomii86quZTjJ077xJ+/MKJt7bTm2kho=; 25:2cHTZNW81ADESIzE2FSxaofLhzhfZw9NDxeStt3nr6FDtg2vuPFIJjZLIXixzWoUhWYbqm8aU7pnONC2+hjbKWTCIJyJ9M10f8vNKNABAv9FA4kYoLZXn/Yzy/WfPKUFJJftb1hQhSty8+vKKvIxThVk6+XuliwpgD+2DiNyssGECpoF8QnpjPy+OB7OCGhawjs/e6wziHbILZKUYw5BT6v4EmXpYfgGKE4fWkDvA7IeUi+pMWiANGOY31w5FfrpEZlPJyon8KMjY08akLoV/Q== X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:; SRVR:BN3PR03MB1415; UriScan:; BCL:0; PCL:0; RULEID:; SRVR:BN3PR03MB1479; X-Microsoft-Exchange-Diagnostics: 1; BN3PR03MB1415; 20:fA55TQCQ5YrlC7DQx+Ka+YZGeBdTGiDF+tN2lF0nZP/Q8rQ0eEL/xyv30X/XSOqlPOxrpzuJC0kjspTk4GfgXPO3m2HmaLEg6YxFcYWFQhoWAJz/M7lgr1w+guCwh9IVWMPRXIPpNxplJhvDhDAu6I/uSGafdeKHCYKBt2H6QyxXWoOJ+GUZv2AJToZE7T67nQEcfV9KRKuQxqIQY3nqLprj8Fm5LbFBdV7WU5D0AZWjwu00RA+Fg22FgzNyNkfnyMuELNfNH4Sli7aaMaGlo6afgOXH+mV6Hw3e5xNOnHA/zZ//MxfPGc2DsRhif5pPveG+GsAlo6kpFJLSn7gKlVddn+F2gIHIzQJdQWP83mg=; 4:+Y1ClfwQrFUyiiiZ31sqE3kUDYCRYb2hnht8Xv1IvWC24MFSqF94rP6KfsH9FlEzWlYQKmNgDJKupd2WRsjFi5A/nI3sHVUAY6NuawuB7JmKiaQHPqInhF9Le9sh0KmmVRBhJ4texw5Y2adZtD9YK1KBLh8ps845cIPWEUdaInVLAo3cIndKL42wjUssUdjlrBjZLjU8vhmRXb5KS/hgrmyh1umORzIClhpvgyANV7RoW9Cxl5644/0FZIalzULJNpmazHViInQEUsrJxxSTU2h3AACULAmvdfUMq4221D4= BN3PR03MB1415: 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: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hc6XrF3yOHCEXw0eUq1q4mRVjZgSZTfZZhXP1WAGn1gcaQLNVUnM0PzCso6QHT2sDpRGpNPdDcq5JsX2Sv9lI2Q58wxJsIofGGWLOc+8XUhzLNF8fGOBhX/DnQ==; 24:RPGYGa/q9nHJbhs21GuPY2D/uRPKeSPaNDQR9CetDnOphf054bLmCpCxHG9nOZ0p4dCOO1La37JbypPGyH1gwJE8mr124dBlfP3et0iXEBQ=; 20:tW/MaCAO6wgqd2TOmErINzJleCHPVzuSKacJn1bdI4ML2wyTQS+GLfltMMy8W7l5q8ILw9POE/VxQewGd+Rgcw== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Jul 2015 14:02:59.8739 (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: BN3PR03MB1415 X-Microsoft-Exchange-Diagnostics: 1; BN3PR03MB1479; 2:lOO+6tz8t32uec/IYsL0b4aN8sOWlEIxlL+ETYI8W45zPayKu04GS9YjCKihMag6Oe9eEIDTIRU0MEO0fKZ8cpt3TzXEWidp0bZPJBIBWCuQUPATZEQAPuVl2wVBh0GzdNfDgFB9ZirpKCXcNxv9PQRI4swRdKQW8XPQ/rafwNQ=; 3:Iv4q2Ktebpah2B67HUiKRSWbziSOvN36oCB+XlfuGDnV17dCSTehBa7DizVIYVXYQtScGxGOlEX519enS6kXjD+9kvPJ48s3IOITS2arycyws4xblHgdDZwuJb2/26nhHHhPdgwhprKfllevTj9bC9SVORj9BCZKClTCiAdxR7iZpJ34pg8pL/rKvzawJWe0OPaY5ngyLB52CrRgMaptbDBGbuS3BJOuee791nWH5mo=; 25:GyrTH6xFPBZnHKEz1G85UM8dyA2AyKkvE4K1DTw4fNr4w4SDJ+7gB5UBvNLValQvO8PBDtWLszu3sE31A2i+GMl6GWb+qiMF2y8M6PrpohlTywab2TXnjxjpkhLfPGjmui74NyWnAKShaPt+mcGdbqEOxhfJMp6OGO+u7lwaqXsyAfx8jsuIRTNnzQdLJfnAVa0mRPOHyz3ozJatWa04j9iIMeDcEDMqVgUEdDQUhAIG8RW2AynRXlMVVjUcTJDjDbpQ6ysG9VDqtu3UouhsFQ==; 23:XSzlre7rZOFICkNeVleCTx9eADcOtaJdEEqLKau5/ZbIKpQabpxrub4nOLUOzE2mEOPDBC9oswB2hk6orOrpdbtTnZKcVjpu8pusMYdiPCv7RrpjE+d4X8jtQnNAob32dawnmCT/9d/++pPaEJ+w0XOmIvaTmLmJevwUNQYkSl6PhhNYp1rSSUsXPdbPb1Qb2LCQTfNP6qg3f5qj/ddjig+OcnOjppbuPu7v2fj/t29v5fQ/MAH0GEmNWD389qJ2 X-OriginatorOrg: freescale.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150722_070326_279594_F6F9D225 X-CRM114-Status: UNSURE ( 9.20 ) X-CRM114-Notice: Please train this message. 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: fabio.estevam@freescale.com, marex@denx.de, ulf.hansson@linaro.org, hs@denx.de, p.zabel@pengutronix.de, tharvey@gateworks.com, shawn.guo@linaro.org, s.hauer@pengutronix.de, ipaton0@gmail.com, chris@printf.net, rabeeh@solid-run.com, troy.kisky@boundarydevices.com, smoch@web.de, gwenhael.goavec-merou@armadeus.com, rmk+kernel@arm.linux.org.uk, lisovy@gmail.com, s.trumtrar@pengutronix.de, robertcnelson@gmail.com, b29396@freescale.com, linux-arm-kernel@lists.infradead.org, LW@KARO-electronics.de 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.4 required=5.0 tests=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 cd-gpios polarity should be changed to GPIO_ACTIVE_LOW and wp-gpios should be changed to GPIO_ACTIVE_HIGH. Otherwise, the SD may not work properly due to wrong polarity inversion specified in DT after switch to common parsing function mmc_of_parse(). Signed-off-by: Dong Aisheng --- arch/arm/boot/dts/imx51-apf51dev.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx51-apf51dev.dts b/arch/arm/boot/dts/imx51-apf51dev.dts index 93d3ea1..0f3fe29 100644 --- a/arch/arm/boot/dts/imx51-apf51dev.dts +++ b/arch/arm/boot/dts/imx51-apf51dev.dts @@ -98,7 +98,7 @@ &esdhc1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_esdhc1>; - cd-gpios = <&gpio2 29 GPIO_ACTIVE_HIGH>; + cd-gpios = <&gpio2 29 GPIO_ACTIVE_LOW>; bus-width = <4>; status = "okay"; };