Commit 07905554 authored by Magnus Damm's avatar Magnus Damm Committed by Paul Mundt

sh: add LCDC interrupt configuration to AP325 and Migo-R

Add LCDC interrupt resources for AP325 and Migo-R. The LCDC driver does
not require interrupts at this point, but changes such as one-shot SYS
mode using deferred io, and wait-for-vblank will both need this.
Signed-off-by: default avatarMagnus Damm <damm@igel.co.jp>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 2540c111
...@@ -197,6 +197,10 @@ static struct resource lcdc_resources[] = { ...@@ -197,6 +197,10 @@ static struct resource lcdc_resources[] = {
.end = 0xfe941fff, .end = 0xfe941fff,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
}, },
[1] = {
.start = 28,
.flags = IORESOURCE_IRQ,
},
}; };
static struct platform_device lcdc_device = { static struct platform_device lcdc_device = {
......
...@@ -274,6 +274,10 @@ static struct resource migor_lcdc_resources[] = { ...@@ -274,6 +274,10 @@ static struct resource migor_lcdc_resources[] = {
.end = 0xfe941fff, .end = 0xfe941fff,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
}, },
[1] = {
.start = 28,
.flags = IORESOURCE_IRQ,
},
}; };
static struct platform_device migor_lcdc_device = { static struct platform_device migor_lcdc_device = {
......
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