spi: add driver for J-Core SPI controller
authorRich Felker <dalias@libc.org>
Thu, 4 Aug 2016 04:30:37 +0000 (04:30 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 8 Aug 2016 10:56:32 +0000 (11:56 +0100)
commit2cb1b3b3ac0ac86b70eb1ecd65585c0d024fe273
tree6ff59ce2d624166ac780d695f299613fc6690592
parent7ed66c6d8841f215c4371b72206fdecfbcd7a396
spi: add driver for J-Core SPI controller

The J-Core "spi2" device is a PIO-based SPI master controller. It
differs from "bitbang" devices in that that it's clocked in hardware
rather than via soft clock modulation over gpio, and performs
byte-at-a-time transfers between the cpu and SPI controller.

This driver will be extended to support future versions of the J-Core
SPI controller with DMA transfers when they become available.

Signed-off-by: Rich Felker <dalias@libc.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/Kconfig
drivers/spi/Makefile
drivers/spi/spi-jcore.c [new file with mode: 0644]