Re: [PATCH 2/2] spi: add support for all spi modes with soft spi

2020-07-09 Thread Jagan Teki
On Mon, May 11, 2020 at 6:53 PM Johannes Holland wrote: > > The spi bitbanging driver did not implement all spi modes properly. Add > code to support all spi modes, honoring soft_spi_set_mode() and > defaulting to spi mode 0. Previously, CPHA was implemented inversely > (defaulting to CPHA=1) and

[PATCH 2/2] spi: add support for all spi modes with soft spi

2020-05-11 Thread Johannes Holland
The spi bitbanging driver did not implement all spi modes properly. Add code to support all spi modes, honoring soft_spi_set_mode() and defaulting to spi mode 0. Previously, CPHA was implemented inversely (defaulting to CPHA=1) and CPOL=1 was hardcoded. Signed-off-by: Johannes Holland ---