Commit 34fd4213 authored by Linus Walleij's avatar Linus Walleij Committed by Russell King

ARM: 7378/1: mmci: add support for the Nomadik MMCI variant

The Nomadik variant is somewhere inbetween the U300 and the Ux500
variant, its actually expose the same primecell ID as the U300
but had different characteristics so it needs a small revision
bump and hard-coding from the board/device tree. After this it
works just fine.
Acked-by: default avatarUlf Hansson <ulf.hansson@stericsson.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent e816b57a
...@@ -94,6 +94,17 @@ static struct variant_data variant_u300 = { ...@@ -94,6 +94,17 @@ static struct variant_data variant_u300 = {
.signal_direction = true, .signal_direction = true,
}; };
static struct variant_data variant_nomadik = {
.fifosize = 16 * 4,
.fifohalfsize = 8 * 4,
.clkreg = MCI_CLK_ENABLE,
.datalength_bits = 24,
.sdio = true,
.st_clkdiv = true,
.pwrreg_powerup = MCI_PWR_ON,
.signal_direction = true,
};
static struct variant_data variant_ux500 = { static struct variant_data variant_ux500 = {
.fifosize = 30 * 4, .fifosize = 30 * 4,
.fifohalfsize = 8 * 4, .fifohalfsize = 8 * 4,
...@@ -1568,6 +1579,11 @@ static struct amba_id mmci_ids[] = { ...@@ -1568,6 +1579,11 @@ static struct amba_id mmci_ids[] = {
.mask = 0x00ffffff, .mask = 0x00ffffff,
.data = &variant_u300, .data = &variant_u300,
}, },
{
.id = 0x10180180,
.mask = 0xf0ffffff,
.data = &variant_nomadik,
},
{ {
.id = 0x00280180, .id = 0x00280180,
.mask = 0x00ffffff, .mask = 0x00ffffff,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment