Commit Graph

1731 Commits

Author SHA1 Message Date
hhb
08b54c888b rk29:touch screen -> modify gt818's INT port and SHUTDOWN port control when resume or suspned 2011-06-29 18:11:40 +08:00
jyk
d0b6fd4ce2 newton: add FT5406 touchscreen driver support 2011-06-29 10:22:10 +08:00
蔡枫
df10271a74 Merge branch 'develop' of 10.10.10.29:/home/rockchip/kernel into develop 2011-06-28 15:24:52 +08:00
蔡枫
f183847518 add camera support and rtc for newton board 2011-06-28 15:24:06 +08:00
黄涛
2a9850e70a Revert "rk29:UART->add new uart driver rk_serial.c which can be configurated in menuconfig,but the old driver is default used"
This reverts commit ee1cd71135.
2011-06-27 17:59:38 +08:00
hhb
ee1cd71135 rk29:UART->add new uart driver rk_serial.c which can be configurated in menuconfig,but the old driver is default used 2011-06-27 17:40:18 +08:00
hhb
0b3b1d8c29 rk29:touch screen -> modify tp suspend and resume function which would really work 2011-06-27 17:05:54 +08:00
蔡枫
4d66cbb27b add 5 point touch, close cs42l52 log for newton 2011-06-27 11:48:04 +08:00
蔡枫
184fcf6615 fix tp and codec bug in newton board 2011-06-25 22:42:23 +08:00
蔡枫
7902882ebb add support for newton board 2011-06-24 22:39:48 +08:00
hhb
3ada0b01a7 optimise touch screen gt818 response time 2011-06-22 17:32:01 +08:00
zwp
82812fa339 gsensor:1.fix bug in sampling rate counting; 2.add low pass filter. 2011-06-22 00:28:33 -07:00
root
ba2c745306 1.A22:add debug interface for touch screen.
2.A22:report touch up event to android when resume to avoid following error:
I/InputDispatcher(   86): Dropping event because the pointer is not down.
2011-06-18 17:15:16 +08:00
hhb
88682f92ba rk29: touch screen : add gt818 driver 2011-06-18 11:30:20 +08:00
root
25d845b5bf 1.make sure power key can wake up system and light lcd even though pressure time is short.
2.mask some unused log.
2011-06-17 04:08:53 +08:00
黄涛
7cd3739f32 Merge remote-tracking branch 'linux-2.6.32.y/master' into develop
Merge Linux 2.6.32.41
Conflicts:
	Makefile
	drivers/mmc/core/core.c
	drivers/net/wireless/ath/ath9k/ath9k.h
	drivers/net/wireless/ath/ath9k/hw.c
	drivers/net/wireless/ath/ath9k/main.c
	drivers/net/wireless/ath/regd_common.h
	drivers/net/wireless/b43/dma.c
	drivers/net/wireless/b43/dma.h
	drivers/net/wireless/b43/sdio.c
	drivers/net/wireless/hostap/hostap_cs.c
	drivers/net/wireless/iwlwifi/iwl-5000.c
	drivers/net/wireless/iwlwifi/iwl-agn.c
	drivers/net/wireless/iwlwifi/iwl-helpers.h
	drivers/net/wireless/iwlwifi/iwl-tx.c
	drivers/net/wireless/libertas/cmd.c
	drivers/net/wireless/p54/p54pci.c
	drivers/net/wireless/p54/p54usb.c
	drivers/net/wireless/p54/txrx.c
	drivers/net/wireless/rt2x00/rt2400pci.c
	drivers/net/wireless/rt2x00/rt2500pci.c
	drivers/net/wireless/rt2x00/rt2500usb.c
	drivers/net/wireless/rt2x00/rt2800usb.c
	drivers/net/wireless/rt2x00/rt2x00.h
	drivers/net/wireless/rt2x00/rt2x00dev.c
	drivers/net/wireless/rt2x00/rt2x00queue.c
	drivers/net/wireless/rt2x00/rt61pci.c
	drivers/net/wireless/rt2x00/rt73usb.c
	drivers/usb/serial/option.c
	mm/shmem.c
