Re: [PATCH v4 2/6] mfd: stm32-timers: add support for dmas

2018-04-17 Thread Fabrice Gasnier
On 04/17/2018 12:10 PM, Lee Jones wrote: > On Tue, 17 Apr 2018, Fabrice Gasnier wrote: > >> On 04/17/2018 09:12 AM, Lee Jones wrote: >>> On Mon, 16 Apr 2018, Fabrice Gasnier wrote: >>> STM32 Timers can support up to 7 DMA requests: - 4 channels, update, compare and trigger.

Re: [PATCH v4 2/6] mfd: stm32-timers: add support for dmas

2018-04-17 Thread Fabrice Gasnier
On 04/17/2018 12:10 PM, Lee Jones wrote: > On Tue, 17 Apr 2018, Fabrice Gasnier wrote: > >> On 04/17/2018 09:12 AM, Lee Jones wrote: >>> On Mon, 16 Apr 2018, Fabrice Gasnier wrote: >>> STM32 Timers can support up to 7 DMA requests: - 4 channels, update, compare and trigger.

Re: [PATCH v4 2/6] mfd: stm32-timers: add support for dmas

2018-04-17 Thread Dan Carpenter
Hi Fabrice, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on pwm/for-next] [also build test WARNING on v4.17-rc1 next-20180416] [cannot apply to ljones-mfd/for-mfd-next] [if your patch is applied to the wrong git tree, please drop us a note to help improve the

Re: [PATCH v4 2/6] mfd: stm32-timers: add support for dmas

2018-04-17 Thread Dan Carpenter
Hi Fabrice, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on pwm/for-next] [also build test WARNING on v4.17-rc1 next-20180416] [cannot apply to ljones-mfd/for-mfd-next] [if your patch is applied to the wrong git tree, please drop us a note to help improve the

Re: [PATCH v4 2/6] mfd: stm32-timers: add support for dmas

2018-04-17 Thread Lee Jones
On Tue, 17 Apr 2018, Fabrice Gasnier wrote: > On 04/17/2018 09:12 AM, Lee Jones wrote: > > On Mon, 16 Apr 2018, Fabrice Gasnier wrote: > > > >> STM32 Timers can support up to 7 DMA requests: > >> - 4 channels, update, compare and trigger. > >> Optionally request part, or all DMAs from

Re: [PATCH v4 2/6] mfd: stm32-timers: add support for dmas

2018-04-17 Thread Lee Jones
On Tue, 17 Apr 2018, Fabrice Gasnier wrote: > On 04/17/2018 09:12 AM, Lee Jones wrote: > > On Mon, 16 Apr 2018, Fabrice Gasnier wrote: > > > >> STM32 Timers can support up to 7 DMA requests: > >> - 4 channels, update, compare and trigger. > >> Optionally request part, or all DMAs from

Re: [PATCH v4 2/6] mfd: stm32-timers: add support for dmas

2018-04-17 Thread Fabrice Gasnier
On 04/17/2018 09:12 AM, Lee Jones wrote: > On Mon, 16 Apr 2018, Fabrice Gasnier wrote: > >> STM32 Timers can support up to 7 DMA requests: >> - 4 channels, update, compare and trigger. >> Optionally request part, or all DMAs from stm32-timers MFD core. >> >> Also add routine to implement burst

Re: [PATCH v4 2/6] mfd: stm32-timers: add support for dmas

2018-04-17 Thread Fabrice Gasnier
On 04/17/2018 09:12 AM, Lee Jones wrote: > On Mon, 16 Apr 2018, Fabrice Gasnier wrote: > >> STM32 Timers can support up to 7 DMA requests: >> - 4 channels, update, compare and trigger. >> Optionally request part, or all DMAs from stm32-timers MFD core. >> >> Also add routine to implement burst

Re: [PATCH v4 2/6] mfd: stm32-timers: add support for dmas

2018-04-17 Thread Lee Jones
On Mon, 16 Apr 2018, Fabrice Gasnier wrote: > STM32 Timers can support up to 7 DMA requests: > - 4 channels, update, compare and trigger. > Optionally request part, or all DMAs from stm32-timers MFD core. > > Also add routine to implement burst reads using DMA from timer registers. > This is

Re: [PATCH v4 2/6] mfd: stm32-timers: add support for dmas

2018-04-17 Thread Lee Jones
On Mon, 16 Apr 2018, Fabrice Gasnier wrote: > STM32 Timers can support up to 7 DMA requests: > - 4 channels, update, compare and trigger. > Optionally request part, or all DMAs from stm32-timers MFD core. > > Also add routine to implement burst reads using DMA from timer registers. > This is

[PATCH v4 2/6] mfd: stm32-timers: add support for dmas

2018-04-16 Thread Fabrice Gasnier
STM32 Timers can support up to 7 DMA requests: - 4 channels, update, compare and trigger. Optionally request part, or all DMAs from stm32-timers MFD core. Also add routine to implement burst reads using DMA from timer registers. This is exported. So, it can be used by child drivers, PWM capture

[PATCH v4 2/6] mfd: stm32-timers: add support for dmas

2018-04-16 Thread Fabrice Gasnier
STM32 Timers can support up to 7 DMA requests: - 4 channels, update, compare and trigger. Optionally request part, or all DMAs from stm32-timers MFD core. Also add routine to implement burst reads using DMA from timer registers. This is exported. So, it can be used by child drivers, PWM capture