spidev: Enable the Liebherr's BK4 board to work with spidev driver
authorLukasz Majewski <lukma@denx.de>
Thu, 27 Sep 2018 22:31:52 +0000 (00:31 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 8 Oct 2018 13:06:31 +0000 (14:06 +0100)
commit5e9feb3544a72321553d17fcfa0c7e88435ea7ad
treed777a4dad774d2ff4e744ea18195780abe22f2a5
parent2c1833767bd8d906489a91cbbcb151fe3b818b61
spidev: Enable the Liebherr's BK4 board to work with spidev driver

With this commit the DSPI driver on the BK4 board can be used for SPI
transmission managed from user space (via /dev/spidev0.0).

Example usage/testing:
insmod ./spi-fsl-dspi.ko
./spidev_test -D /dev/spidev0.0 -s 3000000 -v -H -b 8 -p "\xCC\x11\x22\x74"

Signed-off-by: Lukasz Majewski <lukma@denx.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spidev.c