2011-06-16 11:56:59 +08:00
root
cc7524966a A22:keep tp reset high when resume to reduce current 2011-06-14 19:36:12 +08:00
root
28e2d64d1c A22:add udelay to 200 for touch screen i2c reading 2011-06-10 00:51:52 +08:00
root
81431db8b7 1. add irq enable and disable for gpio.c to support disable_irq_nosync() function;
2. change irq type of touch screen between IRQF_TRIGGER_LOW and IRQF_TRIGGER_FALLING when suspend and resume,
so that can avoid system death.
2011-06-10 00:26:36 +08:00
root
6770b703b4 1、update wm831x_power.c from cj5;
2、use resume command instead of init LCD;
3、add delay after reset TP may be avoid death while resume;
2011-06-03 12:13:44 +08:00
linjh
c71cce9858 phonepad: add lcd hsd07pfw1; tp d70_l3188a 2011-06-02 12:28:56 +08:00
root
1cd3e0d990 touchscreen:keep touchscreen workqueue while suspend 2011-05-26 01:38:33 +08:00
黄涛
daf94627d7 input: eeti_egalax_i2c: fix no up event bug, use schedule_timeout_interruptible instead of schedule, fix gcc warning, irq type set to low 2011-05-26 10:37:41 +08:00
lyx
cf77093219 add boardconfig for gsensor orientation 2011-05-24 21:36:14 -07:00
root
c2d4e4e3c6 xxm FIH: update touch panel:slow report 2011-05-25 12:02:52 +08:00
root
850722c442 1. return -1 if read voltage error before reporting battery's event;
2. change to use delay workqueue to wait spi resume;
3. delete flush(dws) operation from spi resume function to avoid spi error while system resume;
4. delete suspend_noirq function from wm831x_on.c to avoid reading spi before spim resume;
5. add touchscreen delay to 200us to avoid i2c error;
2011-05-24 09:11:45 +08:00
root
344d70a08a xxm FIH: 1.update cm3202 ,2.update rk29_serial for gps 2011-05-19 10:30:33 +08:00
Éric Piel
276c429b5d Input: elantech - discard the first 2 positions on some firmwares
commit 7f29f17b57 upstream.

According to the Dell/Ubuntu driver, what was previously observed as
"jumpy cursor" corresponds to the hardware sending incorrect data for
the first two reports of a one touch finger. So let's use the same
workaround as in the other driver. Also, detect another firmware
version with the same behaviour, as in the other driver.

Signed-off-by: Éric Piel <eric.piel@tremplin-utc.net>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
[bwh: Adjust for 2.6.32]
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-05-09 15:55:08 -07:00
Dmitry Torokhov
1747aac65b Input: elantech - relax signature checks
commit a083632eaf upstream.

Apparently there are Elantech touchpads that report non-zero in the 2nd byte
of their signature. Adjust the detection routine so that if 2nd byte is
zero and 3rd byte contains value that is not a valid report rate, we still
assume that signature is valid.

Tested-by: Eric Piel <eric.piel@tremplin-utc.net>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
[bwh: Adjust context for 2.6.32]
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-05-09 15:55:07 -07:00
Dmitry Torokhov
8bac623e5b Input: elantech - use all 3 bytes when checking version
commit 504e8beed1 upstream.

Apparently all 3 bytes returned by ETP_FW_VERSION_QUERY are significant
and should be taken into account when matching hardware version/features.

Tested-by: Eric Piel <eric.piel@tremplin-utc.net>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-05-09 15:55:06 -07:00
Florian Ragwitz
6883f58088 Input: elantech - ignore high bits in the position coordinates
commit e938fbfd4a upstream.

In older versions of the elantech hardware/firmware those bits always
were unset, so it didn't actually matter, but newer versions seem to
use those high bits for something else, screwing up the coordinates
we report to the input layer for those devices.

Signed-off-by: Florian Ragwitz <rafl@debian.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-05-09 15:55:06 -07:00
Florian Ragwitz
c96981dd21 Input: elantech - allow forcing Elantech protocol
commit f81bc788ff upstream.

Apparently hardware vendors now ship elantech touchpads with different version
magic. This options allows for them to be tested easier with the current driver
in order to add their magic to the whitelist later.

