diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2005-09-06 18:19:07 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-07 19:57:54 -0400 |
commit | f7ceff348bbd2ef35b5bc2ab47541dcac4b0b8ea (patch) | |
tree | 118f8dda0656f933455391314a02dd1c810ca7bb | |
parent | 3158106685acac8f8d4e74a17b974f160fe77c0b (diff) |
[PATCH] Corgi: Add keyboard and touchscreen device definitions
Add keyboard and touchscreen device definitions for corgi.
Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | arch/arm/mach-pxa/corgi.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/corgi.c b/arch/arm/mach-pxa/corgi.c index 453be2948533..47da9fe57aa6 100644 --- a/arch/arm/mach-pxa/corgi.c +++ b/arch/arm/mach-pxa/corgi.c | |||
@@ -108,6 +108,27 @@ static struct platform_device corgibl_device = { | |||
108 | 108 | ||
109 | 109 | ||
110 | /* | 110 | /* |
111 | * Corgi Keyboard Device | ||
112 | */ | ||
113 | static struct platform_device corgikbd_device = { | ||
114 | .name = "corgi-keyboard", | ||
115 | .id = -1, | ||
116 | }; | ||
117 | |||
118 | |||
119 | /* | ||
120 | * Corgi Touch Screen Device | ||
121 | */ | ||
122 | static struct platform_device corgits_device = { | ||
123 | .name = "corgi-ts", | ||
124 | .dev = { | ||
125 | .parent = &corgissp_device.dev, | ||
126 | }, | ||
127 | .id = -1, | ||
128 | }; | ||
129 | |||
130 | |||
131 | /* | ||
111 | * MMC/SD Device | 132 | * MMC/SD Device |
112 | * | 133 | * |
113 | * The card detect interrupt isn't debounced so we delay it by HZ/4 | 134 | * The card detect interrupt isn't debounced so we delay it by HZ/4 |
@@ -183,6 +204,7 @@ static struct pxamci_platform_data corgi_mci_platform_data = { | |||
183 | }; | 204 | }; |
184 | 205 | ||
185 | 206 | ||
207 | |||
186 | /* | 208 | /* |
187 | * USB Device Controller | 209 | * USB Device Controller |
188 | */ | 210 | */ |
@@ -208,7 +230,9 @@ static struct platform_device *devices[] __initdata = { | |||
208 | &corgiscoop_device, | 230 | &corgiscoop_device, |
209 | &corgissp_device, | 231 | &corgissp_device, |
210 | &corgifb_device, | 232 | &corgifb_device, |
233 | &corgikbd_device, | ||
211 | &corgibl_device, | 234 | &corgibl_device, |
235 | &corgits_device, | ||
212 | }; | 236 | }; |
213 | 237 | ||
214 | static void __init corgi_init(void) | 238 | static void __init corgi_init(void) |