Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2209292imm; Thu, 16 Aug 2018 06:50:42 -0700 (PDT) X-Google-Smtp-Source: AA+uWPy56AJbsFYGqxQRWSqRtGjYwjqdGnnJ+i+bHvw9F/4yF6jiLeNdlh8FhkQ52ovcaptRZxjh X-Received: by 2002:a62:a6db:: with SMTP id r88-v6mr32376317pfl.60.1534427442013; Thu, 16 Aug 2018 06:50:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534427441; cv=none; d=google.com; s=arc-20160816; b=yqoeYW0TxBThQh0xQCbjr+t6fPoYHxFuX5V5qaDOemX9QPaVtEp3r7YIAo3FTSkgyu 2SxZss2vb565mGHX4Grd0HTVnZpxlF11pZHaEvYLNC804aD2f6vvxkOZMYJ8E+M+UCix StHxvVRA7OGk+uqX5UgbT4SIa+fa52sDN9MYG2vvdpO77IfyJvbCTqj27B5L+/qTUlNh qRQ1NPxXkMLdvwWsRr9bljK9zzQ8jrAA0AGN53e8mcsbAJSHVRdSb5pkGiAqCdrUIR27 x3NTtPsN3TIcAB8xs3f1RX/c7W2lVrlBivuJ/TbJ2jJFRfnlGzxRQqS1tYyhLnrzdnMs b3Rg== 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:dkim-signature:arc-authentication-results; bh=GsEzQ7lSqbmfxpWd258e2/q3aWNtngoojSJwB6WE4qw=; b=mbH8iiVx6eI+slOz5BRJ3ouwjCuINa/d2o96U5b2SAaO7LGGiuCE37ki8cga1u0q6V rr0e7V1nePe05InEK60ZOA3QnjND37ynMtrzm6YTASlFhZ4a/q1oOlu17AbnEgjtCxIj ajddoWHZhUsKUML2ONp9KjQoRIGmMoeEFH+WItHsScjB2PSG7u+zwdnB0Ebdy0aMbALm SxUz97GzTbOZTs/2qaHC4y9CE/7Vg6eOnQqdjkMSlUUwMdFFktywJvt+RAikdosl2nOq uUp8KemKAedsJ1+7fa29D+6qeNayH3nP399ffvWaznpDYkUSm4VwVshJbkMkqcsSoZcP Q57A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eujLU0C4; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i123-v6si26003958pfe.145.2018.08.16.06.50.24; Thu, 16 Aug 2018 06:50:41 -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; dkim=pass header.i=@linaro.org header.s=google header.b=eujLU0C4; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389558AbeHPKwD (ORCPT + 99 others); Thu, 16 Aug 2018 06:52:03 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:37784 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389543AbeHPKwD (ORCPT ); Thu, 16 Aug 2018 06:52:03 -0400 Received: by mail-pg1-f196.google.com with SMTP id n7-v6so1690418pgq.4 for ; Thu, 16 Aug 2018 00:55:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=GsEzQ7lSqbmfxpWd258e2/q3aWNtngoojSJwB6WE4qw=; b=eujLU0C4+JUe/hyhRoQ5nTiOaYS1e29W4GzEUIREvLlyapwKrqbuSiIogff2g1m2zx TUeuQ3gz9UPGej9JO3AUWvbMmeE8kr+9ZHODhh8M2gkgaV3H39aDOCtRv6H+6dni01wX o92F0bEtJ/O0376BjbiEGphmyPsohCiedh0ug= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=GsEzQ7lSqbmfxpWd258e2/q3aWNtngoojSJwB6WE4qw=; b=qP5xaCsjC7BLFBx60WTOOixKSOyhSqF2Juf04WyqOHpGEy7QRe1HX2CaHPVcTG+auJ uoXNZ3MZAU9jB4MBDwyLpac1ql2pa61HBcNOnzAkwtZiifA1uhyj7UfblRhs9b2yBYOC wirKGG8ySYpGz5q9vubNQnAEfbmcnJr7b730V0GP52MJtOgp1M4sU6r6oxmtT0Wxa6Qv ZtG38At7eG21FbXYe2zREDT1qCDm8DMBKr22bRzOPzTjphWn7R6cse3FHbB9VS0mKzX2 lhNqPbGdhe9RinxggnH6AL/RpFydfBLb5FSXRAKK4XfImHljchxSo8M3T5d5U8fwwFpt wCCw== X-Gm-Message-State: AOUpUlFopwUabqCujz8VcqR/ZYYSyoatwe7uSkcOEst1Ppja/sNxOVI6 nXIYI2/NqXvjmxVerpsJHc23HA== X-Received: by 2002:a62:c0c4:: with SMTP id g65-v6mr30849687pfk.72.1534406122151; Thu, 16 Aug 2018 00:55:22 -0700 (PDT) Received: from ubt.spreadtrum.com ([117.18.48.102]) by smtp.gmail.com with ESMTPSA id i25-v6sm50838137pfi.150.2018.08.16.00.55.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 16 Aug 2018 00:55:21 -0700 (PDT) From: Chunyan Zhang To: Ulf Hansson , Adrian Hunter Cc: linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, Orson Zhai , Baolin Wang , Billows Wu , Jason Wu , Chunyan Zhang Subject: [PATCH V5 01/10] mmc: sdhci: Add version V4 definition Date: Thu, 16 Aug 2018 15:54:15 +0800 Message-Id: <1534406064-10065-2-git-send-email-zhang.chunyan@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1534406064-10065-1-git-send-email-zhang.chunyan@linaro.org> References: <1534406064-10065-1-git-send-email-zhang.chunyan@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Added definitions for v400, v410, v420. Signed-off-by: Chunyan Zhang --- 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 1c828e0..ca04834 100644 --- a/drivers/mmc/host/sdhci.c +++ b/drivers/mmc/host/sdhci.c @@ -3500,7 +3500,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 23966f8..31c865e 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. -- 2.7.4