aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug/ibmphp.h
diff options
context:
space:
mode:
authorDaniel Kurtz <[email protected]>2013-03-08 03:43:33 +0000
committerLinus Torvalds <[email protected]>2013-03-09 00:03:29 +0000
commit22dfab7fd7fd5a8a2c5556ca0a8fd35fc959abc8 (patch)
tree009b5cdf5cba8e20266861989d38bc777ef845f7 /drivers/pci/hotplug/ibmphp.h
parentMerge branch 'for-next' of git://git.samba.org/sfrench/cifs-2.6 (diff)
downloadkernel-22dfab7fd7fd5a8a2c5556ca0a8fd35fc959abc8.tar.gz
kernel-22dfab7fd7fd5a8a2c5556ca0a8fd35fc959abc8.zip
Input: atmel_mxt_ts - Support for touchpad variant
This same driver can be used by atmel based touchscreens and touchpads (buttonpads). Platform data may specify a device is a touchpad using the is_tp flag. This will cause the driver to perform some touchpad specific initializations, such as: * register input device name "Atmel maXTouch Touchpad" instead of Touchscreen. * register BTN_LEFT & BTN_TOOL_* event types. * register axis resolution (as a fixed constant, for now) * register BUTTONPAD property * process GPIO buttons using reportid T19 Input event GPIO mapping is done by the platform data key_map array. key_map[x] should contain the KEY or BTN code to send when processing GPIOx from T19. To specify a GPIO as not an input source, populate with KEY_RESERVED, or 0. Signed-off-by: Daniel Kurtz <[email protected]> Signed-off-by: Benson Leung <[email protected]> Signed-off-by: Nick Dyer <[email protected]> Tested-by: Olof Johansson <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/pci/hotplug/ibmphp.h')
0 files changed, 0 insertions, 0 deletions