Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755296AbbHFHIZ (ORCPT ); Thu, 6 Aug 2015 03:08:25 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:38247 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754525AbbHFHIO (ORCPT ); Thu, 6 Aug 2015 03:08:14 -0400 X-AuditID: cbfee68f-f793b6d000005f66-c2-55c307d3cf3f Message-id: <55C307D2.7020501@samsung.com> Date: Thu, 06 Aug 2015 16:08:02 +0900 From: Jaehoon Chung User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-version: 1.0 To: Shawn Lin , ulf.hansson@linaro.org Cc: 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 Subject: Re: [RFC PATCH v4 0/9] References: <1438843469-23807-1-git-send-email-shawn.lin@rock-chips.com> In-reply-to: <1438843469-23807-1-git-send-email-shawn.lin@rock-chips.com> Content-type: text/plain; charset=windows-1252 Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA02SeyyVYRzHe7y3Q9HjhJ6k2s7qD5fc6TFl1h/tpa3ZmjT/6MSbhJPOwWqt YmR1EnIZToRIGKlDk6jTOeiYWzi5TEi5LLfVHIp1kbfTVv99993n9/19f9tPQAgzKGtBhCSW k0rEUSLahKy2cL+wX8e0BDpntUOcNDDN4FmNLS5q7aFwd7maxqvT4yRe/zhP4bKpDwye/+SC 0yfnCaycHKSw7nkBjTNyMhncup4O8NLEOoHz3rw0wu90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8zenzeJBfAF9XAaJORmpiSWqSQmpecn5KZl26r5B0c7xxvamZgqGtoaWGupJCX mJtqq+TiE6DrlpkD9LmSQlliTilQKCCxuFhJ3w7ThNAQN10LmMYIXd+QILgeIwM0kLCGMWPP gz8sBW9lKpZdX8LawHhXtIuRg0NCwETiwpysLkZOIFNM4sK99WxdjFwcQgKzGCVenfjKDpIQ EnjAKPHjQx2IzSugJfH90hs2kF4WAVWJI/slQMJsAjoS278dZwKxRQXCJM7M6GCBKBeU+DH5 HgtIuYiAg8Sm+SIg45kFFrJKzPj0jA2kRlhAXuLlzOOsEKs8JFrfXGcEsTkFPCWmTv/CCtLL LKAncf+iFkiYGah885q3zBMYgW5E2DALoWoWkqoFjMyrGCVSC5ILipPSc43yUsv1ihNzi0vz 0vWS83M3MYLT1jPpHYyHd7kfYhTgYFTi4X2w5lCoEGtiWXFl7iFGCQ5mJRHerReAQrwpiZVV qUX58UWlOanFhxhNgSEwkVlKNDkfmFLzSuINjU3MjCyNzA0tjIzNlcR59U02hQoJpCeWpGan phakFsH0MXFwSjUwFj5KN5sitc2tbsfzO8x1bEGF+U2ZHKaep2fe7PnxWnrupEMbTxXu4w75 f09vw7pnNUumP9pzLYthxtdt8yRKZ7bJNswwDDZSCziYEcAaHqWVwSQUZLvG9NnrJ9uvPC4N k/oZarH1h+9sBdmDDgsfbXX4GXnj8Fnd45GGAYfE/m9f65ixsCV/qhJLcUaioRZzUXEiAOYu BsdxAwAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3854 Lines: 89 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... 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(-) > -- 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/