android_kernel_motorola_sm6225/include/linux/i2c
Daniel Kurtz 22dfab7fd7 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 <djkurtz@chromium.org>
Signed-off-by: Benson Leung <bleung@chromium.org>
Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
Tested-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-03-08 16:03:29 -08:00
..
adp5588.h Input: adp5588 - add support for gpio names 2012-05-10 22:34:16 -07:00
adp8860.h
adp8870.h backlight: new driver for the ADP8870 backlight devices 2011-06-15 20:03:59 -07:00
ads1015.h hwmon: (ads1015) Make gain and datarate configurable 2011-03-21 17:59:37 +01:00
apds990x.h drivers/misc: driver for APDS990X ALS and proximity sensors 2010-10-26 16:52:14 -07:00
at24.h misc: at24: describe platform_data with kernel_doc 2012-02-24 22:25:58 +01:00
atmel_mxt_ts.h Input: atmel_mxt_ts - Support for touchpad variant 2013-03-08 16:03:29 -08:00
bh1770glc.h
dm355evm_msp.h
ds620.h hwmon: Support for Dallas Semiconductor DS620 2011-01-09 09:10:10 -08:00
i2c-hid.h HID: i2c-hid: introduce HID over i2c specification implementation 2012-11-19 11:04:38 +01:00
i2c-rcar.h i2c: add Renesas R-Car I2C driver 2012-10-08 12:46:25 +02:00
i2c-sh_mobile.h i2c: i2c-sh_mobile: support I2C hardware block with a faster operating clock 2012-11-16 09:09:12 +01:00
lm8323.h
ltc4245.h
max732x.h
max6639.h hwmon: Driver for Maxim MAX6639 2011-03-14 22:36:24 -07:00
mcs.h Input: mcs_touchkey - add support for suspend/resume 2011-02-23 21:43:31 -08:00
mms114.h Input: add MELFAS mms114 touchscreen driver 2012-07-17 23:16:17 -07:00
mpr121_touchkey.h Input: add driver FSL MPR121 capacitive touch sensor 2011-05-12 08:28:58 -07:00
pca953x.h GPIO: PCA953X: Increase size of invert variable to support 24 bit 2012-07-17 21:00:18 +02:00
pca954x.h i2c-mux: Add support for device auto-detection 2012-10-05 22:23:51 +02:00
pcf857x.h gpio: pcf857x: use client->irq for gpio_to_irq() 2012-12-07 09:16:12 +01:00
pmbus.h hwmon: PMBus device driver 2011-03-14 22:36:26 -07:00
pxa-i2c.h ARM: pxa2xx: reorganize I2C files 2011-03-21 09:09:33 +00:00
s6000.h
sx150x.h
tc35876x.h gma500: initial medfield merge 2012-03-10 13:05:48 +00:00
tps65010.h
tsc2007.h Input: tsc2007 - make sure that X plate resistance is specified 2011-10-11 20:56:41 -07:00
twl.h mfd: twl-core: Move twl_i2c_read/write_u8 to header as inline function 2013-02-14 00:22:52 +01:00
twl4030-madc.h mfd: Turn on the twl4030-madc MADC clock 2011-10-24 14:09:10 +02:00