Thread (25 messages) 25 messages, 6 authors, 2016-10-17

Re: [PATCH v3 3/8] drivers:input:tsc2007: add iio interface to read external ADC input, temperature and raw conversion values

From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2016-09-24 17:44:55
Also in: linux-iio, linux-input, linux-omap, lkml

On Sat, Sep 24, 2016 at 10:07 AM, H. Nikolaus Schaller
[off-list ref] wrote:
Hi Jonathan,
quoted
Am 24.09.2016 um 18:07 schrieb Jonathan Cameron [off-list ref]:

On 23/09/16 13:41, H. Nikolaus Schaller wrote:
quoted
The tsc2007 chip not only has a resistive touch screen controller but
also an external AUX adc imput which can be used for an ambient
light sensor, battery voltage monitoring or any general purpose.

Additionally it can measure the chip temperature.

This extension provides an iio interface for these adc channels
in addition to the raw x, y, z values and the estimated touch
screen resistance. This can be used for debugging or special
applications.
I'm unconvinced that exposing the touch related channels is terribly
useful.
Mostly for debugging of if someone wants to do a (better) touch detection
in user space.
For that we should probably export data as a heat map via V4L2
interface, similarly to what Nick Dyer did for Synaptics and Atmel
drivers (albeit their heatmap functions are too slow for real
processing and only suitable for debug/validation).

Thanks.

-- 
Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help