Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp6788130ybh; Thu, 8 Aug 2019 05:45:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqzA9y5jTQhHyOBzZbsK3Sm5aqlmsVdBqABEuMuB7ceCevkb4lK6W+z3NJWMzKaTkWim65yh X-Received: by 2002:a63:121b:: with SMTP id h27mr12627128pgl.335.1565268300241; Thu, 08 Aug 2019 05:45:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565268300; cv=none; d=google.com; s=arc-20160816; b=mYzIWf1CP9qVAZ7121IREC5TQpXVUnri7OB9BHOFGtGcsCL6gPypK2sroxTjKCzDOY VHjqdZmo+0paaU5qiHEhoiKsYrMmQa5mAZczo31wb48tjdwv3xBaAIOSWiXIaF3yoIeS zhA1s2GQT67go1lXKzgRMvbheQDqluKEaXiRChFtLrfQis8LPZIExX4IULjckSGR+guN lidnEubnTVTllmA5hgZZvQMIENjeK8hEtfLrZYIYIZdW0882xYE/DTE2D7P9x5G4tJgq 9BiA3IiTetJg8Q5T/tRi3yxsRIOdbgzgBaVz7s/S4eNzPqLKUanvSfVcRKpGGzi7lfN+ ++Uw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date:ironport-sdr; bh=0PC8acZV78L/iuVVgYyjsWAJD5+5c48V4tLbVIZVF1U=; b=E+RGA+cU56QrU1EGwIGMr0uClus4VT9/s3XjoCS8E/eobyiIHPjCCMRFZgIbKHL/rU GI2GuK6mE+Vf+rrdC1m0QTsvjvWBTzjamsSh+qJIPAbwSmc1EDWYHqy9xTUjhi2vo2GA 0UmyeUTSfqFOFFiyww23WormHALYefmAFtbwuNYFxzQlaoAnI2QlE0RejWDbzX3ptGQ5 IfT5a+/6OESh58lUZTUIWwjb77m7CAYrAdq4AgueygtnVqX+rSTkv0Ck9/FVlxzkU7z8 pWGkYxcgNnPtxzXWYINOft3akuh5ItVOaLFigwz7/TfILPioxIIanv03ti8n0XSALBWD WKnw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=microchip.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h11si1987516pju.90.2019.08.08.05.44.43; Thu, 08 Aug 2019 05:45:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732507AbfHHMnn (ORCPT + 99 others); Thu, 8 Aug 2019 08:43:43 -0400 Received: from esa6.microchip.iphmx.com ([216.71.154.253]:6617 "EHLO esa6.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728120AbfHHMnn (ORCPT ); Thu, 8 Aug 2019 08:43:43 -0400 Received-SPF: Pass (esa6.microchip.iphmx.com: domain of Ludovic.Desroches@microchip.com designates 198.175.253.82 as permitted sender) identity=mailfrom; client-ip=198.175.253.82; receiver=esa6.microchip.iphmx.com; envelope-from="Ludovic.Desroches@microchip.com"; x-sender="Ludovic.Desroches@microchip.com"; x-conformance=spf_only; x-record-type="v=spf1"; x-record-text="v=spf1 mx a:ushub1.microchip.com a:smtpout.microchip.com a:mx1.microchip.iphmx.com a:mx2.microchip.iphmx.com include:servers.mcsv.net include:mktomail.com include:spf.protection.outlook.com ~all" Received-SPF: None (esa6.microchip.iphmx.com: no sender authenticity information available from domain of postmaster@email.microchip.com) identity=helo; client-ip=198.175.253.82; receiver=esa6.microchip.iphmx.com; envelope-from="Ludovic.Desroches@microchip.com"; x-sender="postmaster@email.microchip.com"; x-conformance=spf_only Authentication-Results: esa6.microchip.iphmx.com; dkim=none (message not signed) header.i=none; spf=Pass smtp.mailfrom=Ludovic.Desroches@microchip.com; spf=None smtp.helo=postmaster@email.microchip.com; dmarc=pass (p=none dis=none) d=microchip.com IronPort-SDR: UhMqoEB7R5wKP2mt2+WYc0BEl2Chih+xj1GWZXKExMYR0S5CsQboqsYaxz6b4JkkAXTIMUbk2U T0EaEXKPbvMlBWnKJcWXV/9Kx0RPRGisaWsIF1FFhhDmPJ9oW2hUr9GdsD5/OezDS12Rjt/ru1 o7dOp3ot1ReAQxiM05xerQMZswlaTYtqPjEc90WN8p+jexQYMpnSjTyjwOXZOzBVMGoiXFiXIP 0yNslWnYEn+Y8mlXsimrPRn5mjtB1XjbzNW83CHyj6PQi3aLgO0bUzXmJOmi6AW88eAMRfrOej nFk= X-IronPort-AV: E=Sophos;i="5.64,361,1559545200"; d="scan'208";a="41506438" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 08 Aug 2019 05:43:42 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 8 Aug 2019 05:43:42 -0700 Received: from localhost (10.10.85.251) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.1713.5 via Frontend Transport; Thu, 8 Aug 2019 05:43:41 -0700 Date: Thu, 8 Aug 2019 14:42:38 +0200 From: Ludovic Desroches To: Eugen Hristev - M18282 CC: Nicolas Ferre - M43238 , "alexandre.belloni@bootlin.com" , "adrian.hunter@intel.com" , "ulf.hansson@linaro.org" , "linux-arm-kernel@lists.infradead.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-mmc@vger.kernel.org" Subject: Re: [PATCH 1/2] mmc: sdhci-of-at91: add quirk for broken HS200 Message-ID: <20190808124238.qui3rhk3t6dabbk7@M43218.corp.atmel.com> Mail-Followup-To: Eugen Hristev - M18282 , Nicolas Ferre - M43238 , "alexandre.belloni@bootlin.com" , "adrian.hunter@intel.com" , "ulf.hansson@linaro.org" , "linux-arm-kernel@lists.infradead.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-mmc@vger.kernel.org" References: <1565252928-28994-1-git-send-email-eugen.hristev@microchip.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <1565252928-28994-1-git-send-email-eugen.hristev@microchip.com> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 08, 2019 at 10:35:40AM +0200, Eugen Hristev - M18282 wrote: > From: Eugen Hristev > > HS200 is not implemented in the driver, but the controller claims it > through caps. > Remove it via quirk. > Without this quirk, the mmc core will try to enable hs200, which will fail, > and the eMMC initialization will fail. > > Signed-off-by: Eugen Hristev Acked-by: Ludovic Desroches Thanks Ludovic > --- > drivers/mmc/host/sdhci-of-at91.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/mmc/host/sdhci-of-at91.c b/drivers/mmc/host/sdhci-of-at91.c > index 57fe3b2..3a8c6d8 100644 > --- a/drivers/mmc/host/sdhci-of-at91.c > +++ b/drivers/mmc/host/sdhci-of-at91.c > @@ -370,6 +370,9 @@ static int sdhci_at91_probe(struct platform_device *pdev) > pm_runtime_set_autosuspend_delay(&pdev->dev, 50); > pm_runtime_use_autosuspend(&pdev->dev); > > + /* HS200 is broken at this moment */ > + host->quirks2 = SDHCI_QUIRK2_BROKEN_HS200; > + > ret = sdhci_add_host(host); > if (ret) > goto pm_runtime_disable; > -- > 2.7.4 >