spi-atmel: support inter-word delay
authorJonas Bonn <jonas@norrbonn.se>
Wed, 30 Jan 2019 08:40:05 +0000 (09:40 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 30 Jan 2019 23:02:11 +0000 (23:02 +0000)
commit473a78a7bbeb7c77b81b596095f59ce4fbbd49dc
tree8e499db920a1f02fd4ac2a20f1105442c92aa64b
parentb7bb367afa4bf9de60830683305c63030c3e581d
spi-atmel: support inter-word delay

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 <jonas@norrbonn.se>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
CC: Nicolas Ferre <nicolas.ferre@microchip.com>
CC: Mark Brown <broonie@kernel.org>
CC: Alexandre Belloni <alexandre.belloni@bootlin.com>
CC: Ludovic Desroches <ludovic.desroches@microchip.com>
CC: linux-spi@vger.kernel.org
CC: linux-arm-kernel@lists.infradead.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-atmel.c