Re: [PATCH 5/7] iio: adc: stm32: add optional dma support

2017-01-24 Thread Jonathan Cameron
On 24 January 2017 14:43:56 GMT+00:00, Fabrice Gasnier wrote: >On 01/22/2017 02:14 PM, Jonathan Cameron wrote: >> On 19/01/17 13:34, Fabrice Gasnier wrote: >>> Add optional DMA support to STM32 ADC. >>> Use dma cyclic mode with at least two periods. >>> >>>

Re: [PATCH 5/7] iio: adc: stm32: add optional dma support

2017-01-24 Thread Jonathan Cameron
On 24 January 2017 14:43:56 GMT+00:00, Fabrice Gasnier wrote: >On 01/22/2017 02:14 PM, Jonathan Cameron wrote: >> On 19/01/17 13:34, Fabrice Gasnier wrote: >>> Add optional DMA support to STM32 ADC. >>> Use dma cyclic mode with at least two periods. >>> >>> Signed-off-by: Fabrice Gasnier >>

Re: [PATCH 5/7] iio: adc: stm32: add optional dma support

2017-01-24 Thread Fabrice Gasnier
On 01/22/2017 02:14 PM, Jonathan Cameron wrote: On 19/01/17 13:34, Fabrice Gasnier wrote: Add optional DMA support to STM32 ADC. Use dma cyclic mode with at least two periods. Signed-off-by: Fabrice Gasnier What is the point going forward in supporting non dma

Re: [PATCH 5/7] iio: adc: stm32: add optional dma support

2017-01-24 Thread Fabrice Gasnier
On 01/22/2017 02:14 PM, Jonathan Cameron wrote: On 19/01/17 13:34, Fabrice Gasnier wrote: Add optional DMA support to STM32 ADC. Use dma cyclic mode with at least two periods. Signed-off-by: Fabrice Gasnier What is the point going forward in supporting non dma buffered reads at all? Is there

Re: [PATCH 5/7] iio: adc: stm32: add optional dma support

2017-01-22 Thread Jonathan Cameron
On 19/01/17 13:34, Fabrice Gasnier wrote: > Add optional DMA support to STM32 ADC. > Use dma cyclic mode with at least two periods. > > Signed-off-by: Fabrice Gasnier What is the point going forward in supporting non dma buffered reads at all? Is there hardware that

Re: [PATCH 5/7] iio: adc: stm32: add optional dma support

2017-01-22 Thread Jonathan Cameron
On 19/01/17 13:34, Fabrice Gasnier wrote: > Add optional DMA support to STM32 ADC. > Use dma cyclic mode with at least two periods. > > Signed-off-by: Fabrice Gasnier What is the point going forward in supporting non dma buffered reads at all? Is there hardware that doesn't have DMA support?

[PATCH 5/7] iio: adc: stm32: add optional dma support

2017-01-19 Thread Fabrice Gasnier
Add optional DMA support to STM32 ADC. Use dma cyclic mode with at least two periods. Signed-off-by: Fabrice Gasnier --- drivers/iio/adc/Kconfig | 2 + drivers/iio/adc/stm32-adc-core.c | 1 + drivers/iio/adc/stm32-adc-core.h | 2 +

[PATCH 5/7] iio: adc: stm32: add optional dma support

2017-01-19 Thread Fabrice Gasnier
Add optional DMA support to STM32 ADC. Use dma cyclic mode with at least two periods. Signed-off-by: Fabrice Gasnier --- drivers/iio/adc/Kconfig | 2 + drivers/iio/adc/stm32-adc-core.c | 1 + drivers/iio/adc/stm32-adc-core.h | 2 + drivers/iio/adc/stm32-adc.c | 209