On Sun, Apr 10, 2016 at 05:38:55PM +0200, Alexandre Belloni wrote: > On 10/04/2016 at 18:23:01 +0300, Sergei Ianovich wrote : > > No, unfortunately. I've investigated this possibility for my platform. > > spi-gpio doesn't support LSB-first and 3-wire options. Adding support > > there is a very big change. The best way to add GPIO support is to > > create spi-gpio-3wire with LSB-first support. > Mark, do you have nay opinion on that? Three wire doesn't seem like it should be invasive, LSB is going to be a lot more invasive though it seems reasonable to just do the reversal in the driver for whatever device this is and let the SPI controller run normally. Or we could do that in the core with a pass over the data.
Attachment:
signature.asc
Description: PGP signature