lkml.org 
[lkml]   [2019]   [Apr]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH V3 3/9] spi: add SPI_LSBYTE_FIRST mode
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.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2019-04-19 20:26    [W:0.129 / U:1.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site