Skip to contentSkip to conversation

ARM: mach-shmobile: sh7372 Enable SDIO IRQs for Mackerel

PATCH In review Magnus Damm 2 participants 2 messages Jan 6, 2011 – Jan 7, 2011

Subsystems (4)
lore
Share & tools
lore

Magnus Damm

author maintainer
#0 lore raw

PATCH 1/1 ARM: mach-shmobile: sh7372 Enable SDIO IRQs for Mackerel

From: Magnus Damm <[email protected]>

Enable SDIO IRQ support for the Mackerel board.

---

 arch/arm/mach-shmobile/board-mackerel.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm/mach-shmobile/board-mackerel.c +3 -3
@@ -462,7 +462,7 @@ static int slot_cn7_get_cd(struct platfo
 static struct sh_mobile_sdhi_info sdhi0_info = {
 	.dma_slave_tx	= SHDMA_SLAVE_SDHI0_TX,
 	.dma_slave_rx	= SHDMA_SLAVE_SDHI0_RX,
-	.tmio_caps	= MMC_CAP_SD_HIGHSPEED,
+	.tmio_caps	= MMC_CAP_SD_HIGHSPEED | MMC_CAP_SDIO_IRQ,
 };
 
 static struct resource sdhi0_resources[] = {
@@ -495,7 +495,7 @@ static struct sh_mobile_sdhi_info sdhi1_
 	.dma_slave_rx	= SHDMA_SLAVE_SDHI1_RX,
 	.tmio_ocr_mask	= MMC_VDD_165_195,
 	.tmio_flags	= TMIO_MMC_WRPROTECT_DISABLE,
-	.tmio_caps	= MMC_CAP_SD_HIGHSPEED |
+	.tmio_caps	= MMC_CAP_SD_HIGHSPEED | MMC_CAP_SDIO_IRQ |
 			  MMC_CAP_NEEDS_POLL,
 	.get_cd		= slot_cn7_get_cd,
 };
@@ -529,7 +529,7 @@ static struct sh_mobile_sdhi_info sdhi2_
 	.dma_slave_tx	= SHDMA_SLAVE_SDHI2_TX,
 	.dma_slave_rx	= SHDMA_SLAVE_SDHI2_RX,
 	.tmio_flags	= TMIO_MMC_WRPROTECT_DISABLE,
-	.tmio_caps	= MMC_CAP_SD_HIGHSPEED |
+	.tmio_caps	= MMC_CAP_SD_HIGHSPEED | MMC_CAP_SDIO_IRQ |
 			  MMC_CAP_NEEDS_POLL,
 };
 
#1 lore raw
Quoted 1 line · Magnus Damm

Enable SDIO IRQ support for the Mackerel board.

This one needs the mackerel support merged, so I'll wait for Chris to send the MMC merge, then pull that in to rmobile-latest along with rmobile/sdio and then throw this on top for the next round.