Received: by 10.213.65.68 with SMTP id h4csp1112540imn; Wed, 21 Mar 2018 03:00:26 -0700 (PDT) X-Google-Smtp-Source: AG47ELtM7biNW5ouRsOoie56dJHX78vOidF6oHU/lWYjC3jyT+vw5GtvY+ayMojwXk/uXUTXxeZF X-Received: by 10.99.7.138 with SMTP id 132mr11044715pgh.45.1521626425963; Wed, 21 Mar 2018 03:00:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521626425; cv=none; d=google.com; s=arc-20160816; b=GPdj+SkuQ9Vi+qiMAk+HnkzNiBE07CdHRctvnYieiPVRUF8fNc8cDOUdRs4LG2V4hC /OnE1lKcJDFvwT5uhKFpUyFQiOQA4ld9kFuyF452wwkvOhKG/pas393Vz+Ybw8KkizmE fgEmBOPZTs5xeY9GrkWth6jkZIgGIIAeEv6vlXUyXGOJPycelRpO2ki3A3o0cwex/zHH qrGT5sbVb1xB7PpY8ig9Gh3bAk9wh/wUWNw1NK7a0ktvnlP09Q5AXvtmQwCsNJoIKIxp 0PeM6mYHQp29iIdOyyUIW8WaAPZna7NXXWJqsGcigqBSUfWXoZZ4XSHSbAlh3TLbmzVJ QCXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=1S5cZ9MHkPnnE9u3I66cRaEw2mc7+6daC+9gs9Pv12k=; b=g6vc8JNFAq1cL5iGRIx7r2BjhAqBslJbyHkBZy8G+G9G0hGictbkaLvN1NpjG8CgV5 njqaHFhnQFBZaR4NeChAuosiISiaGP9wZfZXlH83FSEAGLiID2gb0aom0xZi+RhWHxCS Un9EW9o1OzMVJpCvq1HVOLr4nO4gwttrb01GFtxuUssBXF6CinrZVS3zzXtJt/Jn4ENO RsHWj0WLIgguz/DqBALSRzJ8S2CGDmb+V+okuVIMNW8B2kU7sb+5Er1oEG3eFL0KCxD3 u12QN9PdW3hRJXnafGEmA+Jypa8gtYyTICAKcvoKGm2jhTLWPAbD51SJjshcKsN+mC/k EMZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CG/Yokkg; 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 e26si2759460pfi.171.2018.03.21.03.00.12; Wed, 21 Mar 2018 03:00:25 -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=CG/Yokkg; 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 S1751817AbeCUJ6z (ORCPT + 99 others); Wed, 21 Mar 2018 05:58:55 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:39059 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751459AbeCUJ6w (ORCPT ); Wed, 21 Mar 2018 05:58:52 -0400 Received: by mail-wm0-f67.google.com with SMTP id f125so8594348wme.4 for ; Wed, 21 Mar 2018 02:58:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=1S5cZ9MHkPnnE9u3I66cRaEw2mc7+6daC+9gs9Pv12k=; b=CG/YokkgfpDyRX0/sv7yuDbMdna/08ZGhslVqbMCnMFArYSioKu731gUanzzDdfTsO uTDdSzshLC99g/F05ZOvXNYxQFwbf+tyJV1MMoBPv3koj3FhToZ8DeiWrqFF110Pe+KT 1eoQ7z1MZ7eIntJ8XTGa8ogCFqzcXbjzo8Qxk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=1S5cZ9MHkPnnE9u3I66cRaEw2mc7+6daC+9gs9Pv12k=; b=kASKFWX4zzAGg19F1q06ZxFmQWlW2l6dZk+dp6Vhfwo2hx1TnfddTwgxCHmRchD4GU lAGeusV5J/wl/55L6Ul6JLQ6Wot1c9YeMRr9VNJ953liLy0o9cJfRViUgfT57PEFtfSA lqnjrcoPGe+zHWZqnQ9ELZK0s1GxFjpIG/VaJOjuanuYEULp2Iyw1R17zJBLMkfcH1Nf zr2lrmLtGYQEGg0nCPfMgep+yPqiw3V4RsigzkDbi6mLINkKN987uwFV7xFXsZxMzyWb iO2sLnJMsmtlaUlM0BSREmMKtRYs2CDPuejFX8Vg1XJfWGxU1P1NUVTbGDOKC/Vp13NJ XELw== X-Gm-Message-State: AElRT7HPiqvGu3Sd4g8EAc1uxlY2El+9KwWm3I51c6MT8Brxu0J2ktdL zURz+cNQbOj0b8hpaCjg5SDV4tlfMzgMRuNOE07iZw== X-Received: by 10.80.196.73 with SMTP id w9mr5866089edf.293.1521626331145; Wed, 21 Mar 2018 02:58:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.157.13 with HTTP; Wed, 21 Mar 2018 02:58:50 -0700 (PDT) In-Reply-To: <2291348c-7338-f335-88b8-10dc308e7f22@intel.com> References: <1521534986-21907-1-git-send-email-zhang.chunyan@linaro.org> <2291348c-7338-f335-88b8-10dc308e7f22@intel.com> From: Chunyan Zhang Date: Wed, 21 Mar 2018 17:58:50 +0800 Message-ID: Subject: Re: [PATCH 0/3] mmc: add support for sdhci 4.0 To: Adrian Hunter Cc: Ulf Hansson , linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, Arnd Bergmann , Mark Brown , Billows Wu , Chunyan Zhang Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Adrian, On 20 March 2018 at 17:18, Adrian Hunter wrote: > On 20/03/18 10:36, Chunyan Zhang wrote: >>>From the SD host controller version 4.0 on, SDHCI implementation either >> is version 3 compatible or version 4 mode. This patch-set covers those >> changes which are common for SDHCI 4.0 version, regardless of whether >> they are used with SD or eMMC storage devices. > > Why use v4 mode? > > What driver is using v4 mode? Can you also post those changes? I believe there must be some out-of-tree driver using v4 mode, at least Spreadtrum's sd host controller is, as I know, and they're planning on upstreaming that driver. Those changes which this patch-set covers are just in the subject of each patch in this series :) > > Are you planning on adding UHS-II support also? Yes, that's my preliminary plan. BTW, this patchset should have prefix "RFC", I just forgot to add that. Thanks for your comments, Chunyan > >> >> Chunyan Zhang (3): >> mmc: sdhci: add sd host v4 mode >> mmc: sdhci: made changes for System Address register of SDMA >> mmc: sdhci: add ADMA2 64-bit addressing support for V4 mode >> >> drivers/mmc/host/sdhci.c | 66 +++++++++++++++++++++++++++++++++++++----------- >> drivers/mmc/host/sdhci.h | 29 +++++++++++++++++---- >> 2 files changed, 75 insertions(+), 20 deletions(-) >> >