]> git.baikalelectronics.ru Git - kernel.git/commit
spi: Introduce one new field to set word delay
authorBaolin Wang <baolin.wang@linaro.org>
Thu, 16 Aug 2018 12:54:49 +0000 (20:54 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 29 Aug 2018 10:48:46 +0000 (11:48 +0100)
commit940547a1997ebeb14b866f579e3aa10beb9a69d9
tree9fc7bccaf610a10624f032087482e50e43734bdc
parent6b52e84de21de4112221f1dcb59b74fbe752f00a
spi: Introduce one new field to set word delay

For some SPI controllers, after each word size (specified by bits_per_word)
transimission, the hardware need some delay to make sure the slave has enough
time to receive the whole data.

So introducing one new 'word_delay' field of struct spi_tansfer for slave
devices to set this inter word delay time.

Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/linux/spi/spi.h