Re: [PATCH 04/15] iio: adc: at91_adc: Add support for touchscreens without TSMR

2014-03-16 Thread Jonathan Cameron
On March 16, 2014 7:16:39 PM GMT+00:00, Alexandre Belloni wrote: >On 16/03/2014 at 18:16:54 +, Jonathan Cameron wrote : >> On 05/03/14 17:35, Alexandre Belloni wrote: >> >Old ADCs, as present on the sam9rl and the sam9g45 don't have a TSMR >register >> >and the touchscreen support should be

Re: [PATCH 04/15] iio: adc: at91_adc: Add support for touchscreens without TSMR

2014-03-16 Thread Alexandre Belloni
On 16/03/2014 at 18:16:54 +, Jonathan Cameron wrote : > On 05/03/14 17:35, Alexandre Belloni wrote: > >Old ADCs, as present on the sam9rl and the sam9g45 don't have a TSMR register > >and the touchscreen support should be handled differently. > > > >Signed-off-by: Alexandre Belloni > One comme

Re: [PATCH 04/15] iio: adc: at91_adc: Add support for touchscreens without TSMR

2014-03-16 Thread Jonathan Cameron
On 05/03/14 17:35, Alexandre Belloni wrote: Old ADCs, as present on the sam9rl and the sam9g45 don't have a TSMR register and the touchscreen support should be handled differently. Signed-off-by: Alexandre Belloni One comment inline about handling of devices where the platform data doesn't inc

Re: [PATCH 04/15] iio: adc: at91_adc: Add support for touchscreens without TSMR

2014-03-05 Thread Dmitry Torokhov
On Wed, Mar 05, 2014 at 06:35:29PM +0100, Alexandre Belloni wrote: > Old ADCs, as present on the sam9rl and the sam9g45 don't have a TSMR register > and the touchscreen support should be handled differently. > > Signed-off-by: Alexandre Belloni > --- > arch/arm/mach-at91/include/mach/at91_adc.h

Re: [PATCH 04/15] iio: adc: at91_adc: Add support for touchscreens without TSMR

2014-03-05 Thread Thomas Petazzoni
Dear Alexandre Belloni, On Wed, 5 Mar 2014 18:35:29 +0100, Alexandre Belloni wrote: > -static irqreturn_t at91_adc_interrupt(int irq, void *private) > +void handle_adc_rl_ts_irq(int irq, struct at91_adc_state *st, u32 status) I believe this function, > +void handle_adc_9x5_ts_irq(int irq, stru