Commit Graph

1538 Commits

Author SHA1 Message Date
lyx
ed467f836f modify adckey for phone sdk 2010-07-15 03:23:01 -07:00
黄涛
0c8c526cce call enable_irq_wake on play/wakeup pin 2010-06-21 13:35:26 +08:00
罗伟
820d0e4349 modify adckey and battery driver for A7 2010-06-21 13:35:25 +08:00
罗伟
0462014b12 modify adc key driver 2010-06-21 13:35:24 +08:00
罗伟
5fa2773c33 modify the play key 2010-06-21 13:35:24 +08:00
罗伟
f3631e5573 modify the play key 2010-06-21 13:35:24 +08:00
罗伟
2392573693 2010-06-21 13:35:23 +08:00
沈睿汀
9c7e0273ed update for xpt2046 2010-06-21 13:35:22 +08:00
沈睿汀
d9c863aae3 update for xpt2046 2010-06-21 13:35:22 +08:00
沈睿汀
6e0351c48e update for xpt2046 2010-06-21 13:35:22 +08:00
林辉辉
9a32fc4532 update .config and update 2010-06-21 13:35:22 +08:00
罗伟
eec7849793 luowei modified battery driver on 100530 2010-06-21 13:35:20 +08:00
罗伟
dc799500f1 luowei modify battery driver on 100521 2010-06-21 13:35:15 +08:00
罗伟
ee63c07ee8 add battery module on 100520 2010-06-21 13:35:14 +08:00
沈睿汀
7b2e8e3eef update for xpt2046 2010-06-21 13:35:12 +08:00
沈睿汀
8665871562 update for xpt2046 2010-06-21 13:34:57 +08:00
林辉辉
a4a2e44cb4 updata adc key 2010-06-21 13:34:57 +08:00
沈睿汀
9c48494440 modify to xpt2046_ts.c xpt2046_ts.h 2010-06-21 13:34:57 +08:00
沈睿汀
8ee35e6000 update for xpt2046 2010-06-21 13:34:57 +08:00
沈睿汀
4019d7d374 update for xpt2046 2010-06-21 13:34:57 +08:00
沈睿汀
ffcb375cd7 update for xpt2046 2010-06-21 13:34:56 +08:00
沈睿汀
3f7c011197 update for xpt2046 2010-06-21 13:34:56 +08:00
沈睿汀
88d6a6efb1 update for xpt2046 2010-06-21 13:34:56 +08:00
林辉辉
f3b6482117 updata serial and console 2010-06-21 13:34:56 +08:00
罗伟
77b6aeb6e2 2010-06-21 13:34:56 +08:00
罗伟
032b435ca7 2010-06-21 13:34:55 +08:00
罗伟
843cb7a97d luowei add adc driver and adckey driver on 100515 2010-06-21 13:34:55 +08:00
Arve Hjønnevåg
67078ecae3 Merge commit 'v2.6.32.9' into android-2.6.32 2010-03-10 16:38:33 -08:00
David Härdeman
cf135e5571 Input: winbond-cir - remove dmesg spam
commit 93fb84b50f upstream.

I missed converting one dev_info call to deb_dbg before submitting the driver.
Without this change, a message will be printed to dmesg for each button press
if a RC6 remote is used.

Signed-off-by: David Härdeman <david@hardeman.nu>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-02-09 04:50:51 -08:00
Rebecca Schultz Zavin
252e0e32ac Input: synaptics_i2c_rmi: Add irqflags to platform data struct to pass them to driver
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Signed-off-by: Arve Hjønnevåg <arve@android.com>
2010-02-08 15:07:52 -08:00
Arve Hjønnevåg
00757787dd Input: synaptics_i2c_rmi: Send new multi touch events
Send both fingers using the new multitouch protocol in addition to
the old single finger event and second finger ABS_HAT* hack.

The new protocol does not specify how to report up events. To make
sure the user-space frameworks can generate up events, we send at
least one event where ABS_MT_TOUCH_MAJOR is zero before we stop
sending events for a finger.

Signed-off-by: Arve Hjønnevåg <arve@android.com>
2010-02-08 15:07:52 -08:00
Arve Hjønnevåg
3929c1894c Input: synaptics_i2c_rmi: Add sensitivity adjust option.
Signed-off-by: Arve Hjønnevåg <arve@android.com>
2010-02-08 15:07:51 -08:00
Arve Hjønnevåg
15fcd92b7a Input: synaptics_i2c_rmi: Add support for panels with has-no-relative-data property.
Signed-off-by: Arve Hjønnevåg <arve@android.com>
2010-02-08 15:07:50 -08:00
Arve Hjønnevåg
cf8b77e6a6 Input: synaptics_i2c_rmi: Driver for Synaptics Touchscreens using RMI over I2C.
Signed-off-by: Arve Hjønnevåg <arve@android.com>

Input: synaptics_i2c_rmi: disable_irq -> disable_irq_nosync

Also remove duplicate swap macro

Signed-off-by: Arve Hjønnevåg <arve@android.com>
2010-02-08 15:07:50 -08:00
Mike Lockwood
6cd91b7b3e input: keychord: Add keychord driver
This driver allows userspace to receive notification when client
specified key combinations are pressed.
The client opens /dev/keychord and writes a list of keychords
for the driver to monitor.
The client then reads or polls /dev/keychord for notifications.
A client specified ID for the keychord is returned from read()
when a keychord press is detected.

Signed-off-by: Mike Lockwood <lockwood@android.com>

keychord: fix to build without CONFIG_PREEMPT

