Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1538340imm; Fri, 7 Sep 2018 01:52:46 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZPFImN6xi4QoGYf4K+sR/5YNl2Wc8YYN9v0TsBD47UVU4LyJBBnct3nu0/rSghtZhGqLp3 X-Received: by 2002:a63:5204:: with SMTP id g4-v6mr6980275pgb.274.1536310366512; Fri, 07 Sep 2018 01:52:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536310366; cv=none; d=google.com; s=arc-20160816; b=nW3t5r0oKCXhPnaYGA1KR473xmf0TntYF3MzCBJ8QLeT6vAXdAtDSKP/nZya/JrCzI o7XUVbwAMvDAPRSiHtuedSn0dW92H85rZ4I3rxPIRa6eCZgIecydQ6TuGixmZJkCp7s9 VIkn/QJKWAjHJLXOSULh2fuPUGIo+wO+FeV56LYBPUMk82TSr7fAIU8zpev21rGYF9yG GYfz59s8OI9D5kHAn9huacXUUop57qChnSq0fJuvBDXrWT68Sk7Da82FFcwv48UXoP5l IlEX1Hw/ti4UTbK+UdiJii3x6wG7svVmXKY5eDaaN+/KEAmEh+R54Na/a48wKhW55jQY /RDQ== 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; bh=4pIKyMPKKSnb7/xtYPH+wKT3CsWlu6Aj86WRcZ9z3F0=; b=FSqe8yxLniTRCsw5eT1FPWdcNk+MxE9CzHj1iJ5bpoUa7FDO71Vu5q5VwM2H2eRV89 WUljIVX52Gbo7xOHlgxxduMd8zHIFFOt04wUyDWMikEHKMsrSFmnaR0rq2PPDiKJgfUx NUSuQsEYBJ5nnxaemDjp1+4vIc5Gk+aolINZDr50OSSQ+RDFLZ9ii/klfP2dIqq6/u4L 7Ht+l/mrR0LE+tJQuiimfCowPqQwn8xWINZ4luCBUUnwQLdTqI6tUYTbQq6RRYQ7bH7B jxPFNh/Qq/sMbaeBGIDNqCNx60J9cEfHrA2ztHmmfA5xm/+/aCQrGl0PRBAbq8G0DOaX dKzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WJwq4Wvf; 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 a20-v6si7584492pgi.184.2018.09.07.01.52.30; Fri, 07 Sep 2018 01:52:46 -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=WJwq4Wvf; 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 S1727764AbeIGNbW (ORCPT + 99 others); Fri, 7 Sep 2018 09:31:22 -0400 Received: from mail-io1-f66.google.com ([209.85.166.66]:33679 "EHLO mail-io1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727705AbeIGNbW (ORCPT ); Fri, 7 Sep 2018 09:31:22 -0400 Received: by mail-io1-f66.google.com with SMTP id r196-v6so969794iod.0 for ; Fri, 07 Sep 2018 01:51:26 -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=4pIKyMPKKSnb7/xtYPH+wKT3CsWlu6Aj86WRcZ9z3F0=; b=WJwq4Wvf42/1h/3oADQzdUZq4mrCY45zQUizaauAvdngAJHGjIzY4J9Q3c2sUYFJWA UJKD8k7hiZlMW6vZDOk8vSHL6G/LBp4/5phV/5GeUod2uI9MUcB/EyEgqLkEaQZORW99 p4CG9NgfM4U+2i/ddYyVde6Y7Olsodu85ISaE= 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=4pIKyMPKKSnb7/xtYPH+wKT3CsWlu6Aj86WRcZ9z3F0=; b=Cov1ACMvO9ueWwJlZ+IdXRGwiPM5PeupIu4/tMwX4ggKjNDa+VfI8M5BvGjoAe7knQ IrWsOw62j7LP9BIwkQ86JpyBKL0u9yW3aBWhjKaNEhYSzmYYxXAvXz9ZNYElCF4DZl27 0nsHBDPhWN+mG70Cln8KTG3Wehz633UNozJ5lhWEtd2QjcWiUXtrZ/kCzararlHGnXS4 3Tl/b7eNaYUYhKtECGJhLA3wGDwEJdJyY7mPp3ZHCnRnWJbe6ZLvbJ4MXycVk/l66BxL X0K2T3HgZZegJCS1cQzU7088HMoWrWUrFIKisNV7WlcZNP7re3bKJzs1LuWD508XwRzw Zzyw== X-Gm-Message-State: APzg51C3aFannpDs2AYAKjsDluhXr2r5dsCE0A2KAdlrJ1vWLcxYQT8i IiZ80IINFB4t47+7GRFbL0LlgN/0atjd/I/A25zAaQ== X-Received: by 2002:a6b:c995:: with SMTP id z143-v6mr5439279iof.266.1536310285577; Fri, 07 Sep 2018 01:51:25 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a02:4f9a:0:0:0:0:0 with HTTP; Fri, 7 Sep 2018 01:51:25 -0700 (PDT) In-Reply-To: <1535617305-16952-1-git-send-email-zhang.chunyan@linaro.org> References: <1535617305-16952-1-git-send-email-zhang.chunyan@linaro.org> From: Ulf Hansson Date: Fri, 7 Sep 2018 10:51:25 +0200 Message-ID: Subject: Re: [PATCH V8 0/9] mmc: add support for sdhci 4.0 To: Chunyan Zhang Cc: Adrian Hunter , Rob Herring , "linux-mmc@vger.kernel.org" , Linux Kernel Mailing List , Orson Zhai , Baolin Wang , Billows Wu , Jason Wu , Chunyan Zhang , 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 On 30 August 2018 at 10:21, 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. > > This patchset also added a new sdhci driver for Spreadtrum's controller > which supports v4.0 mode. > > This patchset has been tested on Spreadtrum's mobile phone, emmc can be > initialized, mounted, read and written, with these changes for common > sdhci framework and sdhci-sprd driver. > > Changes from V7: > - Added Adrian's acked-by on patch 1-6; > - Addressed comments. > > Previous patch series: > v7: https://lkml.org/lkml/2018/8/29/130 > v6: http://lkml.org/lkml/2018/8/24/205 > v5: https://lkml.org/lkml/2018/8/16/122 > v4: https://lkml.org/lkml/2018/7/23/269 > v3: https://lkml.org/lkml/2018/7/8/239 > v2: https://lkml.org/lkml/2018/6/14/936 > v1: https://lkml.org/lkml/2018/6/8/108 > > Chunyan Zhang (9): > mmc: sdhci: Add version V4 definition > mmc: sdhci: Add sd host v4 mode > mmc: sdhci: Change SDMA address register for v4 mode > mmc: sdhci: Add ADMA2 64-bit addressing support for V4 mode > mmc: sdhci: Add 32-bit block count support for v4 mode > mmc: sdhci: Add Auto CMD Auto Select support > mmc: sdhci: SDMA may use Auto-CMD23 in v4 mode > mmc: sdhci-sprd: Add Spreadtrum's initial host controller > dt-bindings: sdhci-sprd: Add bindings for the sdhci-sprd controller > > .../devicetree/bindings/mmc/sdhci-sprd.txt | 41 ++ > drivers/mmc/host/Kconfig | 13 + > drivers/mmc/host/Makefile | 1 + > drivers/mmc/host/sdhci-sprd.c | 498 +++++++++++++++++++++ > drivers/mmc/host/sdhci.c | 223 +++++++-- > drivers/mmc/host/sdhci.h | 28 +- > 6 files changed, 754 insertions(+), 50 deletions(-) > create mode 100644 Documentation/devicetree/bindings/mmc/sdhci-sprd.txt > create mode 100644 drivers/mmc/host/sdhci-sprd.c > > -- > 2.7.4 > Applied for next, thanks! Kind regards Uffe