Commit d06a49ee authored by Mark Brown's avatar Mark Brown Committed by Ben Dooks

[ARM] S3C64XX: Add device for IISv4 port

Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
parent 52da219e
...@@ -50,3 +50,19 @@ struct platform_device s3c64xx_device_iis1 = { ...@@ -50,3 +50,19 @@ struct platform_device s3c64xx_device_iis1 = {
.resource = s3c64xx_iis1_resource, .resource = s3c64xx_iis1_resource,
}; };
EXPORT_SYMBOL(s3c64xx_device_iis1); EXPORT_SYMBOL(s3c64xx_device_iis1);
static struct resource s3c64xx_iisv4_resource[] = {
[0] = {
.start = S3C64XX_PA_IISV4,
.end = S3C64XX_PA_IISV4 + 0x100 - 1,
.flags = IORESOURCE_MEM,
},
};
struct platform_device s3c64xx_device_iisv4 = {
.name = "s3c64xx-iis-v4",
.id = -1,
.num_resources = ARRAY_SIZE(s3c64xx_iisv4_resource),
.resource = s3c64xx_iisv4_resource,
};
EXPORT_SYMBOL(s3c64xx_device_iisv4);
...@@ -26,6 +26,7 @@ extern struct platform_device s3c_device_timer[]; ...@@ -26,6 +26,7 @@ extern struct platform_device s3c_device_timer[];
extern struct platform_device s3c64xx_device_iis0; extern struct platform_device s3c64xx_device_iis0;
extern struct platform_device s3c64xx_device_iis1; extern struct platform_device s3c64xx_device_iis1;
extern struct platform_device s3c64xx_device_iisv4;
extern struct platform_device s3c_device_fb; extern struct platform_device s3c_device_fb;
extern struct platform_device s3c_device_usb; extern struct platform_device s3c_device_usb;
......
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