Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1159102imm; Fri, 29 Jun 2018 12:28:05 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcD9lwLEmvISTjoK0GPTA1/NhQeOR6YjuRQi4iEe66bk9J25zyMK4Q+BywABMvKzFBZ+aXQ X-Received: by 2002:a62:2fc4:: with SMTP id v187-v6mr15880197pfv.100.1530300485351; Fri, 29 Jun 2018 12:28:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530300485; cv=none; d=google.com; s=arc-20160816; b=AZSxPbMcsSrT2yDxWBJAaVnCfLn2RmFx0i1cjIJjYPNjQ8wsCc1rQIXaAXp7Eanwg4 OgkrPqUyvNf+5p8xwAYL7ipKzHHi6I29K0IcNdT+16XpuktkN6RswkW/Q+ZzEspVMjNl RIug6YsRDrSZhjJ33guf2wZH6g/R/faDKGvTGYxof5XY/w5+deTncrZmKFAF4Jj30J6u 37hVUKTb20glqjtJb560VtE3l/bz5H8pC+vFDxL543nts2KDBhZ0/fZB/IKheXrneexb B6PfXmg1Q9maByInrOBMrdI+N6FJtmDgzy+pk5+UaFR2r6Fz6xvEZ2MTGd8mdvAk1FCr I0VA== 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=YGiYrVHsaqEVh/wCw9ukRBRw79LQDGpL1mWE/BeCD6Y=; b=fHzPNykOgXKR6L0RcKJ+66w/ChuIy3q0NtyaLVQtcOKghxil5n3Sjz8T/9COVG9D2x SDZ8K2iXsHNoY91wyM4YmlgU3koqxgTBJQZ8jVy+3ECRxVNvb3yCkyGslQCLoRFEcfdT Jmlo1zLie16XdZa8iQ5SeOX85fxUWVCHUULTg5MG8s5J7egvIHYB3/GruiT1hMHuXhBW /AI3BV6LKC909Lgfrzzo5vd9QBgZZpW+6mxW4wFT7enMwdf1kruHXq/o/XO+1bVkB5bp EQDqyj+mN5cJmrGo348WCviiFFzfA2Nfip0ANgJ7n/u5HqTARK0g3uRekqZZbygfLlOv UZkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iiXuQVks; 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 j1-v6si9451414plk.257.2018.06.29.12.27.51; Fri, 29 Jun 2018 12:28:05 -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=iiXuQVks; 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 S935272AbeF2PSR (ORCPT + 99 others); Fri, 29 Jun 2018 11:18:17 -0400 Received: from mail-io0-f193.google.com ([209.85.223.193]:35788 "EHLO mail-io0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754681AbeF2PSP (ORCPT ); Fri, 29 Jun 2018 11:18:15 -0400 Received: by mail-io0-f193.google.com with SMTP id q4-v6so8770097iob.2 for ; Fri, 29 Jun 2018 08:18:15 -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=YGiYrVHsaqEVh/wCw9ukRBRw79LQDGpL1mWE/BeCD6Y=; b=iiXuQVkscE0qdZp/lcTTcGQZSidTJP5Om3H/ihuYj41RKzQqojnklpx3c8ttyiXn6t uGJX3yOp9Uc5l7NebrnZl2G/zA5+u39JRloYMfNCWocyYbu6HyrhAo8lYWt/RGD5aiEb TMpTB4foNO5RpjHXYqxAs8z2FtkEXQqfcDUBM= 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=YGiYrVHsaqEVh/wCw9ukRBRw79LQDGpL1mWE/BeCD6Y=; b=pthKVfknJE3KXNersDARwaesKingph8u6r2K37WTp6JTHssveZ2V1Sklpm74p5vyOT yWflDLTx1mxDMyE6/c8jOOgSKCUoJW0icEqbV0kT6JXnK0KHUoK15tltGHtzdWA5yfTg R59tFmkBMrkDgM0l/BHaKFE4P+2czX+updjJ4zyIF4+ybZocXMENBZk6vaRaW2zwlHMP mk18990mWKaMajw4HwQ+VWM0UemXSZaP53/WBKKHFLYnW6pNh9pJ7ZlIqyQ9ZXGosfIp OUFF1NgXz2FVIw9GQRsEL2Q6ei/yyvnJNyQzWADZu3W/KJ1siIEjuOBjLMIUpFhZ7v7g f+VQ== X-Gm-Message-State: APt69E2z80zPI1tiO6XzoqX7xz84KHkRFPjLM5OHDqICwhbq8chpaXmW I3eV81LzWE4o1tTPtTrUf/uAXMUxBJIyLbh0znbCBQ== X-Received: by 2002:a6b:e403:: with SMTP id u3-v6mr12217270iog.131.1530285494811; Fri, 29 Jun 2018 08:18:14 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a02:818f:0:0:0:0:0 with HTTP; Fri, 29 Jun 2018 08:18:14 -0700 (PDT) In-Reply-To: References: <1528809280-31116-1-git-send-email-ludovic.Barre@st.com> From: Ulf Hansson Date: Fri, 29 Jun 2018 17:18:14 +0200 Message-ID: Subject: Re: [PATCH 00/19] mmc: mmci: add stm32 sdmmc variant To: Ludovic BARRE Cc: Rob Herring , Maxime Coquelin , Alexandre Torgue , Gerald Baeza , Linux ARM , Linux Kernel Mailing List , devicetree@vger.kernel.org, "linux-mmc@vger.kernel.org" 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 29 June 2018 at 15:51, Ludovic BARRE wrote: > hi Ulf > > I know that you very busy on other task, > but did you have time to look my serie. > do you have first feedback ? Apologize for the delay. I am going to catch up on mmc next week. At first glance, this looks reasonable. Kind regards Uffe > > BR > Ludo > > > On 06/12/2018 03:14 PM, Ludovic Barre wrote: >> >> From: Ludovic Barre >> >> This patch series adapts mmci driver to add support for stm32 >> sdmmc variant. stm32h7 SoC integrates the first revision of >> stm32 sdmmc. >> >> This series is composed of 3 parts: >> -Prepare mmci driver to manage dma interfaces by adding property. >> New mmci dma API is defined according to the legacy needs. >> -Adapt mmci driver to dedicated constraints of stm32 sdmmc variant, >> defined under some specific properties. >> -Add stm32 sdmmc variant. As Internal DMA way satisfies data >> transfer, the mmci driver hasn't been modified for pio_read/write. >> Specific adds-ons to stm32 sdmmc: >> + registers >> + clk/power functions >> + idma interface >> >> Ludovic Barre (19): >> mmc: mmci: regroup and define dma operations >> mmc: mmci: merge qcom dml feature into mmci dma >> mmc: mmci: add datactrl block size variant property >> mmc: mmci: expand startbiterr to irqmask and error check >> mmc: mmci: allow to overwrite clock/power procedure to specific >> variant >> mmc: mmci: add variant properties to define cpsm & cmdresp bits >> mmc: mmci: add variant property to define dpsm bit >> mmc: mmci: add variant property to define irq pio mask >> mmc: mmci: add variant property to write datactrl before command >> mmc: mmci: add variant property to allow remain data >> mmc: mmci: add variant property to check specific data constraint >> mmc: mmci: add variant property to request a reset >> mmc: mmci: send stop cmd if a data command fail >> mmc: mmci: add clock divider for stm32 sdmmc >> mmc: mmci: add stm32 sdmmc registers >> mmc: mmci: add DT bindings for STM32 sdmmc >> mmc: mmci: add stm32 sdmmc idma support >> mmc: mmci: add specific clk/pwr procedure for stm32 sdmmc >> mmc: mmci: add stm32 sdmmc variant >> >> Documentation/devicetree/bindings/mmc/mmci.txt | 11 + >> drivers/mmc/host/Makefile | 3 +- >> drivers/mmc/host/mmci.c | 846 >> +++++++++++-------------- >> drivers/mmc/host/mmci.h | 237 ++++++- >> drivers/mmc/host/mmci_dma.c | 780 >> +++++++++++++++++++++++ >> drivers/mmc/host/mmci_dma.h | 33 + >> drivers/mmc/host/mmci_qcom_dml.c | 177 ------ >> drivers/mmc/host/mmci_qcom_dml.h | 31 - >> 8 files changed, 1410 insertions(+), 708 deletions(-) >> create mode 100644 drivers/mmc/host/mmci_dma.c >> create mode 100644 drivers/mmc/host/mmci_dma.h >> delete mode 100644 drivers/mmc/host/mmci_qcom_dml.c >> delete mode 100644 drivers/mmc/host/mmci_qcom_dml.h >> >