Commit b77ed2e6 authored by Robert Jarzmik's avatar Robert Jarzmik

ARM: pxa: remove the DMA IO resources

As the last driver using the former mechanism to acquire the DMA
requestor line has be converted to the dma_slave_map, remove all these
resources from the PXA devices.
Signed-off-by: default avatarRobert Jarzmik <robert.jarzmik@free.fr>
parent b6d1a17f
...@@ -60,16 +60,6 @@ static struct resource pxamci_resources[] = { ...@@ -60,16 +60,6 @@ static struct resource pxamci_resources[] = {
.end = IRQ_MMC, .end = IRQ_MMC,
.flags = IORESOURCE_IRQ, .flags = IORESOURCE_IRQ,
}, },
[2] = {
.start = 21,
.end = 21,
.flags = IORESOURCE_DMA,
},
[3] = {
.start = 22,
.end = 22,
.flags = IORESOURCE_DMA,
},
}; };
static u64 pxamci_dmamask = 0xffffffffUL; static u64 pxamci_dmamask = 0xffffffffUL;
...@@ -407,16 +397,6 @@ static struct resource pxa_ir_resources[] = { ...@@ -407,16 +397,6 @@ static struct resource pxa_ir_resources[] = {
.end = 0x40700023, .end = 0x40700023,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
}, },
[5] = {
.start = 17,
.end = 17,
.flags = IORESOURCE_DMA,
},
[6] = {
.start = 18,
.end = 18,
.flags = IORESOURCE_DMA,
},
}; };
struct platform_device pxa_device_ficp = { struct platform_device pxa_device_ficp = {
...@@ -545,18 +525,6 @@ static struct resource pxa25x_resource_ssp[] = { ...@@ -545,18 +525,6 @@ static struct resource pxa25x_resource_ssp[] = {
.end = IRQ_SSP, .end = IRQ_SSP,
.flags = IORESOURCE_IRQ, .flags = IORESOURCE_IRQ,
}, },
[2] = {
/* DRCMR for RX */
.start = 13,
.end = 13,
.flags = IORESOURCE_DMA,
},
[3] = {
/* DRCMR for TX */
.start = 14,
.end = 14,
.flags = IORESOURCE_DMA,
},
}; };
struct platform_device pxa25x_device_ssp = { struct platform_device pxa25x_device_ssp = {
...@@ -583,18 +551,6 @@ static struct resource pxa25x_resource_nssp[] = { ...@@ -583,18 +551,6 @@ static struct resource pxa25x_resource_nssp[] = {
.end = IRQ_NSSP, .end = IRQ_NSSP,
.flags = IORESOURCE_IRQ, .flags = IORESOURCE_IRQ,
}, },
[2] = {
/* DRCMR for RX */
.start = 15,
.end = 15,
.flags = IORESOURCE_DMA,
},
[3] = {
/* DRCMR for TX */
.start = 16,
.end = 16,
.flags = IORESOURCE_DMA,
},
}; };
struct platform_device pxa25x_device_nssp = { struct platform_device pxa25x_device_nssp = {
...@@ -621,18 +577,6 @@ static struct resource pxa25x_resource_assp[] = { ...@@ -621,18 +577,6 @@ static struct resource pxa25x_resource_assp[] = {
.end = IRQ_ASSP, .end = IRQ_ASSP,
.flags = IORESOURCE_IRQ, .flags = IORESOURCE_IRQ,
}, },
[2] = {
/* DRCMR for RX */
.start = 23,
.end = 23,
.flags = IORESOURCE_DMA,
},
[3] = {
/* DRCMR for TX */
.start = 24,
.end = 24,
.flags = IORESOURCE_DMA,
},
}; };
struct platform_device pxa25x_device_assp = { struct platform_device pxa25x_device_assp = {
...@@ -751,18 +695,6 @@ static struct resource pxa27x_resource_ssp1[] = { ...@@ -751,18 +695,6 @@ static struct resource pxa27x_resource_ssp1[] = {
.end = IRQ_SSP, .end = IRQ_SSP,
.flags = IORESOURCE_IRQ, .flags = IORESOURCE_IRQ,
}, },
[2] = {
/* DRCMR for RX */
.start = 13,
.end = 13,
.flags = IORESOURCE_DMA,
},
[3] = {
/* DRCMR for TX */
.start = 14,
.end = 14,
.flags = IORESOURCE_DMA,
},
}; };
struct platform_device pxa27x_device_ssp1 = { struct platform_device pxa27x_device_ssp1 = {
...@@ -789,18 +721,6 @@ static struct resource pxa27x_resource_ssp2[] = { ...@@ -789,18 +721,6 @@ static struct resource pxa27x_resource_ssp2[] = {
.end = IRQ_SSP2, .end = IRQ_SSP2,
.flags = IORESOURCE_IRQ, .flags = IORESOURCE_IRQ,
}, },
[2] = {
/* DRCMR for RX */
.start = 15,
.end = 15,
.flags = IORESOURCE_DMA,
},
[3] = {
/* DRCMR for TX */
.start = 16,
.end = 16,
.flags = IORESOURCE_DMA,
},
}; };
struct platform_device pxa27x_device_ssp2 = { struct platform_device pxa27x_device_ssp2 = {
...@@ -827,18 +747,6 @@ static struct resource pxa27x_resource_ssp3[] = { ...@@ -827,18 +747,6 @@ static struct resource pxa27x_resource_ssp3[] = {
.end = IRQ_SSP3, .end = IRQ_SSP3,
.flags = IORESOURCE_IRQ, .flags = IORESOURCE_IRQ,
}, },
[2] = {
/* DRCMR for RX */
.start = 66,
.end = 66,
.flags = IORESOURCE_DMA,
},
[3] = {
/* DRCMR for TX */
.start = 67,
.end = 67,
.flags = IORESOURCE_DMA,
},
}; };
struct platform_device pxa27x_device_ssp3 = { struct platform_device pxa27x_device_ssp3 = {
...@@ -895,16 +803,6 @@ static struct resource pxa3xx_resources_mci2[] = { ...@@ -895,16 +803,6 @@ static struct resource pxa3xx_resources_mci2[] = {
.end = IRQ_MMC2, .end = IRQ_MMC2,
.flags = IORESOURCE_IRQ, .flags = IORESOURCE_IRQ,
}, },
[2] = {
.start = 93,
.end = 93,
.flags = IORESOURCE_DMA,
},
[3] = {
.start = 94,
.end = 94,
.flags = IORESOURCE_DMA,
},
}; };
struct platform_device pxa3xx_device_mci2 = { struct platform_device pxa3xx_device_mci2 = {
...@@ -934,16 +832,6 @@ static struct resource pxa3xx_resources_mci3[] = { ...@@ -934,16 +832,6 @@ static struct resource pxa3xx_resources_mci3[] = {
.end = IRQ_MMC3, .end = IRQ_MMC3,
.flags = IORESOURCE_IRQ, .flags = IORESOURCE_IRQ,
}, },
[2] = {
.start = 100,
.end = 100,
.flags = IORESOURCE_DMA,
},
[3] = {
.start = 101,
.end = 101,
.flags = IORESOURCE_DMA,
},
}; };
struct platform_device pxa3xx_device_mci3 = { struct platform_device pxa3xx_device_mci3 = {
...@@ -1021,18 +909,6 @@ static struct resource pxa3xx_resources_nand[] = { ...@@ -1021,18 +909,6 @@ static struct resource pxa3xx_resources_nand[] = {
.end = IRQ_NAND, .end = IRQ_NAND,
.flags = IORESOURCE_IRQ, .flags = IORESOURCE_IRQ,
}, },
[2] = {
/* DRCMR for Data DMA */
.start = 97,
.end = 97,
.flags = IORESOURCE_DMA,
},
[3] = {
/* DRCMR for Command DMA */
.start = 99,
.end = 99,
.flags = IORESOURCE_DMA,
},
}; };
static u64 pxa3xx_nand_dma_mask = DMA_BIT_MASK(32); static u64 pxa3xx_nand_dma_mask = DMA_BIT_MASK(32);
...@@ -1066,18 +942,6 @@ static struct resource pxa3xx_resource_ssp4[] = { ...@@ -1066,18 +942,6 @@ static struct resource pxa3xx_resource_ssp4[] = {
.end = IRQ_SSP4, .end = IRQ_SSP4,
.flags = IORESOURCE_IRQ, .flags = IORESOURCE_IRQ,
}, },
[2] = {
/* DRCMR for RX */
.start = 2,
.end = 2,
.flags = IORESOURCE_DMA,
},
[3] = {
/* DRCMR for TX */
.start = 3,
.end = 3,
.flags = IORESOURCE_DMA,
},
}; };
/* /*
......
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