]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ARM: 7631/1: mmc: mmci: Add new VE MMCI variant
authorPawel Moll <pawel.moll@arm.com>
Thu, 24 Jan 2013 13:12:45 +0000 (14:12 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 28 Jan 2013 14:11:53 +0000 (14:11 +0000)
commit3a37298ada749897ec2c5c1cdcd5932218eb2928
tree624b06f6ef309c41a8c6aee5bda6fa6c10d2ec4c
parentf4670daef5e81aa312f5a18f571dbd8169ce079e
ARM: 7631/1: mmc: mmci: Add new VE MMCI variant

The Versatile Express IOFPGA as shipped on VECD 5.0 (bitfiles v108/208
and v116/216) contains a modified version of the PL180 MMCI, with
PeriphID Configuration value changed to 0x2.

This version adds an optional "hardware flow control" feature. When
enabled MMC card clock will be automatically disabled when FIFO is
about to over/underflow and re-enabled once the host retrieved some
data. This makes the controller immune to over/underrun errors caused
by big interrupt handling latencies.

This patch adds relevant device variant in the driver.

Signed-off-by: Pawel Moll <pawel.moll@arm.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/mmc/host/mmci.c
drivers/mmc/host/mmci.h