mbox series

[0/2] spi: support inter-word delays

Message ID 20190125114429.20066-1-jonas@norrbonn.se (mailing list archive)
Headers show
Series spi: support inter-word delays | expand

Message

Jonas Bonn Jan. 25, 2019, 11:44 a.m. UTC
This short series adds support for SPI inter-word delays and configures
the spi-atmel driver to honour the setting.

Some SPI slaves are so slow that they are unable to keep up even at the
SPI controller's lowest available clock frequency.  I have such a
configuration where an AVR-based SPI slave is unable to feed the SPI bus
fast enough even the SPI master runs at the lowest possible clock speed.

Jonas Bonn (2):
  spi: support inter-word delay requirement for devices
  spi-atmel: support inter-word delay

 Documentation/devicetree/bindings/spi/spi-bus.txt |  1 +
 drivers/spi/spi-atmel.c                           | 11 ++++++-----
 drivers/spi/spi.c                                 |  4 ++++
 include/linux/spi/spi.h                           |  1 +
 4 files changed, 12 insertions(+), 5 deletions(-)