The Blackfin SPI driver can be driven by an IRQ now, so declare it in the board resources. Signed-off-by: Yi Li <yi.li@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
@@ -369,6 +369,11 @@ static struct resource bfin_spi0_resource[] = {
[1] = {
.start = CH_SPI0,
.end = CH_SPI0,
+ .flags = IORESOURCE_DMA,
+ },
+ [2] = {
+ .start = IRQ_SPI0,
+ .end = IRQ_SPI0,
.flags = IORESOURCE_IRQ,
},
};
@@ -399,6 +404,11 @@ static struct resource bfin_spi1_resource[] = {
.start = CH_SPI1,
.end = CH_SPI1,
+ .start = IRQ_SPI1,
+ .end = IRQ_SPI1,
@@ -664,6 +664,11 @@ static struct resource bfin_spi0_resource[] = {
.start = CH_SPI,
.end = CH_SPI,
+ .start = IRQ_SPI,
+ .end = IRQ_SPI,
@@ -467,6 +467,11 @@ static struct resource bfin_spi0_resource[] = {
@@ -723,6 +723,11 @@ static struct resource bfin_spi0_resource[] = {
@@ -266,6 +266,11 @@ static struct resource bfin_spi0_resource[] = {
}
@@ -162,6 +162,11 @@ static struct resource bfin_spi0_resource[] = {
@@ -160,6 +160,11 @@ static struct resource bfin_spi0_resource[] = {
@@ -196,6 +196,11 @@ static struct resource bfin_spi0_resource[] = {
@@ -299,6 +299,11 @@ static struct resource bfin_spi0_resource[] = {
@@ -182,8 +182,13 @@ static struct resource bfin_spi0_resource[] = {
- }
/* SPI controller data */
@@ -184,6 +184,11 @@ static struct resource bfin_spi0_resource[] = {
@@ -398,8 +398,13 @@ static struct resource bfin_spi0_resource[] = {
@@ -182,6 +182,11 @@ static struct resource bfin_spi0_resource[] = {
@@ -352,6 +352,11 @@ static struct resource bfin_spi0_resource[] = {
@@ -366,6 +371,11 @@ static struct resource bfin_spi1_resource[] = {
@@ -612,6 +612,11 @@ static struct resource bfin_spi0_resource[] = {
@@ -626,6 +631,11 @@ static struct resource bfin_spi1_resource[] = {
@@ -741,6 +741,11 @@ static struct resource bfin_spi0_resource[] = {
@@ -755,6 +760,11 @@ static struct resource bfin_spi1_resource[] = {
@@ -177,8 +177,13 @@ static struct resource bfin_spi0_resource[] = {
@@ -304,6 +304,11 @@ static struct resource bfin_spi0_resource[] = {