Commit Graph

2951 Commits

Author SHA1 Message Date
mars_kao
1cd42812b1 TouchScreen: update touch firmware to A040.
Fix/Improve issue:

1.[Issue 9692415] Touch screen on flo is broken for games.
2.Broken line.
3.Two Fingers Tapping Easy Connectivity.
4.co-axis problem with two finger.

Change-Id: I4c906bc612a6184a131e52bc69d4e7d4d0e460c1
Signed-off-by: mars_kao <mars_kao@asus.com>
2013-08-01 18:47:34 +08:00
mars_kao
618463628c TouchScreen: Add 20ms delay after hw-reset to enter iap update mode.
to avoid unexpected retry command in firmware update mechanism.

[9867254]Need to wait for 20 ms before starting communicate with touch IC for boot-code initialization after the hw reset.

Change-Id: I6ae85336cb98e44f1de0344e4831a670d7a11d47
Signed-off-by: mars_kao <mars_kao@asus.com>
2013-07-16 17:35:07 +00:00
mars_kao
8cc58dc98c TouchScreen: update touch firmware to A038.
Fix/Improve issue:

1.[Issue 9692415] Touch screen on flo is broken for games
2.[Issue 9323363] [FLO/DEB] [Touch] Scrolling not smooth
3.[Issue 9471817] [FLO/DEB] [Touch] Hover touches

Change-Id: Ia1983e6e4758d457eaa7ba8779448939afa8a6bf
Signed-off-by: mars_kao <mars_kao@asus.com>
2013-07-11 22:17:22 +00:00
mars_kao
c79b64b20c TouchScreen: Modify the power source flag in HDMI mode.
Avoid collision with ac mode for update power source to touch ic.

Change-Id: I5ce03351d8f93cd758c2238d3a6836816385a22b
Signed-off-by: mars_kao <mars_kao@asus.com>
2013-07-10 15:36:43 +08:00
mars_kao
4ea20b72c2 TouchScreen: update touch firmware to A036.
Fix issue:
962875:Need a new touch firmware to pass ESD test.

Change-Id: I9c273a0277d64d4884ef10325500e8328d4cb00c
Signed-off-by: mars_kao <mars_kao@asus.com>
2013-07-02 16:29:03 +00:00
mars_kao
281465629f TouchScreen: update touch firmware to A034.
improvement:
9323363:Scrolling not smooth.

Change-Id: I552fad775e8ae21ec2e457ce62503e859fd47906
Signed-off-by: mars_kao <mars_kao@asus.com>
2013-06-28 12:16:35 +08:00
mars_kao
532919057d TouchScreen: update touch firmware to A033.
Fix issue:
1.Seeing lost touches.
2.Magic disappearing square.
3.Need to clean up small pointer dancing.
4.Pointer splitting.
5.Jumps between two large touches.
6.9521124:Poor performace in handwritten input method.

Bug: 9472154
Bug: 9471828
Bug: 9521124
Bug: 9471817

Change-Id: If55282734109ffb4fff5eb1ddb492fbf18859de7
Signed-off-by: mars_kao <mars_kao@asus.com>
2013-06-26 07:15:28 +00:00
mars_kao
904193844c TouchScreen: update touch firmware to A032.
1.upload firmware to A032.
2.modify driver to update power source when use slim port to hdmi.

A032 fix issue:

9471817:Hover touches.
9366206:Device show multiple-ghost touch after connect HDMI and tilt device to 40~65 degree.
9471956:Unclean lift offs.
9471962:Edge swipes causing hooks or missing touch points.
Noise problem.
Add ESD Protection Mechanism.

Change-Id: I4d22ecc4433ae5fd755a6954c6cd4af5062fb0b3
Signed-off-by: mars_kao <mars_kao@asus.com>
2013-06-24 10:55:26 -07:00
javid_shu
998e62039b TouchScreen: update touch firmware A031
Fix following issues:
1.Latency on resume
2.Edge swipes lost (notification panel)
3.[Issue 9284036][FLO]ABS_MT_TOUCH_MAJOR values change
  base on number of pointers down

