Skip to contentSkip to conversation

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

PATCH New Magnus Damm 1 participant 1 message Dec 19, 2008 SuperH

lore
Share & tools
lore
#0 lore raw

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

From: Magnus Damm <[email protected]>

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.

---

 arch/sh/boards/board-ap325rxa.c   |    4 ++++
 arch/sh/boards/mach-migor/setup.c |    4 ++++
 2 files changed, 8 insertions(+)
arch/sh/boards/board-ap325rxa.c +4 -0
@@ -197,6 +197,10 @@ static struct resource lcdc_resources[] 
 		.end	= 0xfe941fff,
 		.flags	= IORESOURCE_MEM,
 	},
+	[1] = {
+		.start	= 28,
+		.flags	= IORESOURCE_IRQ,
+	},
 };
 
 static struct platform_device lcdc_device = {
arch/sh/boards/mach-migor/setup.c +4 -0
@@ -274,6 +274,10 @@ static struct resource migor_lcdc_resour
 		.end	= 0xfe941fff,
 		.flags	= IORESOURCE_MEM,
 	},
+	[1] = {
+		.start	= 28,
+		.flags	= IORESOURCE_IRQ,
+	},
 };
 
 static struct platform_device migor_lcdc_device = {