On Tue, Jan 23, 2024 at 03:33:59PM +0000, Tudor Ambarus wrote: > The patch set cleans a bit the driver and adds support for gs101 SPI. > > Apart of the SPI patches, I added support for iowrite{8,16}_32 accessors > in asm-generic/io.h. This will allow devices that require 32 bits > register accesses to write data in chunks of 8 or 16 bits (a typical use > case is SPI, where clients can request transfers in words of 8 bits for > example). GS101 only allows 32bit register accesses otherwise it raisses > a Serror Interrupt and hangs the system, thus the accessors are needed > here. If the accessors are fine, I expect they'll be queued either to > the SPI tree or to the ASM header files tree, but by providing an > immutable tag, so that the other tree can merge them too. > > The SPI patches were tested with the spi-loopback-test on the gs101 > controller. The reformatting in this series will conflict with the SPI changes in: https://lore.kernel.org/r/20240120012948.8836-1-semen.protsenko@xxxxxxxxxx Can you please pull those into this series or otherwise coordinate?
Attachment:
signature.asc
Description: PGP signature