diff options
63 files changed, 3110 insertions, 1167 deletions
diff --git a/Documentation/DocBook/device-drivers.tmpl b/Documentation/DocBook/device-drivers.tmpl index 94a20fe8fedf..f9a6e2c75f12 100644 --- a/Documentation/DocBook/device-drivers.tmpl +++ b/Documentation/DocBook/device-drivers.tmpl | |||
| @@ -293,10 +293,23 @@ X!Idrivers/video/console/fonts.c | |||
| 293 | 293 | ||
| 294 | <chapter id="input_subsystem"> | 294 | <chapter id="input_subsystem"> |
| 295 | <title>Input Subsystem</title> | 295 | <title>Input Subsystem</title> |
| 296 | <sect1><title>Input core</title> | ||
| 296 | !Iinclude/linux/input.h | 297 | !Iinclude/linux/input.h |
| 297 | !Edrivers/input/input.c | 298 | !Edrivers/input/input.c |
| 298 | !Edrivers/input/ff-core.c | 299 | !Edrivers/input/ff-core.c |
| 299 | !Edrivers/input/ff-memless.c | 300 | !Edrivers/input/ff-memless.c |
| 301 | </sect1> | ||
| 302 | <sect1><title>Polled input devices</title> | ||
| 303 | !Iinclude/linux/input-polldev.h | ||
| 304 | !Edrivers/input/input-polldev.c | ||
| 305 | </sect1> | ||
| 306 | <sect1><title>Matrix keyboars/keypads</title> | ||
| 307 | !Iinclude/linux/input/matrix_keypad.h | ||
| 308 | </sect1> | ||
| 309 | <sect1><title>Sparse keymap support</title> | ||
| 310 | !Iinclude/linux/input/sparse-keymap.h | ||
| 311 | !Edrivers/input/sparse-keymap.c | ||
| 312 | </sect1> | ||
| 300 | </chapter> | 313 | </chapter> |
| 301 | 314 | ||
| 302 | <chapter id="spi"> | 315 | <chapter id="spi"> |
diff --git a/MAINTAINERS b/MAINTAINERS index f7b0ced81116..107a5a5a0174 100644 --- a/MAINTAINERS +++ b/MAINTAINERS | |||
| @@ -486,13 +486,6 @@ S: Maintained | |||
| 486 | F: drivers/net/appletalk/ | 486 | F: drivers/net/appletalk/ |
| 487 | F: net/appletalk/ | 487 | F: net/appletalk/ |
| 488 | 488 | ||
| 489 | APPLETOUCH TOUCHPAD DRIVER | ||
| 490 | M: Johannes Berg <johannes@sipsolutions.net> | ||
| 491 | L: linux-input@vger.kernel.org | ||
| 492 | S: Maintained | ||
| 493 | F: Documentation/input/appletouch.txt | ||
| 494 | F: drivers/input/mouse/appletouch.c | ||
| 495 | |||
| 496 | ARC FRAMEBUFFER DRIVER | 489 | ARC FRAMEBUFFER DRIVER |
| 497 | M: Jaya Kumar <jayalk@intworks.biz> | 490 | M: Jaya Kumar <jayalk@intworks.biz> |
| 498 | S: Maintained | 491 | S: Maintained |
diff --git a/arch/arm/mach-at91/at91sam9g45_devices.c b/arch/arm/mach-at91/at91sam9g45_devices.c index a57af3e99c7c..809114d5a5a6 100644 --- a/arch/arm/mach-at91/at91sam9g45_devices.c +++ b/arch/arm/mach-at91/at91sam9g45_devices.c | |||
| @@ -866,6 +866,57 @@ static void __init at91_add_device_rtc(void) {} | |||
| 866 | 866 | ||
| 867 | 867 | ||
| 868 | /* -------------------------------------------------------------------- | 868 | /* -------------------------------------------------------------------- |
| 869 | * Touchscreen | ||
| 870 | * -------------------------------------------------------------------- */ | ||
| 871 | |||
| 872 | #if defined(CONFIG_TOUCHSCREEN_ATMEL_TSADCC) || defined(CONFIG_TOUCHSCREEN_ATMEL_TSADCC_MODULE) | ||
| 873 | static u64 tsadcc_dmamask = DMA_BIT_MASK(32); | ||
| 874 | static struct at91_tsadcc_data tsadcc_data; | ||
| 875 | |||
| 876 | static struct resource tsadcc_resources[] = { | ||
| 877 | [0] = { | ||
| 878 | .start = AT91SAM9G45_BASE_TSC, | ||
| 879 | .end = AT91SAM9G45_BASE_TSC + SZ_16K - 1, | ||
| 880 | .flags = IORESOURCE_MEM, | ||
| 881 | }, | ||
| 882 | [1] = { | ||
| 883 | .start = AT91SAM9G45_ID_TSC, | ||
| 884 | .end = AT91SAM9G45_ID_TSC, | ||
| 885 | .flags = IORESOURCE_IRQ, | ||
| 886 | } | ||
| 887 | }; | ||
| 888 | |||
| 889 | static struct platform_device at91sam9g45_tsadcc_device = { | ||
| 890 | .name = "atmel_tsadcc", | ||
| 891 | .id = -1, | ||
| 892 | .dev = { | ||
| 893 | .dma_mask = &tsadcc_dmamask, | ||
| 894 | .coherent_dma_mask = DMA_BIT_MASK(32), | ||
| 895 | .platform_data = &tsadcc_data, | ||
| 896 | }, | ||
| 897 | .resource = tsadcc_resources, | ||
| 898 | .num_resources = ARRAY_SIZE(tsadcc_resources), | ||
| 899 | }; | ||
| 900 | |||
| 901 | void __init at91_add_device_tsadcc(struct at91_tsadcc_data *data) | ||
| 902 | { | ||
| 903 | if (!data) | ||
| 904 | return; | ||
| 905 | |||
| 906 | at91_set_gpio_input(AT91_PIN_PD20, 0); /* AD0_XR */ | ||
| 907 | at91_set_gpio_input(AT91_PIN_PD21, 0); /* AD1_XL */ | ||
| 908 | at91_set_gpio_input(AT91_PIN_PD22, 0); /* AD2_YT */ | ||
| 909 | at91_set_gpio_input(AT91_PIN_PD23, 0); /* AD3_TB */ | ||