Change-Id: I56e6ba907bf2998ac0dcb84d2f100ab4c8ca72f5
Signed-off-by: javid_shu <Javid_Shu@asus.com>
2013-06-17 20:57:38 +00:00
javid_shu
942af79346 TouchScreen: update touch firmware A029.
Need calibration for below Issue:
[Issue 9261425] New touch firmware is needed to apply the new parameters.

Change-Id: Ib80d5a9efbe1ae683ae5731c37c4253dfc926559
Signed-off-by: javid_shu <Javid_Shu@asus.com>
2013-06-04 01:17:39 +00:00
javid_shu
422c5f9440 TouchScreen: Upload firmware A028 based on A025
Improve hovering like Nakasi

Change-Id: Ie7e64fe2c18cfda90bbdc108587c3f20d8790fe6
Signed-off-by: javid_shu <Javid_Shu@asus.com>
2013-05-31 23:44:05 +00:00
mars_kao
ccfe939418 TouchScreen: update touch firmware A025.
Based on A023 and remove the grip information.

1.[Issue 8840158] [FLO] pinch zoom doesnt seem as responsive / reliable as on nakasi.
2.[Issue 8858019] [FLO] Poor touch resolution.

Need calibration to fix these two issue with ER1/ER2 device:
3.[Issue 9052815] [FLO] Dead "Bands" on the touch screen.
4.[Issue 8930391] Spurious touchscreen taps.

Change-Id: I16084c31a289527f0085b475b9d6ea88ff7f9371
Signed-off-by: mars_kao <mars_kao@asus.com>
2013-05-29 19:17:59 +00:00
javid_shu
794429679d Touch: Revert the firmware to A015 but increase
the version number to A021.

Change-Id: I5337e81dbc84d799fb550a7b0bd348068913f853
Signed-off-by: javid_shu <Javid_Shu@asus.com>
2013-05-25 04:29:30 +08:00
Iliyan Malchev
eadea737ee Revert "TouchScrren: update new touch firmware A019 and touch driver for support grip."
This reverts commit cc3656f67a.
2013-05-24 09:31:36 -07:00
mars_kao
cc3656f67a TouchScrren: update new touch firmware A019 and touch driver for support grip.
1.[8388207]Touch controller to report cluster coordinates to be used for grip suppression.
2.[8858019]Poor touch resolution.
3.[8840158]pinch zoom doesnt seem as responsive / reliable as on nakasi.

Signed-off-by: mars_kao <mars_kao@asus.com>
2013-05-23 16:09:21 +00:00
mars_kao
0ef8971184 TouchScreen: update the touch firmware to A015.
Fix:
8717455: Holding touch panel edge by one finger,the touch action will be affected.
8768005: Holding Flo along the left edge of the device reveals false touch problems.
8840158: Pinch zoom in and out on chrome and maps doesnt seem as accurate / responsive as on nakasi.
8798827: Touch can not be correct clicked.
customer report: pin unlock will lose touch report.
Modification for AC De-noise Mechanism.

Change-Id: If846956114dc51f8d432c881f7b4e3b78b4040c8
Signed-off-by: mars_kao <mars_kao@asus.com>
2013-05-09 22:01:43 +00:00
mars_kao
9f83107ca8 TouchScreen: Set the INPUT_PROP_DIRECT in touch driver.
[Issue 8857874][FLO] Incorrect touch driver information.

Change-Id: I11399501afa998ce27825f9b60f9dcf2f9f27bf5
Signed-off-by: mars_kao <mars_kao@asus.com>
2013-05-09 11:13:51 +08:00
Chris Manton
71db33d591 Prevent input subsystem from resetting key state during resume when wake enabled
Change-Id: I21908b932df5d9a1dc965221d849644101b7a259
Signed-off-by: paris_yeh <paris_yeh@asus.com>
2013-05-02 00:25:04 +00:00
hsuan-chih_chen
beb139c63b flo: lid: fix bug in lid driver probe
move workqueue creation before request irq.

null pointer exception occurs if interrupt triggered before work queue creation.