Signed-off-by: Florian Ragwitz <rafl@debian.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-05-09 15:55:06 -07:00
Florian Ragwitz
971c6dfbbf Input: elantech - fix firmware version check
commit 225c61aad3 upstream.

The check determining whether device should use 4- or 6-byte packets
was trying to compare firmware with 2.48, but was failing on majors
greater than 2. The new check ensures that versions like 4.1 are
checked properly.

Signed-off-by: Florian Ragwitz <rafl@debian.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-05-09 15:55:05 -07:00
Dmitry Torokhov
40ebeb0d12 Input: elantech - do not advertise relative events
commit c7a1f3ccfc upstream.

Elantech touchpads work in absolute mode and do not generate relative
events so they should not be advertising them.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-05-09 15:55:05 -07:00
Takashi Iwai
450aae0824 Input: Add support of Synaptics Clickpad device
commit 5f57d67da8 upstream.

The new type of touchpads can be detected via a new query command
0x0c. The clickpad flags are in cap[0]:4 and cap[1]:0 bits.

When the device is detected, the driver now reports only the left
button as the supported buttons so that X11 driver can detect that
the device is Clickpad. A Clickpad device gives the button events
only as the middle button. The kernel driver morphs to the left
button. The real handling of Clickpad is done rather in X driver
side.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-05-09 15:55:04 -07:00
Igor Mammedov
5a6e9f0368 Input: xen-kbdfront - fix mouse getting stuck after save/restore
commit c36b58e8a9 upstream.

Mouse gets "stuck" after restore of PV guest but buttons are in working
condition.

If driver has been configured for ABS coordinates at start it will get
XENKBD_TYPE_POS events and then suddenly after restore it'll start getting
XENKBD_TYPE_MOTION events, that will be dropped later and they won't get
into user-space.

Regression was introduced by hunk 5 and 6 of
5ea5254aa0
("Input: xen-kbdfront - advertise either absolute or relative
coordinates").

Driver on restore should ask xen for request-abs-pointer again if it is
available. So restore parts that did it before 5ea5254.

Acked-by: Olaf Hering <olaf@aepfle.de>
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
[v1: Expanded the commit description]
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2011-05-09 15:54:55 -07:00
root
cf211ad02a xxm FIH:1.update board-rk29-fih.c 2.update cm3202.c 3.update rk29_FIH_defconfig 2011-05-07 11:04:58 +08:00
root
d51debf3e1 touchscreen:add calibration for touchscreen ili2102 to support it's APK 2011-05-04 23:29:22 +08:00
root
b4c284eb83 xxm FIH:update touchpanel(when resume from suspend,read register of touchpanel) 2011-05-04 18:05:55 +08:00
root
0500b7e79d xxm FIH:update touchkey_led && touch panel 180 2011-04-29 10:48:24 +08:00
徐建辉
2a28d8b0f9 Merge branch 'develop' of 10.10.10.29:/home/rockchip/kernel into develop 2011-04-28 10:20:58 +08:00
徐建辉
a4a7ec62f5 change mma8452 update event in unit of 1mg 2011-04-28 09:50:00 +08:00
root
5a6d69b0e6 xxm FIH:light sensor add early_suspend 2011-04-28 09:47:12 +08:00
luowei
4bd4010a9c add ov3640 driver and compass driver support for A22 2011-04-26 10:59:59 +08:00
root
581d60cb54 xxm FIH:update lightsensor cm3202 2011-04-25 17:48:54 +08:00
root
eccb332a70 xxm FIH:update touch panel && UART3 2011-04-25 17:10:15 +08:00
lyx
6bc981e2f2 rollback gsensor mmaio num 2011-04-24 19:10:36 -07:00
蔡枫
dfee776afc modify touch screen standby 2011-04-23 12:48:37 +08:00
lyx
e617e947da modify psensor for phonesdk 2011-04-22 20:11:30 -07:00
蔡枫
995cebcf8a Merge branch 'develop' of 10.10.10.29:/home/rockchip/kernel into develop 2011-04-21 13:36:00 +08:00