diff options
author | Magnus Damm <damm@igel.co.jp> | 2008-12-18 22:02:16 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-12-22 04:44:48 -0500 |
commit | 0790555437df2b6070af8f021b8d2ef79e70e144 (patch) | |
tree | 8c211771dec535a24da04781cd16f38b5311ddc3 /arch/sh | |
parent | 2540c111ead82cad605ec2b14a1905ad914cc124 (diff) |
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: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/boards/board-ap325rxa.c | 4 | ||||
-rw-r--r-- | arch/sh/boards/mach-migor/setup.c | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/arch/sh/boards/board-ap325rxa.c b/arch/sh/boards/board-ap325rxa.c index cc3540423614..1c67cba6e34f 100644 --- a/arch/sh/boards/board-ap325rxa.c +++ b/arch/sh/boards/board-ap325rxa.c | |||
@@ -197,6 +197,10 @@ static struct resource lcdc_resources[] = { | |||
197 | .end = 0xfe941fff, | 197 | .end = 0xfe941fff, |
198 | .flags = IORESOURCE_MEM, | 198 | .flags = IORESOURCE_MEM, |
199 | }, | 199 | }, |
200 | [1] = { | ||
201 | .start = 28, | ||
202 | .flags = IORESOURCE_IRQ, | ||
203 | }, | ||
200 | }; | 204 | }; |
201 | 205 | ||
202 | static struct platform_device lcdc_device = { | 206 | static struct platform_device lcdc_device = { |
diff --git a/arch/sh/boards/mach-migor/setup.c b/arch/sh/boards/mach-migor/setup.c index 82e1d9a56aba..3e37fb25ef92 100644 --- a/arch/sh/boards/mach-migor/setup.c +++ b/arch/sh/boards/mach-migor/setup.c | |||
@@ -274,6 +274,10 @@ static struct resource migor_lcdc_resources[] = { | |||
274 | .end = 0xfe941fff, | 274 | .end = 0xfe941fff, |
275 | .flags = IORESOURCE_MEM, | 275 | .flags = IORESOURCE_MEM, |
276 | }, | 276 | }, |
277 | [1] = { | ||
278 | .start = 28, | ||
279 | .flags = IORESOURCE_IRQ, | ||
280 | }, | ||
277 | }; | 281 | }; |
278 | 282 | ||
279 | static struct platform_device migor_lcdc_device = { | 283 | static struct platform_device migor_lcdc_device = { |