[    4.773569] [<c0094f48>] (__queue_work+0x8/0x40c) from [<c00953a8>] (queue_work_on+0x34/0x44)
[    4.773569] [<c00953a8>] (queue_work_on+0x34/0x44) from [<c00953fc>] (queue_work+0x30/0x58)
[    4.773599] [<c00953fc>] (queue_work+0x30/0x58) from [<c05eea04>] (lid_interrupt_handler+0x3c/0x50)
[    4.773660] [<c05eea04>] (lid_interrupt_handler+0x3c/0x50) from [<c00ce784>] (handle_irq_event_percpu+0xb0/0x290)
[    4.773691] [<c00ce784>] (handle_irq_event_percpu+0xb0/0x290) from [<c00ce9a0>] (handle_irq_event+0x3c/0x5c)

Change-Id: Icc08b02d6a6a9ada601e50e7bc81ce3a8ab2498c
Signed-off-by: hsuan-chih_chen <hsuan-chih_chen@asus.com>
2013-04-26 01:02:26 +00:00
mars_kao
51653ef972 TouchScreen:571K/KL:update touch firmware for A012.
1.Fix the Sensitivity Problem That Suspend and Wake up When Charging.
2.Modification for Algorithm, and Digital Parameters for ER Module.
a.Improve "double fat finger (22 phi copper)" performance when charging.

Change-Id: I1f2f5697dd5587243dc77003672c9658213db4b0
Signed-off-by: mars_kao <mars_kao@asus.com>
2013-04-18 16:09:29 -07:00
mars_kao
13fd337227 TouchScreen:571K/KL: Update touch firmware to A011.
A011 is the lastest touch firmware and used for factory image.

firmware update history:

A009:
Update boot-code Ver: 60.47 (Do not turn off WDT in IAP process).
Add Self Check Mechanism to enter suspend mode.
Modification Algorithm, and Digital Parameters for ER Module.
a. Improve "double fat finger (22 phi copper)" performance.
b. Improve "fast drawing straight line" performance.
c. Improve "multi-finger in co-axis (8 phi copper)" performance.
d. Improve "under table lamp" performance.

A010:
Modify Calibration Mechanism.

A011:
Modify Open/Short Calibration Mechanism for ESD problem.
Improve Stylus Performance

Change-Id: I4e87e9cc69d81872106c7f7bd95b76dd1f1811c1
Signed-off-by: mars_kao <mars_kao@asus.com>
2013-04-18 16:08:49 -07:00
mars_kao
2f7e08f743 TouchScreen:571K/KL: Support new bootcode version for firmware update.
new boot version 6047 is for resolving the ESD problem.

Change-Id: If596dfb27be613e3b26f13e032c23136e659c4a9
Signed-off-by: mars_kao <mars_kao@asus.com>
2013-04-18 16:08:48 -07:00
hsuan-chih_chen
d6768814c1 flo: lid: add hall sensor driver
Change-Id: I0f8506f6e74d329b108dfb92f9604884636c9c9a
Signed-off-by: hsuan-chih_chen <hsuan-chih_chen@asus.com>
Signed-off-by: paris_yeh <paris_yeh@asus.com>
2013-04-18 16:08:42 -07:00
mars_kao
a189659b8d Modify the firmware update mechanism for 571K/KL.
follow the new bootcode flow in IC to update touch firmware.

Change-Id: I848714e4c24aaf89eab3337f343b22891ee83d55
Signed-off-by: mars_kao <mars_kao@asus.com>
2013-04-18 16:08:19 -07:00
mars_kao
c822119776 TouchScreen: remove debug message for touch irq handler.
Change-Id: I0cda1ac16eaf63da4f9c36f8b9a1a607bc528d05
Change-Id: I825eaeca198a59b36ce3aaa4da03ddae5a503a64
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/68222
Reviewed-by: Ho Yihua <yihua_ho@asus.com>
Tested-by: Ho Yihua <yihua_ho@asus.com>
2013-04-18 16:07:58 -07:00
mars_kao
7df7eba724 TouchScreen: driver porting for elan chip.
Change-Id: I86bb4a6c9a89ef3061fb5b2ba9e0d93a4931841a
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/68183
Reviewed-by: Ho Yihua <yihua_ho@asus.com>
Tested-by: Ho Yihua <yihua_ho@asus.com>
2013-04-18 16:07:57 -07:00
paris_yeh
ad31fba73d arm: keys: Report valid key status when pressing and releasing
Change-Id: I6d225f55973c1650d73cfa429dd442b7f5ccd311
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/61723
Reviewed-by: Sam hblee <Sam_hblee@asus.com>
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/62898
Signed-off-by: paris_yeh <paris_yeh@asus.com>
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/68014
Reviewed-by: Edward Lu <Edward_Lu@asus.com>
2013-04-18 16:07:53 -07:00
Jongrak Kwon
ea5a529636 mako: touch: PLG137 firmware E028 update
Increased the touch sensitivity.

