Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1144335ybh; Thu, 12 Mar 2020 18:12:48 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsO/iAp0OY8ZcxJEkxU+gtk35vM98E+wlc8Jhye6OrCVxn8dhAVEAKH8KBnCXA5ETQa8YE9 X-Received: by 2002:a9d:6457:: with SMTP id m23mr8989185otl.162.1584061968038; Thu, 12 Mar 2020 18:12:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584061968; cv=none; d=google.com; s=arc-20160816; b=Xnzay8CaMhNBNVbZP29skgjo4565Rd5nNDK8savsybL/yTVagLdP9rOfigD9M3y1JM nmD4nsaRT1U+cAgzPmk82kAgHza/qHbq1z/FeGlp5FFx7bKBpj9GC0WYrFmv3mJhHG9/ 73kGi90WhJn+VPsTYvipTdsyUFk2gny7rNTAoBbUT7R2Dulwl0MjVaijrAXyGEhXUwkX gG9RFsHMPVAuZhWh6A93sSJmyidKVO1rS2Ai7t+ksUsvFjIefT8ydVO9vQZWeXQ0/91H U5MfNbYxclNTVhpEjCRXHDhYcuIrWAo38MDhkD20c7b7BIVaMn8/ZzvxeJCsWsVx+k07 0qkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=WQbMCJ65f2TyXJ8ZQ5LpK0swY2bTxKhl2kWonRDVGlg=; b=LQ+4kOACEoXvhExLPBLZ3cLsU13MNnpmz02Om32HUKPZGD5XkjnUKSiHni6T3RFiL9 qSZyFujwdBa7mKC6AuERoNXXOUzR+LMQJj2Hb0BD2xYeaudJ87KY3Czf9mWxrBoIESA9 4D+C3M1sOMIXzIWTEl1pSa3wAhkwT3sAKKd8shHVfREeuAD1J2b3ifN2hFJnUo3Po4l8 SMgH2nPeSQJO3VmsBiymdex/kk8lNtTEF1qraKvv95wzP3T79DDDN6AdN8U0a4jaJdan ix1bg0pXx89iuZl71GxsGNEia4BPA8rNL+C29H07KliELDZ+5L+69x4IZkFmsPdMZRsz s94A== 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=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e6si4051444oti.166.2020.03.12.18.12.36; Thu, 12 Mar 2020 18:12:48 -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=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727234AbgCMBL1 (ORCPT + 99 others); Thu, 12 Mar 2020 21:11:27 -0400 Received: from 97-93-29-23.dhcp.snlo.ca.charter.com ([97.93.29.23]:54452 "EHLO skomatineni-linux.nvidia.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726647AbgCMBL0 (ORCPT ); Thu, 12 Mar 2020 21:11:26 -0400 X-Greylist: delayed 91210 seconds by postgrey-1.27 at vger.kernel.org; Thu, 12 Mar 2020 21:11:25 EDT Received: by skomatineni-linux.nvidia.com (Postfix, from userid 1000) id E04C81040078; Tue, 10 Mar 2020 17:20:31 -0700 (PDT) From: Sowjanya Komatineni To: adrian.hunter@intel.com, ulf.hansson@linaro.org, baolin.wang@linaro.org, kstewart@linuxfoundation.org, tglx@linutronix.de, bradleybolen@gmail.com, gregkh@linuxfoundation.org, thierry.reding@gmail.com, jonathanh@nvidia.com Cc: skomatineni@nvidia.com, anrao@nvidia.com, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org Subject: [PATCH v2 2/2] sdhci: tegra: Enable MMC_CAP_WAIT_WHILE_BUSY host capability Date: Tue, 10 Mar 2020 17:20:30 -0700 Message-Id: <1583886030-11339-2-git-send-email-skomatineni@nvidia.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1583886030-11339-1-git-send-email-skomatineni@nvidia.com> References: <1583886030-11339-1-git-send-email-skomatineni@nvidia.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Tegra sdhci host supports HW busy detection of the device busy signaling over data0 lane. So, this patch enables host capability MMC_CAP_wAIT_WHILE_BUSY. Signed-off-by: Sowjanya Komatineni --- drivers/mmc/host/sdhci-tegra.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mmc/host/sdhci-tegra.c b/drivers/mmc/host/sdhci-tegra.c index fa8f6a4..1c381f8 100644 --- a/drivers/mmc/host/sdhci-tegra.c +++ b/drivers/mmc/host/sdhci-tegra.c @@ -1580,6 +1580,8 @@ static int sdhci_tegra_probe(struct platform_device *pdev) if (rc) goto err_parse_dt; + host->mmc->caps |= MMC_CAP_WAIT_WHILE_BUSY; + if (tegra_host->soc_data->nvquirks & NVQUIRK_ENABLE_DDR50) host->mmc->caps |= MMC_CAP_1_8V_DDR; -- 2.7.4