From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.bootlin.com ([62.4.15.54]) by merlin.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gHUCm-0003Cb-1g for linux-mtd@lists.infradead.org; Tue, 30 Oct 2018 13:37:12 +0000 From: Boris Brezillon To: Mark Brown , linux-spi@vger.kernel.org, David Woodhouse , Brian Norris , Boris Brezillon , Marek Vasut , Richard Weinberger , linux-mtd@lists.infradead.org Cc: Vignesh R , Cyrille Pitchen , Tudor Ambarus , Yogesh Narayan Gaur , Frieder Schrempf , Miquel Raynal Subject: [PATCH v2 0/7] spi: spi-mem: Add a direct mapping API Date: Tue, 30 Oct 2018 14:36:31 +0100 Message-Id: <20181030133638.3322-1-boris.brezillon@bootlin.com> List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hello, I didn't have much review on the RFC, so I'm resending this series without "RFC" in the subject. Maybe I'll get more reviews this time. A few things have changed since I submitted the RFC - The spi-nand framework has been merged, and I can thus patch this driver to use the dirmap API - The MXIC controller has been submitted, and since I did my tests with this controller, I can also add a patch showing how to implement the dirmap hooks Other changes are addressing the comments I received from Miquel. I'd still like to get feedback on the API and controller interface if anyone is interested in reviewing 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 | 142 +++++++++++------- drivers/mtd/nand/spi/core.c | 231 +++++++++++++++++------------- drivers/spi/spi-mem.c | 269 ++++++++++++++++++++++++++++++++--- drivers/spi/spi-mxic.c | 140 ++++++++++++++---- include/linux/mtd/spinand.h | 7 + include/linux/spi/spi-mem.h | 84 ++++++++++- 6 files changed, 670 insertions(+), 203 deletions(-) -- 2.17.1