Change-Id: If2bb58b4263d88d5b77f128f5b91875c63e05b86
Signed-off-by: Iliyan Malchev <malchev@google.com>
2013-03-15 17:09:37 -07:00
Orkhan Karimov
1859c1b841 input: bmp18x: create the syfs group for i2c device
Also change delay to pollrate_ms. This is for easy integration
with the sensor HALs.

Change-Id: I06e5e1f41caf2cee21ea2b218d672681b24ccd22

Signed-off-by: Orkhan Karimov <okarimov@codeaurora.org>
Signed-off-by: Wentao Xu <wentaox@codeaurora.org>
2013-03-15 17:08:36 -07:00
hongji.zhou@cn.bosch.com
b86bc4b69f Bosch Sensortec BMP18x device driver V1.1
Change-Id: Ic0211615b6535cb45f8752afebb6db33962c9299

Signed-off-by: Hongji Zhou <Hongji.Zhou@cn.bosch.com>
Signed-off-by: Wentao Xu <wentaox@codeaurora.org>
2013-03-15 17:08:29 -07:00
Duy Truong
04e554807c Update copyright to The Linux Foundation
Change-Id: Ibead64ce2e901dede2ddd1b86088b88f2350ce92
Signed-off-by: Duy Truong <dtruong@codeaurora.org>
2013-03-15 17:07:39 -07:00
Wentao Xu
fb46cdf3bf input: mpu3050: add enable/disable sysfs attribute
allow sensor HAL control the power state of gyro sensor, so that sensor is
disabled when not used.

Change-Id: Ib9f8e9761ea518534ffcd06f30de4b8f1f198687
Signed-off-by: Orkhan Karimov <okarimov@codeaurora.org>
2013-03-07 15:25:28 -08:00
Wentao Xu
0ea6dbeaa1 input: sensor: add check if regulator is valid before releasing it
Sensor regulator could be still invalid at the time of a system
suspend, this change is to avoid freeing NULL regulators under such
occasion.

Change-Id: Ia520b2516b43feaa3fbbbe30628cc47ee7fad96a
Signed-off-by: Wentao Xu <wentaox@codeaurora.org>
2013-03-07 15:24:53 -08:00
Wentao Xu
63725d5d76 sensors: change sysfs attribute permissions
Those attributes used to be writable by world. This change allows
read only access by world.

CRs-Fixed: 382751

Change-Id: I2b37763514a86da9beed3fcb7dcb4706c790e44d
Signed-off-by: Wentao Xu <wentaox@codeaurora.org>
Signed-off-by: Neha Pandey <nehap@codeaurora.org>
2013-03-07 15:24:18 -08:00
Sreenivasulu Chalam Charla
606fb22e97 Revert "touchscreen: cyttsp-i2c-qc: Add low power mode functionality"
This reverts commit 304d9f5172c8c0210e2e29b175e8f68ea8257f69.
low power mode changes are causing issues like,delay in reponse to
touch , and controller is not recognizing the touch events as its
scan rate is also low in low power mode state . since controller is
not recognizing the touch in low power mode state , so only way
for the controller to come out of low power mode is to do multi-touch
and controller responds randomly to one of the touches and comes out
of the low power mode.

Signed-off-by: Sreenivasulu Chalam Charla <sreeniva@codeaurora.org>

