Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp433559imm; Wed, 29 Aug 2018 03:48:55 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZrayIFDDr4mZS587r8eJ99Dj6vMf8ROHJvjWSoBUC1g/k6M7A7SE0d+JDAUv0S6+OtZJpn X-Received: by 2002:a62:ce81:: with SMTP id y123-v6mr2134718pfg.140.1535539735119; Wed, 29 Aug 2018 03:48:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535539735; cv=none; d=google.com; s=arc-20160816; b=K04GNfluKbhhSc2pQxuH2IL0haH0taLUyxtyMVSfremwPxJKldsV6NNQVHOl4233Kf m2oyhQjI51P2nUevq+9QmbN1VNiEN/KnIOuYaHQ/ub0rKZaIzmtRejbnbk6Ok8FDVzgR 2+WY0LuVvdC2OSxrP5Ybap0OmiU1cFI3VuR3yoFZ0xW4jWILNJyJeFp8kwuRJfAFYLQz 6DTFFbcSYG/EQaE8KCdz9C26vSOzUPT0FYkJikIjsE6y7oZAcH3PybXuKuyWkC1/CBAE xXWOtP2P2D6ndsbUYWDdWktuB8UtcEgM5VnPXF2+n4U3w8kq0QaQ+8nL6GWdM7cmveza z93Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject :arc-authentication-results; bh=jNh4dEV3Tvz2e4aq1qQw5otA2A9JVqWxwC4g0zZRpqk=; b=j0akhIxUyvnsrAasPtxg0gwlVvMeVvUOxfbCrhi3E5YiEV1BOpgq9iSj4MXwqGRmht olexFS1PKcxULYaFILXhafh95LKeZI1eKfSvBMGxx5aStXFW8IwEqVt9HKzP/ouAKFeY huHqzMvbewb1wFsfrw6GVqoIOkgncAjmilFoAAC26yU/1SLM6H0iWE9nDcMDxkRxOXlX Xro9b28iDv6GujX9engdN8gI05U9lURvM47uhAgzgNVLIlUC1DrInzHQN7TLxaRx8/r1 +Gt6Vjjzn+TjAtKlLfQsQrYI07ekHUApRAflqc9+HHVfFyTmJ0RgWRvboEt6bohb6kvP MXRA== 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f1-v6si3511127pld.174.2018.08.29.03.48.33; Wed, 29 Aug 2018 03:48:55 -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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728340AbeH2Onp (ORCPT + 99 others); Wed, 29 Aug 2018 10:43:45 -0400 Received: from mga12.intel.com ([192.55.52.136]:22375 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726858AbeH2Onp (ORCPT ); Wed, 29 Aug 2018 10:43:45 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Aug 2018 03:47:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,301,1531810800"; d="scan'208";a="66029302" Received: from ahunter-desktop.fi.intel.com (HELO [10.237.72.98]) ([10.237.72.98]) by fmsmga007.fm.intel.com with ESMTP; 29 Aug 2018 03:45:38 -0700 Subject: Re: [PATCH V7 1/9] mmc: sdhci: Add version V4 definition To: Chunyan Zhang , Ulf Hansson Cc: linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, Orson Zhai , Baolin Wang , Billows Wu , Jason Wu , Chunyan Zhang , Chunyan Zhang References: <1535526184-32718-1-git-send-email-zhang.chunyan@linaro.org> <1535526184-32718-2-git-send-email-zhang.chunyan@linaro.org> From: Adrian Hunter Organization: Intel Finland Oy, Registered Address: PL 281, 00181 Helsinki, Business Identity Code: 0357606 - 4, Domiciled in Helsinki Message-ID: <9d53bcea-aac3-2a72-74ba-8c0ada0c5961@intel.com> Date: Wed, 29 Aug 2018 13:43:57 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <1535526184-32718-2-git-send-email-zhang.chunyan@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 29/08/18 10:02, Chunyan Zhang wrote: > Added definitions for v400, v410, v420. > > Signed-off-by: Chunyan Zhang Acked-by: Adrian Hunter > --- > drivers/mmc/host/sdhci.c | 2 +- > drivers/mmc/host/sdhci.h | 3 +++ > 2 files changed, 4 insertions(+), 1 deletion(-) > > diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c > index 97e4efa..01bf88c 100644 > --- a/drivers/mmc/host/sdhci.c > +++ b/drivers/mmc/host/sdhci.c > @@ -3508,7 +3508,7 @@ int sdhci_setup_host(struct sdhci_host *host) > > override_timeout_clk = host->timeout_clk; > > - if (host->version > SDHCI_SPEC_300) { > + if (host->version > SDHCI_SPEC_420) { > pr_err("%s: Unknown controller version (%d). You may experience problems.\n", > mmc_hostname(mmc), host->version); > } > diff --git a/drivers/mmc/host/sdhci.h b/drivers/mmc/host/sdhci.h > index 732d82f..dbd48a8 100644 > --- a/drivers/mmc/host/sdhci.h > +++ b/drivers/mmc/host/sdhci.h > @@ -270,6 +270,9 @@ > #define SDHCI_SPEC_100 0 > #define SDHCI_SPEC_200 1 > #define SDHCI_SPEC_300 2 > +#define SDHCI_SPEC_400 3 > +#define SDHCI_SPEC_410 4 > +#define SDHCI_SPEC_420 5 > > /* > * End of controller registers. >