Re: [PATCH v12 1/6] fpga: Add flag to indicate SPI bitstream is bit-reversed

2017-06-05 Thread Alan Tull
On Fri, Jun 2, 2017 at 3:30 PM, Joshua Clayton wrote: > From: Anatolij Gustschin > > 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

Re: [PATCH v12 1/6] fpga: Add flag to indicate SPI bitstream is bit-reversed

2017-06-05 Thread Alan Tull
On Fri, Jun 2, 2017 at 3:30 PM, Joshua Clayton wrote: > From: Anatolij Gustschin > > 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

[PATCH v12 1/6] fpga: Add flag to indicate SPI bitstream is bit-reversed

2017-06-02 Thread Joshua Clayton
From: Anatolij Gustschin 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

[PATCH v12 1/6] fpga: Add flag to indicate SPI bitstream is bit-reversed

2017-06-02 Thread Joshua Clayton
From: Anatolij Gustschin 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