Re: [PATCH v4 1/3] spi: uapi: unify SPI modes into a single spi.h header

2020-12-03 Thread Andy Shevchenko
On Thu, Dec 3, 2020 at 4:00 PM Alexandru Ardelean wrote: > > This change moves all the SPI mode bits into a separate 'spi.h' header in > uAPI. This is meant to re-use these definitions inside the kernel as well > as export them to userspace (via uAPI). > > The SPI mode definitions have usually bee

[PATCH v4 1/3] spi: uapi: unify SPI modes into a single spi.h header

2020-12-03 Thread Alexandru Ardelean
This change moves all the SPI mode bits into a separate 'spi.h' header in uAPI. This is meant to re-use these definitions inside the kernel as well as export them to userspace (via uAPI). The SPI mode definitions have usually been duplicated between between 'include/linux/spi/spi.h' and 'include/u