Commit 4a2c5ced authored by Russell King's avatar Russell King

[ARM] Add SA11x0 UDC DMA mask support, and SSP platform device

parent 3f87abae
...@@ -138,11 +138,14 @@ static struct resource sa11x0udc_resources[] = { ...@@ -138,11 +138,14 @@ static struct resource sa11x0udc_resources[] = {
}, },
}; };
static u64 sa11x0udc_dma_mask = 0xffffffffUL;
static struct platform_device sa11x0udc_device = { static struct platform_device sa11x0udc_device = {
.name = "sa11x0-udc", .name = "sa11x0-udc",
.id = 0, .id = 0,
.dev = { .dev = {
.name = "Intel Corporation SA11x0 [UDC]", .name = "Intel Corporation SA11x0 [UDC]",
.dma_mask = &sa11x0udc_dma_mask,
}, },
.num_resources = ARRAY_SIZE(sa11x0udc_resources), .num_resources = ARRAY_SIZE(sa11x0udc_resources),
.resource = sa11x0udc_resources, .resource = sa11x0udc_resources,
...@@ -166,6 +169,27 @@ static struct platform_device sa11x0mcp_device = { ...@@ -166,6 +169,27 @@ static struct platform_device sa11x0mcp_device = {
.resource = sa11x0mcp_resources, .resource = sa11x0mcp_resources,
}; };
static struct resource sa11x0ssp_resources[] = {
[0] = {
.start = 0x80070000,
.end = 0x8007ffff,
.flags = IORESOURCE_MEM,
},
};
static u64 sa11x0ssp_dma_mask = 0xffffffffUL;
static struct platform_device sa11x0ssp_device = {
.name = "sa11x0-ssp",
.id = 0,
.dev = {
.name = "Intel Corporation SA11x0 [SSP]",
.dma_mask = &sa11x0ssp_dma_mask,
},
.num_resources = ARRAY_SIZE(sa11x0ssp_resources),
.resource = sa11x0ssp_resources,
};
static struct resource sa11x0fb_resources[] = { static struct resource sa11x0fb_resources[] = {
[0] = { [0] = {
.start = 0xb0100000, .start = 0xb0100000,
...@@ -200,6 +224,7 @@ static struct platform_device sa11x0pcmcia_device = { ...@@ -200,6 +224,7 @@ static struct platform_device sa11x0pcmcia_device = {
static struct platform_device *sa11x0_devices[] __initdata = { static struct platform_device *sa11x0_devices[] __initdata = {
&sa11x0udc_device, &sa11x0udc_device,
&sa11x0mcp_device, &sa11x0mcp_device,
&sa11x0ssp_device,
&sa11x0pcmcia_device, &sa11x0pcmcia_device,
&sa11x0fb_device, &sa11x0fb_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