summaryrefslogtreecommitdiffstats
path: root/drivers/spi/atmel-quadspi.c
diff options
context:
space:
mode:
authorLukasz Majewski2019-02-05 23:13:49 +0100
committerMark Brown2019-02-06 17:47:38 +0100
commit5ce3cc567471891be69a6f51146209560f132b83 (patch)
tree73033703a7ac90aea13252c4cf04a0119f7936b2 /drivers/spi/atmel-quadspi.c
parentspi-atmel: support inter-word delay (diff)
downloadkernel-qcow2-linux-5ce3cc567471891be69a6f51146209560f132b83.tar.gz
kernel-qcow2-linux-5ce3cc567471891be69a6f51146209560f132b83.tar.xz
kernel-qcow2-linux-5ce3cc567471891be69a6f51146209560f132b83.zip
spi: spi-fsl-dspi: Provide support for DSPI slave mode operation (Vybryd vf610)
The NXP's Vybryd vf610 can work as a SPI slave device (the CS and clock signals are provided by master). It is possible to specify a single device to work in that mode. As we do use DMA for transferring data, the RX channel must be prepared for incoming data. Moreover, in slave mode we just set a subset of control fields in configuration registers (CTAR0, PUSHR). For testing the spidev_test program has been used. Test script for this patch can be found here: https://github.com/lmajewski/tests-spi/blob/master/tests/spi/spi_tests.sh Signed-off-by: Lukasz Majewski <lukma@denx.de> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/atmel-quadspi.c')
0 files changed, 0 insertions, 0 deletions