diff options
author | Lukasz Majewski <lukma@denx.de> | 2019-02-05 23:13:49 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-02-06 16:47:38 +0000 |
commit | 5ce3cc567471891be69a6f51146209560f132b83 (patch) | |
tree | 73033703a7ac90aea13252c4cf04a0119f7936b2 /fs/compat.c | |
parent | 473a78a7bbeb7c77b81b596095f59ce4fbbd49dc (diff) |
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 'fs/compat.c')
0 files changed, 0 insertions, 0 deletions