From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludovic.desroches@atmel.com Subject: [RFC PATCH 0/9] Add pdc feature to atmel-mci Date: Thu, 28 Jul 2011 16:29:49 +0200 Message-ID: <1311863398-31579-1-git-send-email-ludovic.desroches@atmel.com> Return-path: Received: from newsmtp5.atmel.com ([204.2.163.5]:3039 "EHLO sjogate2.atmel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754106Ab1G1NYH (ORCPT ); Thu, 28 Jul 2011 09:24:07 -0400 Sender: linux-mmc-owner@vger.kernel.org List-Id: linux-mmc@vger.kernel.org To: linux-arm-kernel@lists.infradead.org, linux-mmc@vger.kernel.org Cc: patrice.vilchez@atmel.com, nicolas.ferre@atmel.com, plagnioj@jcrosoft.com The purpose of these patches is to merge at91_mci and atmel atmel-mci drivers. The first one is used only for old atmel mci core and provides the PDC feature. The second one works with the old core but doesn't provide the PDC feature so the goal is to implement this feature in order to remove at91_mci. This new version of the atmel-mci driver detects mci core version at runtime. Then it knows if we have to use pio, pdc or dma for transfers. These patches are based on "mmc: atmel-mci: add suspend/resume support" from Nicolas. arch/arm/mach-at91/at91sam9260_devices.c | 2 +- drivers/mmc/host/atmel-mci-regs.h | 220 +++++---- drivers/mmc/host/atmel-mci.c | 824 ++++++++++++++++++++---------- include/linux/atmel-mci.h | 4 +- include/linux/atmel_pdc.h | 2 + 5 files changed, 681 insertions(+), 371 deletions(-) From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludovic.desroches@atmel.com (ludovic.desroches at atmel.com) Date: Thu, 28 Jul 2011 16:29:49 +0200 Subject: [RFC PATCH 0/9] Add pdc feature to atmel-mci Message-ID: <1311863398-31579-1-git-send-email-ludovic.desroches@atmel.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org The purpose of these patches is to merge at91_mci and atmel atmel-mci drivers. The first one is used only for old atmel mci core and provides the PDC feature. The second one works with the old core but doesn't provide the PDC feature so the goal is to implement this feature in order to remove at91_mci. This new version of the atmel-mci driver detects mci core version at runtime. Then it knows if we have to use pio, pdc or dma for transfers. These patches are based on "mmc: atmel-mci: add suspend/resume support" from Nicolas. arch/arm/mach-at91/at91sam9260_devices.c | 2 +- drivers/mmc/host/atmel-mci-regs.h | 220 +++++---- drivers/mmc/host/atmel-mci.c | 824 ++++++++++++++++++++---------- include/linux/atmel-mci.h | 4 +- include/linux/atmel_pdc.h | 2 + 5 files changed, 681 insertions(+), 371 deletions(-)