Change-Id: I911f13aeda4224b6fa57863bc7e8972fec8837fb
2010-02-08 15:07:49 -08:00
Arve Hjønnevåg
d94329d008 input: Add keyreset driver.
Add a platform device in the board file to specify a reset key-combo.
The first time the key-combo is detected a work function that syncs
the filesystems is scheduled. If all the keys are released and then
pressed again, it calls panic. Reboot on panic should be set for
this to work.

Signed-off-by: Arve Hjønnevåg <arve@android.com>
2010-02-08 15:07:49 -08:00
Arve Hjønnevåg
22c233c343 Input: gpio_input: disable_irq -> disable_irq_nosync
Signed-off-by: Arve Hjønnevåg <arve@android.com>
2010-02-08 15:07:48 -08:00
Arve Hjønnevåg
f263c5383a Input: gpio_event: Allow multiple input devices per gpio_event device
This is needed to support devices that put non-keyboard buttons in
the keyboard matrix. For instance several devices put the trackball
button in the keyboard matrix. In this case BTN_MOUSE should be
reported from the same input device as REL_X/Y.

It is also useful for devices that have multiple logical keyboard in
the same matrix. The HTC dream has a menu key on the external keyboard
and another menu key on the slide-out keyboard. With a single input
device only one of these menu keys can be mapped to KEY_MENU.

Signed-off-by: Arve Hjønnevåg <arve@android.com>
2010-02-08 15:07:48 -08:00
Arve Hjønnevåg
0103b65fe8 Input: gpio_input: Fix keys with keycode 0x100-0x1ff
KEY_MAX is no longer a power of 2.

Signed-off-by: Arve Hjønnevåg <arve@android.com>
2010-02-08 15:07:47 -08:00
Arve Hjønnevåg
cbc1c940b5 Input: Generic GPIO Input device.
Supports keyboard matrixces, direct inputs, direct outputs and axes connected to gpios.

Signed-off-by: Arve Hjønnevåg <arve@android.com>
Signed-off-by: Nick Pelly <npelly@google.com>
2010-02-08 15:07:46 -08:00
Mike Chan
f8d61c26af input: evdev: Use unique wakelock names
wakelock names are now contain evdev->name and pid

Signed-off-by: Mike Chan <mike@android.com>
2010-02-03 21:27:12 -08:00
Arve Hjønnevåg
9abcb847ea Input: Use monotonic time for event time stamps.
Since wall time can jump backwards, it cannot be used to determine if one
event occured before another or for how long a key was pressed.

Signed-off-by: Arve Hjønnevåg <arve@android.com>
2010-02-03 21:27:12 -08:00
Arve Hjønnevåg
a92683626c Input: Hold wake lock while event queue is not empty.
Allows userspace code to process input events while
the device appears to be asleep.

Signed-off-by: Arve Hjønnevåg <arve@android.com>
2010-02-03 21:27:11 -08:00
Elliott Sales de Andrade
d16061056a Input: i8042 - add Dritek quirk for Acer Aspire 5610.
commit e6edbdc52b upstream.

Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-01-28 15:01:58 -08:00
Dmitry Torokhov
461eb3f6b3 Input: i8042 - add Gigabyte M1022M to the noloop list
commit a61cd03827 upstream.

Gigabyte netbook model M1022M requires i8042.noloop, otherwise AUX port
will not detected and the touchpad will not work. Unfortunately chassis
type in DMI set to "Other" and thus generic laptop entry does not fire
on it.

Reported-by: Darryl Bond <dbond@nrggos.com.au>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-01-28 15:01:54 -08:00
Dmitry Torokhov
f6278f11ca Input: i8042 - remove identification strings from DMI tables
commit f909b1df0a upstream.

The driver does not reference identification strings in DMI tables and
since these strings are no longer required by DMI core we can safely
remove them and save some memory.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-01-28 15:01:53 -08:00
Sebastian Kapfer
04daa51ee4 Input: ALPS - add interleaved protocol support (Dell E6x00 series)
commit 1d9f26262a upstream

Properly handle version of the protocol where standard PS/2 packets
from trackpoint are stuffed into middle (byte 3-6) of the standard
ALPS packets when both the touchpad and trackpoint are used together.

The patch is based on work done by Matthew Chapman and additional
research done by David Kubicek and Erik Osterholm:

	https://bugs.launchpad.net/ubuntu/+source/linux/+bug/296610

Many thanks to David Kubicek for his efforts in researching fine points
of this new version of the protocol, especially interaction between pad
and stick in these models.

Cc: Andy Isaacson <adi@hexapodia.org>
Signed-off-by: Sebastian Kapfer <sebastian_kapfer@gmx.net>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-01-28 15:00:43 -08:00
Tai-hwa Liang
2196ca4e67 Input: pmouse - move Sentelic probe down the list
commit 4a18b3ab6e upstream.

Sentelic probes confuse IBM trackpoints so they stop responding to
TP_READ_ID command. See:

	http://bugzilla.kernel.org/show_bug.cgi?id=14970

Let's move FSP detection lower so it is probed after trackpoint and
others, just before we strat probing for Intellimouse Explorer.

Signed-off-by: Tai-hwa Liang <avatar@sentelic.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-01-22 15:18:28 -08:00
Anisse Astier
049e2d13b8 Input: i8042 - add Dell Vostro 1320, 1520 and 1720 to the reset list
These laptops often leave i8042 in a wierd state resulting in non-
operational touchpad and keyboard.

Signed-off-by: Anisse Astier <anisse@astier.eu>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-12-02 15:41:33 -08:00
Abner Holsinger
b1e69aae77 Input: lifebook - fix settings for CF-72
Panasonic CF-72 uses 6-byte protocol and does not need to be tied
to a particular port.

Signed-off-by: Abner Holsinger <9zabner@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2009-11-16 22:27:12 -08:00