Re: [PATCH v2] iio: adc: stm32-adc: enable timestamping for non-DMA usage

2021-01-31 Thread Jonathan Cameron
On Mon, 25 Jan 2021 12:21:35 +0100 Ahmad Fatoum wrote: > Hello Jonathan, > > On 24.01.21 16:22, Jonathan Cameron wrote: > > On Fri, 22 Jan 2021 12:33:55 +0100 > > Ahmad Fatoum wrote: > > > >> For non-DMA usage, we have an easy way to associate a timestamp with a > >> sample: iio_pollfunc_sto

Re: [PATCH v2] iio: adc: stm32-adc: enable timestamping for non-DMA usage

2021-01-26 Thread Ahmad Fatoum
Hello Jonathan, On 24.01.21 16:22, Jonathan Cameron wrote: > On Fri, 22 Jan 2021 12:33:55 +0100 > Ahmad Fatoum wrote: > >> For non-DMA usage, we have an easy way to associate a timestamp with a >> sample: iio_pollfunc_store_time stores a timestamp in the primary >> trigger IRQ handler and stm32_

Re: [PATCH v2] iio: adc: stm32-adc: enable timestamping for non-DMA usage

2021-01-24 Thread Jonathan Cameron
On Fri, 22 Jan 2021 12:33:55 +0100 Ahmad Fatoum wrote: > For non-DMA usage, we have an easy way to associate a timestamp with a > sample: iio_pollfunc_store_time stores a timestamp in the primary > trigger IRQ handler and stm32_adc_trigger_handler runs in the IRQ thread > to push out the buffer a

[PATCH v2] iio: adc: stm32-adc: enable timestamping for non-DMA usage

2021-01-22 Thread Ahmad Fatoum
For non-DMA usage, we have an easy way to associate a timestamp with a sample: iio_pollfunc_store_time stores a timestamp in the primary trigger IRQ handler and stm32_adc_trigger_handler runs in the IRQ thread to push out the buffer along with the timestamp. For this to work, the driver needs to r