Change-Id: I35e0797f819cfbce6630d70af443b96546eacfb5
Signed-off-by: Neha Pandey <nehap@codeaurora.org>
2013-03-07 15:21:14 -08:00
Mohan Pallaka
26fd8a8046 input: pm8xxx-pwrkey: Update key press status during probe
Power key could be in pressed state during boot. Set the flag
to track the press status properly by reading press irq status.

(cherry picked from commit bd38250554df6e70657e6ff42ad63415dbd53f1a)
CRs-fixed: 404018
Signed-off-by: Mohan Pallaka <mpallaka@codeaurora.org>

Change-Id: I1b604b63e53803483d3cc2a7bae0a5e7ed98285b
Signed-off-by: Neha Pandey <nehap@codeaurora.org>
2013-03-07 15:21:03 -08:00
Mohan Pallaka
915eaefb52 input: atmel_mxt_ts: Add device tree support
Parse the device tree elements and fill platform
data structure.

Signed-off-by: Mohan Pallaka <mpallaka@codeaurora.org>
(cherry picked from commit d96f5032cd8b73450886262fe193d1531038c0f0)

Conflicts:

	drivers/input/touchscreen/atmel_mxt_ts.c

Change-Id: I551dadffaa84c991abbe964bfb9f72b7fd11dfee
Signed-off-by: Sudhir Sharma <sudsha@codeaurora.org>
(cherry picked from commit 368b8d73bbda62f6ab217ef06019b685636fc3ba)
2013-03-07 15:20:00 -08:00
Amy Maloche
27495ca54e input: atmel_mxt_ts: Fix macro (CONFIG_OF) name usage.
Macro should be CONFIG_OF and not OF_CONFIG.

Signed-off-by: Amy Maloche <amaloche@codeaurora.org>
(cherry picked from commit 56cb58c1b832760adfe382b845e52837b7ea7e85)

Conflicts:

	drivers/input/touchscreen/atmel_mxt_ts.c

Signed-off-by: Sudhir Sharma <sudsha@codeaurora.org>
(cherry picked from commit 54d1b97939cab0482aa5f4549e81ecf3599e2024)

Change-Id: I102d6871958a03ca596c7c538c539fcc27a4e14d
Signed-off-by: Sudhir Sharma <sudsha@codeaurora.org>
2013-03-07 15:19:47 -08:00
Wentao Xu
589acb3c40 input: mpu3050: adjust LPF bandwidth according to sampling frequency.
Low pass filter bandwidth is configured to be equal to or greater than
half of the sampling freqency.

Signed-off-by: Wentao Xu <wentaox@codeaurora.org>
(cherry picked from commit 04f4cc9ff3707a39af39c23cc9f3aeb5c344c60c)

Signed-off-by: Sudhir Sharma <sudsha@codeaurora.org>
(cherry picked from commit a7d8fe1d40061ec56c938308d8f7265f29b146c1)

Change-Id: I796d30d474aa64c1679781b38ca5f151b37c92fd
Signed-off-by: Sudhir Sharma <sudsha@codeaurora.org>
2013-03-07 15:19:27 -08:00
Anirudh Ghayal
45304b0ee6 input: pwrkey: Handle out-of-order press and release interrupts
There is a possibility of receiving a release interrupt
before press when both these actions (press and release) of the
power-key are very close-by (~1-2ms) to the debounce time
of the key. Handle this case by maintaining a state variable.

Also mark the release interrupt as a wakeup source to
wakeup the system when the above mentioned abnormal case
occurs.

CRs-Fixed: 394289
Change-Id: I74475c1e5159dd30e52aca91243eec7e2fac4d57
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
(cherry picked from commit 306e3197b5cc657a62c41823fb6cd03600d35f3f)

Signed-off-by: Sudhir Sharma <sudsha@codeaurora.org>
2013-03-07 15:18:40 -08:00
Amy Maloche
2dab38962a input: cyttsp-i2c-qc: move to multitouch protocol B
Move from multitouch protocol A to protocol B, and since some
applications are not working under BTN_2 reporting, all the instances
of HAT are removed along with BTN_2 reporting.

