mbox series

[v3,0/7] spi: spi-mem: Add a direct mapping API

Message ID 20181106160536.13415-1-boris.brezillon@bootlin.com (mailing list archive)
Headers show
Series spi: spi-mem: Add a direct mapping API | expand

Message

Boris Brezillon Nov. 6, 2018, 4:05 p.m. UTC
Hello,

Here is a v3 addressing the comment I received from Yogesh on the
m25p80 modifications. Note that this part is still untested (I only
tested on a spinand device so far), so that'd be great if someone
could test it.

Thanks,

Boris

Boris Brezillon (7):
  spi: spi-mem: Add missing word in the SPI_MEM_DATA_OUT description
  spi: spi-mem: Add SPI_MEM_NO_DATA to the spi_mem_data_dir enum
  spi: spi-mem: Split spi_mem_exec_op() code
  spi: spi-mem: Add a new API to support direct mapping
  mtd: devices: m25p80: Use the spi-mem dirmap API
  mtd: spinand: Use the spi-mem dirmap API
  spi: mxic: Add support for direct mapping

 drivers/mtd/devices/m25p80.c | 102 ++++++++++++-
 drivers/mtd/nand/spi/core.c  | 231 +++++++++++++++++-------------
 drivers/spi/spi-mem.c        | 269 ++++++++++++++++++++++++++++++++---
 drivers/spi/spi-mxic.c       | 137 ++++++++++++++----
 include/linux/mtd/spinand.h  |   7 +
 include/linux/spi/spi-mem.h  |  84 ++++++++++-
 6 files changed, 677 insertions(+), 153 deletions(-)

Comments

Mark Brown Nov. 15, 2018, 7:56 p.m. UTC | #1
On Tue, Nov 06, 2018 at 05:05:29PM +0100, Boris Brezillon wrote:
> Hello,
> 
> Here is a v3 addressing the comment I received from Yogesh on the
> m25p80 modifications. Note that this part is still untested (I only
> tested on a spinand device so far), so that'd be great if someone
> could test it.

The SPI bits are all fine FWIW, leaving for a bit longer for testing but
I could also just apply those bits immediately and send a branch as I
think it's the MTD bits that really need the testing?
Boris Brezillon Nov. 19, 2018, 9:13 p.m. UTC | #2
Hi Mark,

On Thu, 15 Nov 2018 11:56:40 -0800
Mark Brown <broonie@kernel.org> wrote:

> On Tue, Nov 06, 2018 at 05:05:29PM +0100, Boris Brezillon wrote:
> > Hello,
> > 
> > Here is a v3 addressing the comment I received from Yogesh on the
> > m25p80 modifications. Note that this part is still untested (I only
> > tested on a spinand device so far), so that'd be great if someone
> > could test it.  
> 
> The SPI bits are all fine FWIW, leaving for a bit longer for testing but
> I could also just apply those bits immediately and send a branch as I
> think it's the MTD bits that really need the testing?

Feel free to apply the SPI bits.

Regards,

Boris