linux_dsm_epyc7002/include/linux/fpga
Anatolij Gustschin 68f6be6561 fpga: Add flag to indicate SPI bitstream is bit-reversed
Add a flag that is passed to the write_init() callback,
indicating that the SPI bitstream starts with LSB first.
SPI controllers usually send data with MSB first. If an
FPGA expects bitstream data as LSB first, the data must
be reversed either by the SPI controller or by the driver.

Alternatively the bitstream could be prepared as bit-reversed
to avoid the bit-swapping while sending. This flag indicates
such bit-reversed SPI bitstream. The low-level driver will
deal with the flag and perform bit-reversing if needed.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Signed-off-by: Joshua Clayton <stillcompiling@gmail.com>
Signed-off-by: Alan Tull <atull@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-07-17 17:26:14 +02:00
..
altera-pr-ip-core.h fpga pr ip: Core driver support for Altera Partial Reconfiguration IP. 2017-04-08 17:45:28 +02:00
fpga-bridge.h fpga: add fpga bridge framework 2016-11-10 17:03:35 +01:00
fpga-mgr.h fpga: Add flag to indicate SPI bitstream is bit-reversed 2017-07-17 17:26:14 +02:00