Corgi: Add keyboard and touchscreen device definitions
Subsystems (3)
PATCH 1/1 Corgi: Add keyboard and touchscreen device definitions
Add keyboard and touchscreen device definitions for corgi.
Signed-off-by Richard Purdie <[email protected]>
arch/arm/mach-pxa/corgi.c +24 -0
@@ -99,6 +99,27 @@/* +* Corgi Keyboard Device +*/ +static struct platform_device corgikbd_device = { + .name ="corgi-keyboard" , + .id =-1 , +}; + + +/* +* Corgi Touch Screen Device +*/ +static struct platform_device corgits_device = { + .name ="corgi-ts" , + .dev = { + .parent = &corgissp_device.dev, + }, + .id =-1 , +}; + + +/* * MMC/SD Device * * The card detect interrupt isn't debounced so we delay it by HZ/4
@@ -180,6 +201,7 @@ }; +/* * USB Device Controller */
@@ -205,7 +227,9 @@ &corgiscoop_device, &corgissp_device, &corgifb_device, + &corgikbd_device, &corgibl_device, + &corgits_device, };static void __init corgi_init (void )