diff options
author | Lukasz Majewski <lukma@denx.de> | 2018-09-28 01:31:52 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-10-08 16:06:31 +0300 |
commit | 5e9feb3544a72321553d17fcfa0c7e88435ea7ad (patch) | |
tree | d777a4dad774d2ff4e744ea18195780abe22f2a5 /drivers/spi/spidev.c | |
parent | 2c1833767bd8d906489a91cbbcb151fe3b818b61 (diff) | |
download | linux-5e9feb3544a72321553d17fcfa0c7e88435ea7ad.tar.xz |
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>
Diffstat (limited to 'drivers/spi/spidev.c')
-rw-r--r-- | drivers/spi/spidev.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c index cda10719d1d1..07f4d05563ea 100644 --- a/drivers/spi/spidev.c +++ b/drivers/spi/spidev.c @@ -669,6 +669,7 @@ static const struct of_device_id spidev_dt_ids[] = { { .compatible = "lineartechnology,ltc2488" }, { .compatible = "ge,achc" }, { .compatible = "semtech,sx1301" }, + { .compatible = "lwn,bk4" }, {}, }; MODULE_DEVICE_TABLE(of, spidev_dt_ids); |