aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-w90x900
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-w90x900')
-rw-r--r--arch/arm/mach-w90x900/mach-w90p910evb.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/mach-w90x900/mach-w90p910evb.c b/arch/arm/mach-w90x900/mach-w90p910evb.c
index 578a50910c0a..26de71f73f47 100644
--- a/arch/arm/mach-w90x900/mach-w90p910evb.c
+++ b/arch/arm/mach-w90x900/mach-w90p910evb.c
@@ -135,6 +135,29 @@ struct platform_device w90x900_device_usb_ohci = {
135}; 135};
136EXPORT_SYMBOL(w90x900_device_usb_ohci); 136EXPORT_SYMBOL(w90x900_device_usb_ohci);
137 137
138/*TouchScreen controller*/
139
140static struct resource w90x900_ts_resource[] = {
141 [0] = {
142 .start = W90X900_PA_ADC,
143 .end = W90X900_PA_ADC + W90X900_SZ_ADC-1,
144 .flags = IORESOURCE_MEM,
145 },
146 [1] = {
147 .start = IRQ_ADC,
148 .end = IRQ_ADC,
149 .flags = IORESOURCE_IRQ,
150 },
151};
152
153struct platform_device w90x900_device_ts = {
154 .name = "w90x900-ts",
155 .id = -1,
156 .resource = w90x900_ts_resource,
157 .num_resources = ARRAY_SIZE(w90x900_ts_resource),
158};
159EXPORT_SYMBOL(w90x900_device_ts);
160
138static struct map_desc w90p910_iodesc[] __initdata = { 161static struct map_desc w90p910_iodesc[] __initdata = {
139}; 162};
140 163
@@ -145,6 +168,7 @@ static struct platform_device *w90p910evb_dev[] __initdata = {
145 &w90p910_flash_device, 168 &w90p910_flash_device,
146 &w90x900_device_usb_ehci, 169 &w90x900_device_usb_ehci,
147 &w90x900_device_usb_ohci, 170 &w90x900_device_usb_ohci,
171 &w90x900_device_ts,
148}; 172};
149 173
150static void __init w90p910evb_map_io(void) 174static void __init w90p910evb_map_io(void)