Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754720AbbHFHbp (ORCPT ); Thu, 6 Aug 2015 03:31:45 -0400 Received: from lucky1.263xmail.com ([211.157.147.133]:59965 "EHLO lucky1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751142AbbHFHbm (ORCPT ); Thu, 6 Aug 2015 03:31:42 -0400 X-263anti-spam: KSV:0; X-MAIL-GRAY: 1 X-MAIL-DELIVERY: 0 X-KSVirus-check: 0 X-ABS-CHECKED: 4 X-ADDR-CHECKED: 0 X-RL-SENDER: shawn.lin@rock-chips.com X-FST-TO: cpgs@samsung.com X-SENDER-IP: 58.22.7.114 X-LOGIN-NAME: shawn.lin@rock-chips.com X-UNIQUE-TAG: X-ATTACHMENT-NUM: 0 X-DNS-TYPE: 0 Subject: Re: [RFC PATCH v4 0/9] To: Jaehoon Chung , ulf.hansson@linaro.org References: <1438843469-23807-1-git-send-email-shawn.lin@rock-chips.com> <55C307D2.7020501@samsung.com> Cc: shawn.lin@rock-chips.com, heiko@sntech.de, dianders@chromium.org, Vineet.Gupta1@synopsys.com, Wei Xu , Joachim Eastwood , Alexey Brodkin , Kukjin Kim , Krzysztof Kozlowski , Russell King , Jun Nie , Ralf Baechle , Govindraj Raja , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-mips@linux-mips.org, linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, CPGS From: Shawn Lin Message-ID: <55C30D52.6040802@rock-chips.com> Date: Thu, 6 Aug 2015 15:31:30 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <55C307D2.7020501@samsung.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4076 Lines: 99 在 2015/8/6 15:08, Jaehoon Chung 写道: > Hi, Shawn. > > I remembered that Krzysztof has mentioned "Fix the title of cover letter." > Your cover letter's title is nothing.. "[RFC PATCH v4 0/9] " ?? > [RFC PATCH v4 0/9] your title... Sorry, I forgot it, and will fix in next version... > Best Regards, > Jaehoon Chung > > On 08/06/2015 03:44 PM, Shawn Lin wrote: >> Add external dma support for Synopsys MSHC >> >> Synopsys DesignWare mobile storage host controller supports three >> types of transfer mode: pio, internal dma and external dma. However, >> dw_mmc can only supports pio and internal dma now. Thus some platforms >> using dw-mshc integrated with generic dma can't work in dma mode. So we >> submit this patch to achieve it. >> >> And the config option, CONFIG_MMC_DW_IDMAC, was added by Will Newton >> (commit:f95f3850) for the first version of dw_mmc and never be touched since >> then. At that time dt-bindings hadn't been introduced into dw_mmc yet means >> we should select CONFIG_MMC_DW_IDMAC to enable internal dma mode at compile >> time. Nowadays, device-tree helps us to support a variety of boards with one >> kernel. That's why we need to remove it and decide the transfer mode by reading >> dw_mmc's HCON reg at runtime. >> >> This RFC patch needs lots of ACKs. I know it's hard, but it does need someone >> to make the running. >> >> Patch does the following things: >> - remove CONFIG_MMC_DW_IDMAC config option >> - add bindings for edmac used by synopsys-dw-mshc >> at runtime >> - add edmac support for synopsys-dw-mshc >> >> Patch is based on next of git://git.linaro.org/people/ulf.hansson/mmc >> >> >> Changes in v4: >> - remove "host->trans_mode" and use "host->use_dma" to indicate >> transfer mode. >> - remove all bt-bindings' changes since we don't need new properities. >> - check transfer mode at runtime by reading HCON reg >> - spilt defconfig changes for each sub-architecture >> - fix the title of cover letter >> - reuse some code for reducing code size >> >> Changes in v3: >> - choose transfer mode at runtime >> - remove all CONFIG_MMC_DW_IDMAC config option >> - add supports-idmac property for some platforms >> >> Changes in v2: >> - Fix typo of dev_info msg >> - remove unused dmach from declaration of dw_mci_dma_slave >> >> Shawn Lin (9): >> mmc: dw_mmc: Add external dma interface support >> Documentation: synopsys-dw-mshc: add bindings for idmac and edmac >> mips: pistachio_defconfig: remove CONFIG_MMC_DW_IDMAC >> arc: axs10x_defconfig: remove CONFIG_MMC_DW_IDMAC >> arm: exynos_defconfig: remove CONFIG_MMC_DW_IDMAC >> arm: hisi_defconfig: remove CONFIG_MMC_DW_IDMAC >> arm: lpc18xx_defconfig: remove CONFIG_MMC_DW_IDMAC >> arm: multi_v7_defconfig: remove CONFIG_MMC_DW_IDMAC >> arm: zx_defconfig: remove CONFIG_MMC_DW_IDMAC >> >> .../devicetree/bindings/mmc/synopsys-dw-mshc.txt | 25 ++ >> arch/arc/configs/axs101_defconfig | 1 - >> arch/arc/configs/axs103_defconfig | 1 - >> arch/arc/configs/axs103_smp_defconfig | 1 - >> arch/arm/configs/exynos_defconfig | 1 - >> arch/arm/configs/hisi_defconfig | 1 - >> arch/arm/configs/lpc18xx_defconfig | 1 - >> arch/arm/configs/multi_v7_defconfig | 1 - >> arch/arm/configs/zx_defconfig | 1 - >> arch/mips/configs/pistachio_defconfig | 1 - >> drivers/mmc/host/Kconfig | 11 +- >> drivers/mmc/host/dw_mmc-pltfm.c | 2 + >> drivers/mmc/host/dw_mmc.c | 258 +++++++++++++++++---- >> include/linux/mmc/dw_mmc.h | 27 ++- >> 14 files changed, 257 insertions(+), 75 deletions(-) >> > > > -- Shawn Lin -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/