[PATCH] arm: mmci: Add ARM variant with extended FIFO

2011-03-11 Thread Pawel Moll
New IO FPGA implementation for Versatile Express boards contain MMCI (PL180) cell with FIFO extended to 128 words (512 bytes). Signed-off-by: Pawel Moll --- drivers/mmc/host/mmci.c | 13 - 1 files changed, 12 insertions(+), 1 deletions(-) diff --git a/drivers/mmc/host/mmci.c b/dri

Re: [PATCH v2 00/12] add support for host controller v3.00

2011-03-11 Thread Chris Ball
Hi, On Fri, Mar 11 2011, Nath, Arindam wrote: > In fact I do run checkpatch.pl on my patches before submitting. The > warnings if you notice are all from the header files reporting lines > over 80 characters. I did not pay attention to these since if you look > into the header files, you will find

RE: [PATCH v2 00/12] add support for host controller v3.00

2011-03-11 Thread Nath, Arindam
Hi Subhash, In fact I do run checkpatch.pl on my patches before submitting. The warnings if you notice are all from the header files reporting lines over 80 characters. I did not pay attention to these since if you look into the header files, you will find that lines exceeding 80 characters are

RE: [PATCH v2 00/12] add support for host controller v3.00

2011-03-11 Thread subhashj
Arindam, I am not sure whether you run the "./scripts/checkpatch.pl" script for your patch or not? When I run this script on your patch, it throws following warnings. You might want to correct these warnings in your next patches. $ ./scripts/checkpatch.pl 0001-mmc-SD3.0-patches.patch WARNING: lin

Re: [RFC 4/5] MMC: Adjust unaligned write accesses.

2011-03-11 Thread Arnd Bergmann
On Friday 11 March 2011, Andrei Warkentin wrote: > > I also don't know what the effect of setting physical_block_size > > and/or io_min is, possibly it no longer works if they are larger > > than the MMU page size. Need to try this. > > The other thing is figuring out the default size limit for wh

[PATCH/RFC 2/2 v2] mmc: tmio: support aggressive clock gating

2011-03-11 Thread Guennadi Liakhovetski
Signed-off-by: Guennadi Liakhovetski --- Please, test on MFD! v2: rebase on top of driver split drivers/mmc/host/tmio_mmc_pio.c | 17 - 1 files changed, 8 insertions(+), 9 deletions(-) diff --git a/drivers/mmc/host/tmio_mmc_pio.c b/drivers/mmc/host/tmio_mmc_pio.c index 69772

[PATCH/RFC 1/2 v2] mmc: tmio: fix power-mode interpretation

2011-03-11 Thread Guennadi Liakhovetski
The power-mode sequence on MMC is MMC_POWER_OFF -> MMC_POWER_UP -> MMC_POWER_ON and not MMC_POWER_ON -> MMC_POWER_UP, as the driver currently is implying. Signed-off-by: Guennadi Liakhovetski --- Please, test on MFD! V2: rebase on top of driver split drivers/mmc/host/tmio_mmc_pio.c | 10 +++

[PATCH/RFC 0/2 v2] mmc: tmio: power management and clock gating

2011-03-11 Thread Guennadi Liakhovetski
I think, the tmio driver currently misinterprets MMC power modes, which is fixed by the first patch in this series. The second one implements aggressive clock gating. Both are marked "RFC," because I cannot test them on MFD-based hardware. Thanks Guennadi --- Guennadi Liakhovetski, Ph.D. Freela

[PATCH 4/4 v2] mmc: mn57xx: remove work-around for unmasked SDIO interrupts

2011-03-11 Thread Guennadi Liakhovetski
SDIO IRQs got unmasked on sh-mobile while writing to the CTL_CLK_AND_WAIT_CTL register, because that register at address 0x138 is not implemented on those SoCs and writes to it overwrite the register at address 0x38: CTL_SDIO_IRQ_MASK. Previous patches eliminated access to register above 0xff on sh

[PATCH 3/4 v2] sh: fix SDHI IO address-range

2011-03-11 Thread Guennadi Liakhovetski
SDHI registers occupy only a 0x100 byte large window, not 0x200 byte. Signed-off-by: Guennadi Liakhovetski --- v2: 1. fix the resource size instead of adding a flag arch/sh/boards/mach-ap325rxa/setup.c |4 ++-- arch/sh/boards/mach-ecovec24/setup.c |4 ++-- arch/sh/boards/mach-kfr2r09

[PATCH 2/4 v2] ARM: mach-shmobile: fix SDHI IO address-range

2011-03-11 Thread Guennadi Liakhovetski
SDHI registers occupy only a 0x100 byte large window, not 0x200 byte. Signed-off-by: Guennadi Liakhovetski --- v2: 1. fix the resource size instead of adding a flag arch/arm/mach-shmobile/board-ap4evb.c |4 ++-- arch/arm/mach-shmobile/board-g4evm.c|4 ++-- arch/arm/mach-shmobil

[PATCH 1/4 v2] mmc: mn57xx: only access registers above 0xff, if available

2011-03-11 Thread Guennadi Liakhovetski
Not all mn57xx / tmio implementations have registers above oxff. Accessing them on thise platforms is dangerous. In some cases it leads to address wrapping to addresses below 0x100, which corrupts random unrelated registers. Signed-off-by: Guennadi Liakhovetski --- v2: 1. rebase on top of drive

[PATCH 0/4 v2] mmc: tmio: don't access nonexisting registers

2011-03-11 Thread Guennadi Liakhovetski
Some tmio implementations don't implement registers above 0xff. The driver must take care not to access them in such cases. Thanks Guennadi --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open-technology.de/ -- To unsubscribe from this list: send the line "uns