Received: by 10.223.148.5 with SMTP id 5csp7756290wrq; Thu, 18 Jan 2018 09:05:07 -0800 (PST) X-Google-Smtp-Source: ACJfBosUqVTEn+jxWkl5GvxGjI65LNnjXfQ5Rx+KQ+rE7VKOaAPJB2eX6810mbl7VracyEiSVaH2 X-Received: by 10.98.13.196 with SMTP id 65mr16190537pfn.155.1516295107888; Thu, 18 Jan 2018 09:05:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516295107; cv=none; d=google.com; s=arc-20160816; b=BnQeu44Go+DIoQ9Lnc321+O8KZa5bIlT0x72jCyjQNH/NSWt0P+KXlic4YWVrRjUVS jidV+oIwgKwGVpEOA70XnkLXH4Hkg7pRjOrloI5UWX6VIyU0soFepywrtS0FQu1bEVZX N3nS9yqgiymOEEkuCkQC2uTyJfBZtHQ/5KWk/dDRNCYao82AE1lIyP9iT0AVbved2hDw 0kbrRyBQhOh3WilkR7CILMpuBgzXiGFmsJGxGJ09OdWSrSIeMIgSlAPiQS9nxk9dWe47 o5aYu9nxGNOSFSEMnkF13B/tzD2LpIZVmPSGNULWXbKf6UJ+dP9R5WS2zNjLFQNJ19GD owNw== 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:from:references:cc:to:subject:arc-authentication-results; bh=iMhH/6TNbymTPhYJBnN9xytmbPNTafsFUzSROGH3rbM=; b=iiSCnbAeGlPAFxffirGM3/AaJTytBooOsTFb6k8tPY9/1WpDEdAnjIJ0pVzzRC/QSz sJBMoFt2GvNzwT1qGk9X2M/LFsPeTvPJxJ9Dgke95ieWYmfBau9qftVjSXGFc0+Paf/v ojRKk2do9oLjd3ZRri3pJhQUi1jhOx44gf1ATla3/Kbgdn1t9/STY72H2WWxzVKAyTZK 94iJh0mTszJ4ZRxnC881gRonZ63It1aZvQ2vhtIsbn/0ZqdUIrix1Fl0l4EIIlm+PWeW RFt8HxEVl/omY1eyyZxKR3a952muC6upT0HOehMU6493KQZJmMCX9Qsmk2iAxj90BU3j Dd0w== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g83si7291759pfk.234.2018.01.18.09.04.53; Thu, 18 Jan 2018 09:05:07 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932889AbeARRC0 (ORCPT + 99 others); Thu, 18 Jan 2018 12:02:26 -0500 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:60009 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932357AbeARRCV (ORCPT ); Thu, 18 Jan 2018 12:02:21 -0500 Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx08-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w0IGxUqI006843; Thu, 18 Jan 2018 18:01:47 +0100 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2fgye2e1hd-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 18 Jan 2018 18:01:47 +0100 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 31D1434; Thu, 18 Jan 2018 17:01:46 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag3node2.st.com [10.75.127.8]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 00891291A; Thu, 18 Jan 2018 17:01:45 +0000 (GMT) Received: from [10.201.21.58] (10.75.127.51) by SFHDAG3NODE2.st.com (10.75.127.8) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Thu, 18 Jan 2018 18:01:45 +0100 Subject: Re: [PATCH v3 00/14] Add MMCI support for STM32F SoCs family To: , Russell King , Ulf Hansson , Michael Turquette , Stephen Boyd , Linus Walleij , Rob Herring , Mark Rutland CC: , , , , , References: <1516286070-24927-1-git-send-email-patrice.chotard@st.com> From: Alexandre Torgue Message-ID: Date: Thu, 18 Jan 2018 18:01:44 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <1516286070-24927-1-git-send-email-patrice.chotard@st.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.75.127.51] X-ClientProxiedBy: SFHDAG2NODE3.st.com (10.75.127.6) To SFHDAG3NODE2.st.com (10.75.127.8) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-01-18_08:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Patrice, On 01/18/2018 03:34 PM, patrice.chotard@st.com wrote: > From: Patrice Chotard > > This series reworks patches submitted one year ago by Andrea Merello [1] > but without succeed to merged it. > > STM32F4 and STM32F7 SoCs families embeds a variant of the ARM PrimeCell > PL18x SD host controller, for which the mmci driver exists. > This series adds support for these SoCs to the mmci driver. > > As other variants, this one need some specific quirks, that this > series address. > > This series has been tested on following boards : > _ stm32f429-eval > _ stm32f469-disco > _ stm32f746-eval > _ stm32f769-disco > > DT update for stm32f7 pinctrl, stm32f746-eval and stm32f769-disco boards > will be sent later to avoid conflict with pending stm32f7 series [1] which > is not yet merged on kernel mainline. > > [1] https://www.spinics.net/lists/linux-mmc/msg41616.html > [2] https://patchwork.kernel.org/patch/10104447/ > > v3: _ patch 3: use variant->opendrain instead of host->variant->opendrain > _ patch 4: exit from probe() if no pinctrl dt node are found > _ previous patch 15: removed as already applied in pinctrl tree > > v2: _ add Revievied-by, Acked-by in some patches > _ replace bool by u32 for start_err and opendrain fields of struct variant_data > _ split previous patch 3 in two parts, first patch clean the open drain bit code > and second part add pinctrl pins management when no open drain bit is available. > _ replace "pl180" by "PL180" in patch "mmc: mmci: Add STM32 variant" > > Andrea Merello (2): > ARM: dts: stm32: Add pin map for SDIO controller on stm32f4 > ARM: dts: stm32: Enable SDIO controller on stm32f469 disco board Looks good for STM32 machine part (DT/configs/mach-stm32). I will apply them in my next pull request. Thanks. Alex > > Patrice Chotard (12): > mmc: mmci: Don't pretend all variants to have MMCIMASK1 register > mmc: mmci: Don't pretend all variants to have MCI_STARBITERR flag > mmc: mmci: Don't pretend all variants to have OPENDRAIN bit > mmc: mmci: Add support for setting pad type via pinctrl > mmc: mmci: Add STM32 variant > ARM: dts: stm32: Add SDIO controller for stm32f746 > ARM: dts: stm32: Add SDIO controller for stm32f429 > ARM: dts: stm32: Enable SDIO controller on stm32429i-eval board > ARM: stm32: Add AMBA support for STM32F4 and STM32F7 SoCs > ARM: configs: stm32: Enable MMC_ARMMMCI support > ARM: configs: stm32: Enable EXT3_FS support > clk: stm32: Add clk entry for SDMMC2 on stm32F769 > > arch/arm/boot/dts/stm32429i-eval.dts | 19 +++++ > arch/arm/boot/dts/stm32f4-pinctrl.dtsi | 31 +++++++++ > arch/arm/boot/dts/stm32f429.dtsi | 11 +++ > arch/arm/boot/dts/stm32f469-disco.dts | 19 +++++ > arch/arm/boot/dts/stm32f746.dtsi | 22 ++++++ > arch/arm/configs/stm32_defconfig | 3 + > arch/arm/mach-stm32/Kconfig | 3 + > drivers/clk/clk-stm32f4.c | 3 +- > drivers/mmc/host/mmci.c | 124 ++++++++++++++++++++++++++++----- > drivers/mmc/host/mmci.h | 6 ++ > 10 files changed, 224 insertions(+), 17 deletions(-) >