Re: [PATCH v4 2/2] spi-atmel: support inter-word delay

2019-01-29 Thread Alexandre Belloni
Hi, On 29/01/2019 15:56:31+0100, Jonas Bonn wrote: > On 29/01/2019 15:27, nicolas.fe...@microchip.com wrote: > > On 29/01/2019 at 09:38, Jonas Bonn wrote: > > > > > > + /* DLYBCT adds delays between words. This is useful for slow devices > > > + * that need a bit of time to setup the next trans

Re: [PATCH v4 2/2] spi-atmel: support inter-word delay

2019-01-29 Thread Jonas Bonn
Hi, On 29/01/2019 15:27, nicolas.fe...@microchip.com wrote: On 29/01/2019 at 09:38, Jonas Bonn wrote: + /* DLYBCT adds delays between words. This is useful for slow devices +* that need a bit of time to setup the next transfer. +*/ + if (spi->word_delay_us) { Wel

Re: [PATCH v4 2/2] spi-atmel: support inter-word delay

2019-01-29 Thread Nicolas.Ferre
On 29/01/2019 at 09:38, Jonas Bonn wrote: > If the SPI slave requires an inter-word delay, configure the DLYBCT > register accordingly. > > Tested on a SAMA5D2 board (derived from SAMA5D2-Xplained reference > board). > > Signed-off-by: Jonas Bonn > CC: Nicolas Ferre > CC: Mark Brown > CC: Alex

[PATCH v4 2/2] spi-atmel: support inter-word delay

2019-01-29 Thread Jonas Bonn
If the SPI slave requires an inter-word delay, configure the DLYBCT register accordingly. Tested on a SAMA5D2 board (derived from SAMA5D2-Xplained reference board). Signed-off-by: Jonas Bonn CC: Nicolas Ferre CC: Mark Brown CC: Alexandre Belloni CC: Ludovic Desroches CC: linux-...@vger.kerne