Change-Id: I25c9c811078452eb9ff11159d0f45c9e3f831849
Signed-off-by: Amy Maloche <amaloche@codeaurora.org>
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
(cherry picked from commit 94f65fcf5d89b7943777750b2e358c7421f26400)

Signed-off-by: Sudhir Sharma <sudsha@codeaurora.org>
2013-03-07 15:18:34 -08:00
Ajay Dudani
aa99a90650 input: pm8xxx-pwrkey: Update key press status during probe
Power key could be in pressed state during boot. Set the flag
to track the press status properly by reading press irq status.

CRs-fixed: 404018
Change-Id: I93a8584420002d9cb399484b3ac77fa2ed954690
Signed-off-by: Mohan Pallaka <mpallaka@codeaurora.org>
2013-03-04 12:47:34 -08:00
Ajay Dudani
93c63d759f input: pwrkey: Handle out-of-order press and release interrupts
There is a possibility of receiving a release interrupt
before press when both these actions (press and release) of the
power-key are very close-by (~1-2ms) to the debounce time
of the key. Handle this case by maintaining a state variable.

Also mark the release interrupt as a wakeup source to
wakeup the system when the above mentioned abnormal case
occurs.

CRs-Fixed: 394289
Change-Id: I74475c1e5159dd30e52aca91243eec7e2fac4d57
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
2013-03-04 12:47:33 -08:00
Iliyan Malchev
75f55110dc pmic8xxx-pwrkey: move to subsys_init
Signed-off-by: Iliyan Malchev <malchev@google.com>
2013-03-04 12:47:33 -08:00
Dima Zavin
e60b38622e input: keyreset: add support for reset after timeout
If a timeout is requested, a delayed work item will be
scheduled to restart the device. If the keys are released
before the timeout expires, the reset is aborted.

As expected, the reset_fn can be used to reset the device
after the timeout.

Bug: 7344361
Change-Id: I1d77cdb3dcc63f579b1250506f0a30de1e033d67
Signed-off-by: Dima Zavin <dima@android.com>
2013-03-04 12:47:30 -08:00
Dima Zavin
0d90c6ea86 input: keyreset: move init to subsys to be ready early
Bug: 7344361
Change-Id: I3564a354fddd69f352704c9e819ea4538096264a
Signed-off-by: Dima Zavin <dima@android.com>
2013-03-04 12:47:29 -08:00
Dima Zavin
2768c87ae4 input: keyreset: process pressed keys at init
Bug: 7344361
Change-Id: I92c9ec8a7d2882f280af9a5807a6052e54ecc16a
Signed-off-by: Dima Zavin <dima@android.com>
2013-03-04 12:47:29 -08:00
Jongrak Kwon
b56d966c19 mako: touch: PLG137 firmware E027 update
- Fixed issues in production test
  . ghost touch in high and low temperature
  . ghost touch with noisy charger connect
  . sensing test
- Stablized thumb operation
- Fixed flapping finger width report

Change-Id: I350ed94b9bfcb5a8feba3e0c9529ea86472097cd
Signed-off-by: Iliyan Malchev <malchev@google.com>
2013-03-04 12:47:08 -08:00
Jongrak Kwon
90b4ddbbc0 mako: touch: PLG137 firmware E015 update
- Improved ghost touch error
- Improved unstable when lifting finger

Change-Id: Icc752c07ad05f5888eff8db4a8064007d3e471f4
2013-03-04 12:45:34 -08:00
Jongrak Kwon
534f09d6e4 mako: touch: preserving touch data coherency
Synaptics firmware maintains internal cache to store a scan of
finger data so that the host reads finger data from this cache.
The firmware updates the cache when the host reads it nonsequentially.

The current driver reads only present finger data, which can cause
unexpected nonsequential access to cache and the cache can be updated
before the host reads the data, resulting in losing finger data coherency.

Modified the driver to access data sequentially even if there are
not present fingers in the middle so that the finger data coherency
can be preserved.

Change-Id: I4b975c2ab2445078f2a81c3dd4ce484002d27933
Signed-off-by: Iliyan Malchev <malchev@google.com>
2013-03-04 12:45:33 -08:00