Re: [PATCH 3/3] eeprom: at25: Split writes in two SPI transfers to optimize DMA

2018-10-11 Thread Geert Uytterhoeven
Hi Trent, On Wed, Oct 10, 2018 at 11:47 PM Trent Piepho wrote: > On Wed, 2018-10-10 at 15:40 +0200, Geert Uytterhoeven wrote: > > Currently EEPROM writes are implemented using a single SPI transfer, > > which contains all of command, address, and payload data bytes. > > As some SPI controllers

Re: [PATCH 3/3] eeprom: at25: Split writes in two SPI transfers to optimize DMA

2018-10-11 Thread Geert Uytterhoeven
Hi Trent, On Wed, Oct 10, 2018 at 11:47 PM Trent Piepho wrote: > On Wed, 2018-10-10 at 15:40 +0200, Geert Uytterhoeven wrote: > > Currently EEPROM writes are implemented using a single SPI transfer, > > which contains all of command, address, and payload data bytes. > > As some SPI controllers

Re: [PATCH 3/3] eeprom: at25: Split writes in two SPI transfers to optimize DMA

2018-10-10 Thread Trent Piepho
On Wed, 2018-10-10 at 15:40 +0200, Geert Uytterhoeven wrote: > Currently EEPROM writes are implemented using a single SPI transfer, > which contains all of command, address, and payload data bytes. > As some SPI controllers impose limitations on transfers with respect to > the use of DMA, they may

Re: [PATCH 3/3] eeprom: at25: Split writes in two SPI transfers to optimize DMA

2018-10-10 Thread Trent Piepho
On Wed, 2018-10-10 at 15:40 +0200, Geert Uytterhoeven wrote: > Currently EEPROM writes are implemented using a single SPI transfer, > which contains all of command, address, and payload data bytes. > As some SPI controllers impose limitations on transfers with respect to > the use of DMA, they may

Re: [PATCH 3/3] eeprom: at25: Split writes in two SPI transfers to optimize DMA

2018-10-10 Thread Arnd Bergmann
On 10/10/18, Geert Uytterhoeven wrote: > Currently EEPROM writes are implemented using a single SPI transfer, > which contains all of command, address, and payload data bytes. > As some SPI controllers impose limitations on transfers with respect to > the use of DMA, they may have to fall back to

Re: [PATCH 3/3] eeprom: at25: Split writes in two SPI transfers to optimize DMA

2018-10-10 Thread Arnd Bergmann
On 10/10/18, Geert Uytterhoeven wrote: > Currently EEPROM writes are implemented using a single SPI transfer, > which contains all of command, address, and payload data bytes. > As some SPI controllers impose limitations on transfers with respect to > the use of DMA, they may have to fall back to

[PATCH 3/3] eeprom: at25: Split writes in two SPI transfers to optimize DMA

2018-10-10 Thread Geert Uytterhoeven
Currently EEPROM writes are implemented using a single SPI transfer, which contains all of command, address, and payload data bytes. As some SPI controllers impose limitations on transfers with respect to the use of DMA, they may have to fall back to PIO. E.g. DMA may require the transfer length

[PATCH 3/3] eeprom: at25: Split writes in two SPI transfers to optimize DMA

2018-10-10 Thread Geert Uytterhoeven
Currently EEPROM writes are implemented using a single SPI transfer, which contains all of command, address, and payload data bytes. As some SPI controllers impose limitations on transfers with respect to the use of DMA, they may have to fall back to PIO. E.g. DMA may require the transfer length

[PATCH 3/3] eeprom: at25: Split writes in two SPI transfers to optimize DMA

2018-10-10 Thread Geert Uytterhoeven
Currently EEPROM writes are implemented using a single SPI transfer, which contains all of command, address, and payload data bytes. As some SPI controllers impose limitations on transfers with respect to the use of DMA, they may have to fall back to PIO. E.g. DMA may require the transfer length

[PATCH 3/3] eeprom: at25: Split writes in two SPI transfers to optimize DMA

2018-10-10 Thread Geert Uytterhoeven
Currently EEPROM writes are implemented using a single SPI transfer, which contains all of command, address, and payload data bytes. As some SPI controllers impose limitations on transfers with respect to the use of DMA, they may have to fall back to PIO. E.g. DMA may require the transfer length