Re: [PATCH V3 3/9] spi: add SPI_LSBYTE_FIRST mode

From: Mark Brown
Date: Fri Apr 19 2019 - 14:21:43 EST


On Mon, Apr 15, 2019 at 02:30:28PM -0700, Sowjanya Komatineni wrote:
> Some SPI slaves expect bytes to be in least significant first order
> and some expects most significant first oder.
>
> This patch adds support for requesting SPI master controllers for
> least significant first order using SPI_LSBYTE_FIRST mode.

This is byte ordering as opposed to bit ordering which the core already
supports. Do you have any examples of devices that need this or is it
just being added for completeness? If devices are going to rely on this
we probably need emulation support in the core I guess given that this
is a pretty unusual controller feature.

Attachment: signature.asc
Description: PGP signature