Re: [PATCH v4 4/8] drivers:input:tsc2007: add iio interface to read external ADC input and temperature

2016-10-25 Thread Jonathan Cameron
On 24/10/16 20:14, H. Nikolaus Schaller wrote: > Hi Jonathan, > >> Am 23.10.2016 um 21:00 schrieb Jonathan Cameron : >> >> On 23/10/16 19:34, H. Nikolaus Schaller wrote: >>> Hi Jonathan, >>> Am 23.10.2016 um 11:57 schrieb H. Nikolaus Schaller : Hi, >> +static int tsc2007_al

Re: [PATCH v4 4/8] drivers:input:tsc2007: add iio interface to read external ADC input and temperature

2016-10-24 Thread H. Nikolaus Schaller
Hi Jonathan, > Am 23.10.2016 um 21:00 schrieb Jonathan Cameron : > > On 23/10/16 19:34, H. Nikolaus Schaller wrote: >> Hi Jonathan, >> >>> Am 23.10.2016 um 11:57 schrieb H. Nikolaus Schaller : >>> >>> Hi, >>> > +static int tsc2007_alloc(struct i2c_client *client, struct tsc2007 **ts, >

Re: [PATCH v4 4/8] drivers:input:tsc2007: add iio interface to read external ADC input and temperature

2016-10-23 Thread H. Nikolaus Schaller
Hi, > Am 23.10.2016 um 21:00 schrieb Jonathan Cameron : > > On 23/10/16 19:34, H. Nikolaus Schaller wrote: >> Hi Jonathan, >> >>> Am 23.10.2016 um 11:57 schrieb H. Nikolaus Schaller : >>> >>> Hi, >>> > +static int tsc2007_alloc(struct i2c_client *client, struct tsc2007 **ts, > +

Re: [PATCH v4 4/8] drivers:input:tsc2007: add iio interface to read external ADC input and temperature

2016-10-23 Thread Jonathan Cameron
On 23/10/16 19:34, H. Nikolaus Schaller wrote: > Hi Jonathan, > >> Am 23.10.2016 um 11:57 schrieb H. Nikolaus Schaller : >> >> Hi, >> +static int tsc2007_alloc(struct i2c_client *client, struct tsc2007 **ts, + struct input_dev **input_dev) +{ + in

Re: [PATCH v4 4/8] drivers:input:tsc2007: add iio interface to read external ADC input and temperature

2016-10-23 Thread Jonathan Cameron
On 23/10/16 10:57, H. Nikolaus Schaller wrote: > Hi, > >> Am 23.10.2016 um 11:24 schrieb Jonathan Cameron : >> >> On 22/10/16 21:46, H. Nikolaus Schaller wrote: >>> Hi Jonathan, >>> Am 22.10.2016 um 20:33 schrieb Jonathan Cameron : On 17/10/16 14:57, H. Nikolaus Schaller wrote:

Re: [PATCH v4 4/8] drivers:input:tsc2007: add iio interface to read external ADC input and temperature

2016-10-23 Thread H. Nikolaus Schaller
Hi Jonathan, > Am 23.10.2016 um 11:57 schrieb H. Nikolaus Schaller : > > Hi, > >>> +static int tsc2007_alloc(struct i2c_client *client, struct tsc2007 **ts, >>> + struct input_dev **input_dev) >>> +{ >>> + int err; >>> + struct iio_dev *indio_dev; >>> + >>> +

Re: [PATCH v4 4/8] drivers:input:tsc2007: add iio interface to read external ADC input and temperature

2016-10-23 Thread H. Nikolaus Schaller
Hi, > Am 23.10.2016 um 11:24 schrieb Jonathan Cameron : > > On 22/10/16 21:46, H. Nikolaus Schaller wrote: >> Hi Jonathan, >> >>> Am 22.10.2016 um 20:33 schrieb Jonathan Cameron : >>> >>> On 17/10/16 14:57, H. Nikolaus Schaller wrote: The tsc2007 chip not only has a resistive touch screen

Re: [PATCH v4 4/8] drivers:input:tsc2007: add iio interface to read external ADC input and temperature

2016-10-23 Thread Jonathan Cameron
On 22/10/16 21:46, H. Nikolaus Schaller wrote: > Hi Jonathan, > >> Am 22.10.2016 um 20:33 schrieb Jonathan Cameron : >> >> On 17/10/16 14:57, H. Nikolaus Schaller wrote: >>> The tsc2007 chip not only has a resistive touch screen controller but >>> also an external AUX adc imput which can be used f

Re: [PATCH v4 4/8] drivers:input:tsc2007: add iio interface to read external ADC input and temperature

2016-10-22 Thread H. Nikolaus Schaller
Hi Jonathan, > Am 22.10.2016 um 20:33 schrieb Jonathan Cameron : > > On 17/10/16 14:57, H. Nikolaus Schaller wrote: >> 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 monitori

Re: [PATCH v4 4/8] drivers:input:tsc2007: add iio interface to read external ADC input and temperature

2016-10-22 Thread Jonathan Cameron
On 17/10/16 14:57, H. Nikolaus Schaller wrote: > 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 tempe

[PATCH v4 4/8] drivers:input:tsc2007: add iio interface to read external ADC input and temperature

2016-10-17 Thread H. Nikolaus Schaller
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 the