Skip to content

Integrate linux-imx-kuk/ucb1400_filter_merge

Commit: seco-ne/kernel/linux-imx-kuk@da4e971e

touch:ucb1400: Adapt sleep and register writes to old driver

--

Commit: seco-ne/kernel/linux-imx-kuk@d7dd7def

touch:ucb1400: Fix horrible lag

This patch removes the schedule_uninterruptible_timeout() call in the ucb1400_read_adc() function.

According to the UCB1400 datasheet, the ADC typically only needs 10us for conversion. A single AC97-frame requires already 21us and for a single AC97 register read 3 AC97 frames are required (i.e. 63us). Therefore there is no need to add any waits when reading the ADC.

(schedule_uninterruptible_timeout(1), as used before, caused waits for 1 jiffies each time - 10ms AFAIK, which resulted in pretty much unusable lags for touch-events.)

Original patch by Marc-Oliver Westerburg marc-oliver.westerburg@seco.com

BCS 746-001360

--

Commit: seco-ne/kernel/linux-imx-kuk@88f01cd9

touch:ucb1400: Add simple work-around to improve touch-up detection

This patch adds a very simple ad-hoc work-around - based on pressure measurement - to improve touch-up detection; esp. regarding junk coordinated being reported upstream during touch-up.

Touch-up/-down detection should receive a proper rework, but this already improves the situation significantly.

Original patch by Marc-Oliver Westerburg marc-oliver.westerburg@seco.com

BCS 746-001360

--

Commit: seco-ne/kernel/linux-imx-kuk@5f293711

touch:ucb1400: Add distance, median and low-pass filters to the UCB1400

This patch provides a simple port of the distance, median- and low-pass filters from the WM9705 driver to the UCB1400 driver. No functional changes to the filters but data-structures and function prototypes have been changed slightly to prepare merging filters of both drivers into to a single set of functions in an external file.

Thesew two filter improve UCB1400 touch significantly (noticably less jitter), CPU-load during touch-down is at 4-5%.

Still issues with touch-up/-down detection, though. Esp. during initial touch-down problematic jitter is noticable.

Original patch by Marc-Oliver Westerburg marc-oliver.westerburg@seco.com

BCS 746-001360

--

Commit: seco-ne/kernel/linux-imx-kuk@7522754e

touch:wm97xx: Use new filter module for the WM9705

The filters for the WM9705 have been moved to a new common filter module. Refactored the code, to use the new module.

No functional changes.

Original patch by Marc-Oliver Westerburg marc-oliver.westerburg@seco.com

BCS 746-001360

--

Commit: seco-ne/kernel/linux-imx-kuk@a732212f

touch:filter: Moved touch filter to separate module

The filters are used for the WM9705 and the UCB1400. Created a new module to reuse the code for both touchscreen drivers.

Original patch by Marc-Oliver Westerburg marc-oliver.westerburg@seco.com

BCS 746-001360

Merge request reports

Loading