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

Jagan Teki jagan at amarulasolutions.com
Thu Jul 9 10:22:39 CEST 2020


On Mon, May 11, 2020 at 6:53 PM Johannes Holland
<johannes.holland at infineon.com> 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 CPOL=1 was hardcoded.
>
> Signed-off-by: Johannes Holland <johannes.holland at infineon.com>
> ---

Applied to u-boot-spi/master


More information about the U-Boot mailing list