From patchwork Wed Jun 17 17:33:34 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dong Aisheng X-Patchwork-Id: 6627371 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 A15E49F1C1 for ; Wed, 17 Jun 2015 17:38:53 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C6B3A20856 for ; Wed, 17 Jun 2015 17:38:52 +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 DE9862084B for ; Wed, 17 Jun 2015 17:38:51 +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 1Z5HGW-00014S-2j; Wed, 17 Jun 2015 17:36:44 +0000 Received: from mail-bn1bon0114.outbound.protection.outlook.com ([157.56.111.114] helo=na01-bn1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Z5HGI-0000lb-H4 for linux-arm-kernel@lists.infradead.org; Wed, 17 Jun 2015 17:36:31 +0000 Received: from BN3PR0301CA0008.namprd03.prod.outlook.com (10.160.180.146) by BLUPR03MB248.namprd03.prod.outlook.com (10.255.213.26) with Microsoft SMTP Server (TLS) id 15.1.195.6; Wed, 17 Jun 2015 17:36:06 +0000 Received: from BY2FFO11FD051.protection.gbl (2a01:111:f400:7c0c::105) by BN3PR0301CA0008.outlook.office365.com (2a01:111:e400:4000::18) with Microsoft SMTP Server (TLS) id 15.1.195.15 via Frontend Transport; Wed, 17 Jun 2015 17:36:06 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=freescale.com; lists.infradead.org; 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 BY2FFO11FD051.mail.protection.outlook.com (10.1.15.188) with Microsoft SMTP Server (TLS) id 15.1.190.9 via Frontend Transport; Wed, 17 Jun 2015 17:36:05 +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 t5HHZpv1016757; Wed, 17 Jun 2015 10:36:00 -0700 From: Dong Aisheng To: Subject: [PATCH 1/5] dts: imx51: fix sd card gpio polarity specified in device tree Date: Thu, 18 Jun 2015 01:33:34 +0800 Message-ID: <1434562418-24090-2-git-send-email-aisheng.dong@freescale.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1434562418-24090-1-git-send-email-aisheng.dong@freescale.com> References: <1434562418-24090-1-git-send-email-aisheng.dong@freescale.com> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD051; 1:mcBlwAcMBdhnJpy4qjg+KJ/MrIZrnYsN4pJ7oebeWa1s19JypU8mZBIY+OqpX0G0cuLGA2wnH2/u2P+DcNBzY3dmhjxm46F79SUpVL0cOsYzgnV46ghjIea6SvBQVpRg6ls/Jb2e3PVFJcmKz+V/oL8IK70wZGPFeWiqTbrHEg1AjvVtorUaxSOUDGkQIguW+J7OeMMs+2ARkp3JUMVVVcsH0kfoLQ67IvQKjORVE3fDg4ZhQgMt9cfTjNcvCjItmWi0YDOYChHAcyUrC6tJCkXNEXOf9zEe9uWi8QTYVRTinL3XNcZn2D6Oyb0LzFzfTsYNAwiHlst1f3yD0EqdROczxk5Ov5r2fVgxJSfiTto= X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(339900001)(189002)(199003)(77096005)(2950100001)(92566002)(5001960100002)(47776003)(81156007)(189998001)(110136002)(36756003)(105606002)(19580405001)(19580395003)(87936001)(229853001)(2351001)(106466001)(86362001)(6806004)(62966003)(77156002)(50466002)(50986999)(76176999)(48376002)(46102003)(85426001)(104016003)(33646002)(50226001); DIR:OUT; SFP:1102; SCL:1; SRVR:BLUPR03MB248; H:az84smr01.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; MX:1; A:1; PTR:InfoDomainNonexistent; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB248; 2:fJjPh+Iz1XVQhfOvQJikDmqm6PPh3CuYEMzEyo6ZryWAxHB1up7/7T+ICPw7n8HQ; 3:pjh2xVjdDc8q7cux1u3dr/+vl4hPh92wjL7I6+4LwT+GPBn2YZ4WC0yeuoyDVlYO95b0JD6itqXaOEAsFNewD+ztpLk4GDoiZzxxHgqVPNXT5ZIAHHLeC5QXwkH4qQbNPCfFtwHiw7II5xYs3lgej4ausIyp3py4ml0VBQjT2BXvlxsoE207C38C6xNAh6XC4FteETbzEx/6BWprp+lj0sGV6WJVhDL1LIjsuSnDS/k=; 20:sagVazKIDkHXw8ZMVTQIiVktZRDtTnuMqJyJugu4QE5XtM+y6cLhFI1Q3bZaAjWR1wFcUQGhp6cnJXiKWd/SE8E9ZqjZ2NMPqNlAoSKsEr27QocslHYMte+jI2e+mJn7beiIEckz1GShXqZOTTBXrDJHjzpxHtWzVngW8ILhxUNu68C2gvr+714nx7Nh+EZN++rzFC5+x3cQUiEUbA+YUNbignS6dOl8W2xlGbmXv/j1mBHBOuF+5J/O1JE6ZH0Itwce/MuA8X5GaNx/6+2pXW1VW/zD4vZLRK+ymS5svjDCLxH1xW0mojUtl62gReSlrOH2IXFsFW325VPtzwsbCUbCEhPfhtY8aUHhawJD3nM=; 4:ei7XViHre2pdSnQeECBSga36cjEJEl/FNP5y2DInVFA7X/y3X1kHY8tLOB1LhWdhhUkM7W8HXnVyLDtJT04uyeht8Bfcf67GVw4eFoR3N50exOb5QSZIqIYUvMowKMymvTIX0kgR0K4QC449RM5lSz3BP2aTxRmDOdbzkvdNLmw46mEdBKA4Tqcas9oVSXuLOsQJj8b71/WEZ+uyvXmdFAGfYfK+TIX5ALT98I3FauX8xMtnk27qIrq0+dMfWQEd6MsnQJKYWKwk52UL8xpxoo//EXcilS1SrRa7DbWqWWw= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR03MB248; 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:BLUPR03MB248; BCL:0; PCL:0; RULEID:; SRVR:BLUPR03MB248; X-Forefront-PRVS: 0610D16BBE X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB248; 23:2A32G35g+dfgykLKoogJjmYLRwFxKwtYnnQUJHEee2R5ety30N6POK4gd9yHw26VYq+ju51w6JtA+vPLTl6WOFBr/cNc7554AxYYhfQeb4CJExgKXvBcmbVbiEPRxhtjhHBL/ZxytdqJrkTc4Uhp6j8wEZRZiURZj0dPkotz5iR7jHnJ3JW3kP+Ac9g8vv/3uqntOuxK6CBdnFTJl75yEfbPymPThtXJ5r43oFS9xftd3I9hVefVxevDMIBlriMcisIo+sPEyjMSewCINDWuXXng4KfmSbfDr3vJxNuDiAd6PRosehhIPiqlfaVPGXYjCDLkRC0hzXbwZT1gkseJDZVKaeDbDTLlBshJ9T3B+EZxSDZ6pCv/B3NT+pcXU09eu6jpPzdFTAGowXMRT/fa5BFLXXe6HQash+n0SJv81hzjfCZZFigXryJFZGHw39tgFMBRgt5kdJ5IPhpfzOVQA12RfgFmZdYvnnL4imgGKA/0a/JzjIMi99Bt2IvpNoOptAsoloe5kWAekFO0cjNXgU1GyzzhVNLH9VXlI5LWmZ8fnJj9YqiBmpnwhATgfUxNBK8N7xVgIijZJTVZizsjH1Ka6wyBPu8VqcQSrt+42nN4aOtiZ/YR171IPFLdwwyuwopf4TtZE6qrQDFNJvyGDJCxTg3teuduY4VnI1O4m7lAArz8CLcSCX8ZNwel/G76mGbfG6UOucJ9NIYzt9MughDAwflsZhqi1rYf2k+S1upIfuXmjq44fBbeTmgmfU4LfixKjGKxMH6rVWWlZnaSWkc4UAtj7tuAWoMIAIpOg2zPuug89Kwg0UvZQK8fO2aYWkIqWrtclWSbxXK2Isme/Kf+y5hEeiW85Xw6VnVBlKn9hGQ5BMHTpfJ958dpbFiP3DIpjlyE55K3S/Wy89GO5w== X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB248; 5:9aIfzN/ahrl+5WCSsP8uYaeHjnWYgpcS7hFNhdMNjCv7KlvF3xIB4Ia0hE5RZgCQbzMP1Hvl3xpcgUhIqW7lFT4Ca0hMUwAfbKJlpBEG2/Qex52WTnzGqgY/fstMXZG87Qw9FLoHyYxzTCLm7clhyg==; 24:aqYOoQg2CYFcHTa0mzHZk0wWN6KFXMXsbcdl0vWwmHpW42ORuKH0j3WyDoufhsOtWtgYZv3Mm9g7HgofAHeebdR3BnA0lNPRoU67C0iK1fY=; 20:cB5zHhwZanc7xA0FSB9sygOlU0LdiZw7mvOzY1rC6o9sRmAa/ejrKJyj46AZqzIy0wceDN3yJin3Hl+cRZN4SQ== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jun 2015 17:36:05.8248 (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: BLUPR03MB248 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150617_103630_753071_5E9F495A X-CRM114-Status: UNSURE ( 6.20 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.0 (/) Cc: fabio.estevam@freescale.com, marex@denx.de, ulf.hansson@linaro.org, s.trumtrar@pengutronix.de, smoch@web.de, linux-arm-kernel@lists.infradead.org, robertcnelson@gmail.com, s.hauer@pengutronix.de, chris@printf.net, rabeeh@solid-run.com, troy.kisky@boundarydevices.com, lisovy@gmail.com, hs@denx.de, gwenhael.goavec-merou@armadeus.com, p.zabel@pengutronix.de, rmk+kernel@arm.linux.org.uk, shawn.guo@linaro.org, b29396@freescale.com, tharvey@gateworks.com, LW@KARO-electronics.de, ipaton0@gmail.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.8 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"; };