Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932448AbbFIHrf (ORCPT ); Tue, 9 Jun 2015 03:47:35 -0400 Received: from mail-by2on0068.outbound.protection.outlook.com ([207.46.100.68]:57706 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753566AbbFIHrY (ORCPT ); Tue, 9 Jun 2015 03:47:24 -0400 X-Greylist: delayed 921 seconds by postgrey-1.27 at vger.kernel.org; Tue, 09 Jun 2015 03:47:23 EDT Authentication-Results: spf=pass (sender IP is 149.199.60.83) smtp.mailfrom=xilinx.com; apm.com; dkim=none (message not signed) header.d=none; From: Suneel Garapati To: , CC: Ulf Hansson , , , Adrian Hunter , Aisheng Dong , Haibo Chen , Tim Kryger , Shawn Guo , Yi Sun , "Rafael J. Wysocki" , , Suneel Garapati Subject: [PATCH 0/2] adds quirk SDHCI_QUIRK2_CLOCK_DIV_ZERO_BROKEN Date: Tue, 9 Jun 2015 13:01:49 +0530 Message-ID: <1433835111-32522-1-git-send-email-suneel.garapati@xilinx.com> X-Mailer: git-send-email 2.1.2 X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.0.0.1202-21602.005 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1;BL2FFO11FD006;1:667FZZtFlpmEKg7kRiqtpvLAX41qnOxmvGD62/Pq09dYHjYyYXQHyPcXsGg51w7yiralLLpmJ6PmuUki8ejRdA4XLPBI/uPoxcsr6jia+3C1xkwi4lUG/meocIToMUlkV9HmHfx7IhRQBJ8Q3pPw3IWh/nMp+9hNW2X32JIbNIiouuH3F8bal7Rd9IleGqE3NJieqKNI7m/kDJgstqlhwlLszaOFs/D8qv0u7fFwy+bHyh7tDKA8DEhdB46mXoiNEErIMj2ADzOAR5xD9lXi+Ntd2Dy6JCkCDz9/MxNfnD7E7RCbHuI3We8LoJILLBNHmqfSzK04VZgBD9ClGisDXg== X-Forefront-Antispam-Report: CIP:149.199.60.83;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(438002)(199003)(189002)(48376002)(50466002)(77096005)(63266004)(50986999)(6806004)(33646002)(229853001)(46102003)(106466001)(62966003)(5001920100001)(107886002)(5001960100002)(36386004)(92566002)(77156002)(5001770100001)(50226001)(36756003)(189998001)(47776003)(87936001)(86362001)(7059030)(107986001)(4001430100001);DIR:OUT;SFP:1101;SCL:1;SRVR:BL2FFO11HUB040;H:xsj-pvapsmtpgw01;FPR:;SPF:Pass;MLV:sfv;A:1;MX:1;LANG:en; MIME-Version: 1.0 Content-Type: text/plain X-Microsoft-Exchange-Diagnostics: 1;BL2FFO11HUB040;2:ewlsG7IVbS4gKTufqAe+Ov/wMPMG8sEQOichATv/LaqRQ4lA004bKGrnMUNy5dPn;2:sKjx4fANmz0UC6i/f5JslGsvVt1tvDK/zfTFz4HU8XB+z2yK8ks8HyuiecsTrCd1sPAJJpQrNFA4UcFobPwNTxSRW1aLNRnjvJ9/39lewlNOkSkRtDOtteRGhVQPtIna34eXgNpcBc3olV6hF0YXzq7be/LSQJLhGkans+EImwMCQZgDXNsEjMej7lyJk8bTKpKABdtXo+mjvhH8GU7a8p35fwLjwkDz1hzql13eLEo=;6:tbe9RJR/jQ8bv4h7mwGw6cOdp/CXAKCdMo7zkIYfiIhIpIYdbKJtpo+SoY85R+8YL3M83+o0bYziUeeFZiClMOe2f9PDBlMTYUR6S/0NINH3eze6yW31wwRWycS9uFcvlxd2dVOnlZoyJuWS8QBdOPzEtO7uHcDsshUSJSTg/d2KyY0JCyUQVqZqrc2TkXU9updlU9urRBYQMTv1ukOvkOvMkJLPgCTU//IHzRnyBty76vsid7aAxs9UFz8xYaXI/nLsHKH3sGZNpzpo7Dhe0HTsmXM5q841jGTuMwKGDq1nH6/6dA3jaN2m4KHGj6hlfgaXi2pz1f6Y+LnkCST3fLjA7xHS7gEq12U03CGK28JjhdyhRToGt0UdxSIXrgV3b20qI/xCseJXnF0+c5dwPBLBte0K+/9jCla6yimlt+5/ky2K6gYKfk5KAu9eFKtXddzdA4BwZqS8mlkTknj/7oQbQ0nD0bNM+veCPA3JUrsvpTuYcaQ0Uh8MKf9dbcZv X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BL2FFO11HUB040; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(520003)(5005006)(3002001);SRVR:BL2FFO11HUB040;BCL:0;PCL:0;RULEID:;SRVR:BL2FFO11HUB040; X-Microsoft-Exchange-Diagnostics: 1;BL2FFO11HUB040;3:FigTu5pn1iPEWEal+Af8E8BaEREhNkcrOneg+c5Qe7aXDjHw4UAg4MN+B1nb5NJyr+rBma+mINF7a0Jlmxp0nmiQB6Y8pTINe+nzBMJwSW5iO3o0OOMriNuOLpUmBLMtyvGv7C2Fbk0XXxGqLwsEJZWSNXn8HC5+RDc3nWC0xGK4JYICrA09T0Phir3pcKrwDvXWEwwMd2a3q3vmFpqdUhnEVc6KFO3OoGaImCKSX0HaVT3xnRFXXwHxjguS62LkJkFTSAD7Vx8vH/aMnnuuohnPpqPmCwIn3cVTuG5r3AerDi4pZsKawy6QQRBNeRMz X-Forefront-PRVS: 06022AA85F X-Microsoft-Exchange-Diagnostics: 1;BL2FFO11HUB040;9:qDAztAaib7rhjyih7Th2qxLgEeEmR6efUhtdGkmgOkLrwA9jcO5mjlQJc9debPzg/Qbenu4vMtJNaLNR2ZNxhZJ/baO/HX1Rx80P6za94RruFtNA2pwOnpEpoOVG1DeVnDh9KGcdNtnmvajv2iEPVPjQwY9Hg8+x0/r7P8dakwDPptaq/GrZDRC2z13Q/ekSPaMHlScY0uRBuLpUlFRA8lM+e1U4qj1hlbTPfFTXoyDRkbCiuNTVseUkbY58mcXUpYw5UjlE55A52E02lgV5CLUJTjg3H2l4aFGEtvSF0kNqDQ2G/Tdb3Kj27rlqYOvIWxYwVjTQEZWU4tRLf4hNaMX8k+B14AFowFvR6cb8E9wxGWcdvtodvJ+3Z47ywSVFLfxZ6p93oa9kMygliETrNQ2M0tjcVUrLTadyCHVP07shjRvwadXYOEkOvfvwePlmvEWDEFQno+z2OzZjUMKcD837RZl4hHIZM9ojrQxlsK6A4k7w8mV1wfeI3BCaW+KVezs+CPLtHXDf63BnRdDsF7hVGCHEYIuYrEdXLRjuk/dT2xUYsK6ayfwdc4E3Mo8cLBu4ixc/D5QSeSzDx+qBKTELFnaGFpMIP7Dcd4HpG7U6lysxsumXPd3DCagAuHHv7c8w9KyxX8N+48uY+WKuSesGJS2fmBGB+92lM2YnT0cR/anyR81uikHrPPx0imp34A2MO+Z96pytoBCUU8EQVRjLtYGNU5UUGgweI88onLjrg2o0Xp8vQ1j+hT5emd0eQI30KB9AaXCvhTbv/ui+5c81mCvwqG07hFwHZJ4THTmC0cHEATwNDndVMIMJ6RYhzFHE47SIbuM+LY+2RsUc8Q== X-Microsoft-Exchange-Diagnostics: 1;BL2FFO11HUB040;3:Kl7txLgzhrkZnoldjB1/rl2SfyusOvoyeY3LtKjSbt0ZIh28Xp1ZC0DFZpF0Pea7gu3Gw+30EwzXsZjc5SCumSH5w/5pkTYtTKZy20WRo0hp2KEGe6TsVe16txClnIrTQ3lTAaKuAWZxPznxORDo0g==;10:XGvXP8NnxREeCiIBQJNLsxO0UppDgsnhpo76JgwP2ziRzVM4EGmda8A1QaSMNSUnXKB7gInVdiqcUjoYV/hwhPBvmngMqz0M+ZCtzVOhpKw= X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jun 2015 07:32:00.7328 (UTC) X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c;Ip=[149.199.60.83];Helo=[xsj-pvapsmtpgw01] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2FFO11HUB040 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1023 Lines: 23 This quirk will support controllers whose clock divider zero is broken and if the calculation results to zero, forcing the divider to next value. This is tested on zynq ep108 and enables support for UHS cards where formatting cards fail. Added few quirks to arasan platform driver as the base clock reported in registers is broken and preset values are broken too and tested on zynq ep108 platform. max-frequency devicetree parameter is alternative to get upper limit . Suneel Garapati (2): drivers: mmc: add quirk SDHCI_QUIRK_CLOCK_DIV_ZERO_BROKEN drivers: mmc: add quirks for broken clock base drivers/mmc/host/sdhci-of-arasan.c | 3 +++ drivers/mmc/host/sdhci.c | 4 ++++ drivers/mmc/host/sdhci.h | 2 ++ 3 files changed, 9 insertions(+) -- 2.1.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/