Linux-SPI Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH v3 0/4] rewrite mtk-quadspi spi-nor driver with spi-mem
@ 2020-03-06  8:50 Chuanhong Guo
  2020-03-06  8:50 ` [PATCH v3 2/4] spi: add support for mediatek spi-nor controller Chuanhong Guo
                   ` (2 more replies)
  0 siblings, 3 replies; 66+ messages in thread
From: Chuanhong Guo @ 2020-03-06  8:50 UTC (permalink / raw)
  To: linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-spi-u79uwXL29TY76Z2rM5mHXA,
	linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	devicetree-u79uwXL29TY76Z2rM5mHXA
  Cc: Chuanhong Guo, Miquel Raynal, Richard Weinberger,
	Vignesh Raghavendra, Rob Herring, Matthias Brugger, Mark Brown,
	Tudor Ambarus, moderated list:ARM/Mediatek SoC support,
	open list

This patchset adds a spi-mem driver for Mediatek SPI-NOR controller,
which already has limited support by mtk-quadspi. This new driver can
make use of full quadspi capability of this controller.

1st new commit makes spi-max-frequency optional to match current
binding doc and make this new driver compatible with old driver dt
bindings.

Change since v2:
 revert binding example replacement and add a dummy irq binding

Changes since v1:
 two new commits.

Chuanhong Guo (4):
  spi: make spi-max-frequency optional
  spi: add support for mediatek spi-nor controller
  dt-bindings: convert mtk-quadspi binding doc for spi-mtk-nor
  mtd: spi-nor: remove mtk-quadspi driver

 .../mtk-quadspi.txt => spi/spi-mtk-nor.txt}   |  15 +-
 drivers/mtd/spi-nor/Kconfig                   |   8 -
 drivers/mtd/spi-nor/Makefile                  |   1 -
 drivers/mtd/spi-nor/mtk-quadspi.c             | 565 --------------
 drivers/spi/Kconfig                           |  10 +
 drivers/spi/Makefile                          |   1 +
 drivers/spi/spi-mtk-nor.c                     | 689 ++++++++++++++++++
 drivers/spi/spi.c                             |   9 +-
 8 files changed, 708 insertions(+), 590 deletions(-)
 rename Documentation/devicetree/bindings/{mtd/mtk-quadspi.txt => spi/spi-mtk-nor.txt} (75%)
 delete mode 100644 drivers/mtd/spi-nor/mtk-quadspi.c
 create mode 100644 drivers/spi/spi-mtk-nor.c

-- 
2.24.1

^ permalink raw reply	[flat|nested] 66+ messages in thread

* [PATCH v3 1/4] spi: make spi-max-frequency optional
       [not found] ` <20200306085052.28258-1-gch981213-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2020-03-06  8:50   ` Chuanhong Guo
  2020-03-06  8:50   ` [PATCH v3 3/4] dt-bindings: convert mtk-quadspi binding doc for spi-mtk-nor Chuanhong Guo
  2020-03-06  8:50   ` [PATCH v3 4/4] mtd: spi-nor: remove mtk-quadspi driver Chuanhong Guo
  2 siblings, 0 replies; 66+ messages in thread
From: Chuanhong Guo @ 2020-03-06  8:50 UTC (permalink / raw)
  To: linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-spi-u79uwXL29TY76Z2rM5mHXA,
	linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	devicetree-u79uwXL29TY76Z2rM5mHXA
  Cc: Chuanhong Guo, Miquel Raynal, Richard Weinberger,
	Vignesh Raghavendra, Rob Herring, Matthias Brugger, Mark Brown,
	Tudor Ambarus, moderated list:ARM/Mediatek SoC support,
	open list

We only need a spi-max-frequency when we specifically request a
spi frequency lower than the max speed of spi host.
This property is already documented as optional property and current
host drivers are implemented to operate at highest speed possible
when spi->max_speed_hz is 0.
This patch makes spi-max-frequency an optional property so that
we could just omit it to use max controller speed.

Signed-off-by: Chuanhong Guo <gch981213-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
Change since v2:
 none

Change since v1:
 new patch

 drivers/spi/spi.c | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c
index 22baf204a09d..e317fb30329f 100644
--- a/drivers/spi/spi.c
+++ b/drivers/spi/spi.c
@@ -1951,13 +1951,8 @@ static int of_spi_parse_dt(struct spi_controller *ctlr, struct spi_device *spi,
 		spi->mode |= SPI_CS_HIGH;
 
 	/* Device speed */
-	rc = of_property_read_u32(nc, "spi-max-frequency", &value);
-	if (rc) {
-		dev_err(&ctlr->dev,
-			"%pOF has no valid 'spi-max-frequency' property (%d)\n", nc, rc);
-		return rc;
-	}
-	spi->max_speed_hz = value;
+	if (!of_property_read_u32(nc, "spi-max-frequency", &value))
+		spi->max_speed_hz = value;
 
 	return 0;
 }
-- 
2.24.1

^ permalink raw reply	[flat|nested] 66+ messages in thread

* [PATCH v3 2/4] spi: add support for mediatek spi-nor controller
  2020-03-06  8:50 [PATCH v3 0/4] rewrite mtk-quadspi spi-nor driver with spi-mem Chuanhong Guo
@ 2020-03-06  8:50 ` Chuanhong Guo
       [not found] ` <20200306085052.28258-1-gch981213-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  2020-03-11 19:00 ` Patchwork summary for: spi-devel-general patchwork-bot+linux-spi-DgEjT+Ai2ygdnm+yROfE0A
  2 siblings, 0 replies; 66+ messages in thread
From: Chuanhong Guo @ 2020-03-06  8:50 UTC (permalink / raw)
  To: linux-mediatek, linux-spi, linux-mtd, devicetree
  Cc: Chuanhong Guo, Miquel Raynal, Richard Weinberger,
	Vignesh Raghavendra, Rob Herring, Matthias Brugger, Mark Brown,
	Tudor Ambarus, moderated list:ARM/Mediatek SoC support,
	open list

This is a driver for mtk spi-nor controller using spi-mem interface.
The same controller already has limited support provided by mtk-quadspi
driver under spi-nor framework and this new driver is a replacement
for the old one.

Comparing to the old driver, this driver has following advantages:
1. It can handle any full-duplex spi transfer up to 6 bytes, and
   this is implemented using generic spi interface.
2. It take account into command opcode properly. The reading routine
   in this controller can only use 0x03 or 0x0b as opcode on 1-1-1
   transfers, but old driver doesn't implement this properly. This
   driver checks supported opcode explicitly and use (1) to perform
   unmatched operations.
3. It properly handles SFDP reading. Old driver can't read SFDP
   due to the bug mentioned in (2).
4. It can do 1-2-2 and 1-4-4 fast reading on spi-nor. These two ops
   requires parsing SFDP, which isn't possible in old driver. And
   the old driver is only flagged to support 1-1-2 mode.
5. It takes advantage of the DMA feature in this controller for
   long reads and supports IRQ on DMA requests to free cpu cycles
   from polling status registers on long DMA reading. It achieves
   up to 17.5MB/s reading speed (1-4-4 mode) which is way faster
   than the old one. IRQ is implemented as optional to maintain
   backward compatibility.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
---
Change since v2:
 none

Change since v1:
 none

 drivers/spi/Kconfig       |  10 +
 drivers/spi/Makefile      |   1 +
 drivers/spi/spi-mtk-nor.c | 689 ++++++++++++++++++++++++++++++++++++++
 3 files changed, 700 insertions(+)
 create mode 100644 drivers/spi/spi-mtk-nor.c

diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index 82177db238be..57735ca844d9 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -450,6 +450,16 @@ config SPI_MT7621
 	help
 	  This selects a driver for the MediaTek MT7621 SPI Controller.
 
+config SPI_MTK_NOR
+	tristate "MediaTek SPI NOR controller"
+	depends on ARCH_MEDIATEK || COMPILE_TEST
+	help
+	  This enables support for SPI NOR controller found on MediaTek
+	  ARM SoCs. This is a controller specifically for SPI-NOR flash.
+	  It can perform generic SPI transfers up to 6 bytes via generic
+	  SPI interface as well as several SPI-NOR specific instructions
+	  via SPI MEM interface.
+
 config SPI_NPCM_FIU
 	tristate "Nuvoton NPCM FLASH Interface Unit"
 	depends on ARCH_NPCM || COMPILE_TEST
diff --git a/drivers/spi/Makefile b/drivers/spi/Makefile
index 74db1f2c3299..7eb3475a4520 100644
--- a/drivers/spi/Makefile
+++ b/drivers/spi/Makefile
@@ -64,6 +64,7 @@ obj-$(CONFIG_SPI_MPC52xx_PSC)		+= spi-mpc52xx-psc.o
 obj-$(CONFIG_SPI_MPC52xx)		+= spi-mpc52xx.o
 obj-$(CONFIG_SPI_MT65XX)                += spi-mt65xx.o
 obj-$(CONFIG_SPI_MT7621)		+= spi-mt7621.o
+obj-$(CONFIG_SPI_MTK_NOR)		+= spi-mtk-nor.o
 obj-$(CONFIG_SPI_MXIC)			+= spi-mxic.o
 obj-$(CONFIG_SPI_MXS)			+= spi-mxs.o
 obj-$(CONFIG_SPI_NPCM_FIU)		+= spi-npcm-fiu.o
diff --git a/drivers/spi/spi-mtk-nor.c b/drivers/spi/spi-mtk-nor.c
new file mode 100644
index 000000000000..c15a9910549f
--- /dev/null
+++ b/drivers/spi/spi-mtk-nor.c
@@ -0,0 +1,689 @@
+// SPDX-License-Identifier: GPL-2.0
+//
+// Mediatek SPI NOR controller driver
+//
+// Copyright (C) 2020 Chuanhong Guo <gch981213@gmail.com>
+
+#include <linux/bits.h>
+#include <linux/clk.h>
+#include <linux/completion.h>
+#include <linux/dma-mapping.h>
+#include <linux/interrupt.h>
+#include <linux/io.h>
+#include <linux/iopoll.h>
+#include <linux/kernel.h>
+#include <linux/module.h>
+#include <linux/of_device.h>
+#include <linux/spi/spi.h>
+#include <linux/spi/spi-mem.h>
+#include <linux/string.h>
+
+#define DRIVER_NAME "mtk-spi-nor"
+
+#define MTK_NOR_REG_CMD			0x00
+#define MTK_NOR_CMD_WRITE		BIT(4)
+#define MTK_NOR_CMD_PROGRAM		BIT(2)
+#define MTK_NOR_CMD_READ		BIT(0)
+#define MTK_NOR_CMD_MASK		GENMASK(5, 0)
+
+#define MTK_NOR_REG_PRG_CNT		0x04
+#define MTK_NOR_REG_RDATA		0x0c
+
+#define MTK_NOR_REG_RADR0		0x10
+#define MTK_NOR_REG_RADR(n)		(MTK_NOR_REG_RADR0 + 4 * (n))
+#define MTK_NOR_REG_RADR3		0xc8
+
+#define MTK_NOR_REG_WDATA		0x1c
+
+#define MTK_NOR_REG_PRGDATA0		0x20
+#define MTK_NOR_REG_PRGDATA(n)		(MTK_NOR_REG_PRGDATA0 + 4 * (n))
+#define MTK_NOR_REG_PRGDATA_MAX		5
+
+#define MTK_NOR_REG_SHIFT0		0x38
+#define MTK_NOR_REG_SHIFT(n)		(MTK_NOR_REG_SHIFT0 + 4 * (n))
+#define MTK_NOR_REG_SHIFT_MAX		9
+
+#define MTK_NOR_REG_CFG1		0x60
+#define MTK_NOR_FAST_READ		BIT(0)
+
+#define MTK_NOR_REG_CFG2		0x64
+#define MTK_NOR_WR_CUSTOM_OP_EN		BIT(4)
+#define MTK_NOR_WR_BUF_EN		BIT(0)
+
+#define MTK_NOR_REG_PP_DATA		0x98
+
+#define MTK_NOR_REG_IRQ_STAT		0xa8
+#define MTK_NOR_REG_IRQ_EN		0xac
+#define MTK_NOR_IRQ_DMA			BIT(7)
+#define MTK_NOR_IRQ_MASK		GENMASK(7, 0)
+
+#define MTK_NOR_REG_CFG3		0xb4
+#define MTK_NOR_DISABLE_WREN		BIT(7)
+#define MTK_NOR_DISABLE_SR_POLL		BIT(5)
+
+#define MTK_NOR_REG_WP			0xc4
+#define MTK_NOR_ENABLE_SF_CMD		0x30
+
+#define MTK_NOR_REG_BUSCFG		0xcc
+#define MTK_NOR_4B_ADDR			BIT(4)
+#define MTK_NOR_QUAD_ADDR		BIT(3)
+#define MTK_NOR_QUAD_READ		BIT(2)
+#define MTK_NOR_DUAL_ADDR		BIT(1)
+#define MTK_NOR_DUAL_READ		BIT(0)
+#define MTK_NOR_BUS_MODE_MASK		GENMASK(4, 0)
+
+#define MTK_NOR_REG_DMA_CTL		0x718
+#define MTK_NOR_DMA_START		BIT(0)
+
+#define MTK_NOR_REG_DMA_FADR		0x71c
+#define MTK_NOR_REG_DMA_DADR		0x720
+#define MTK_NOR_REG_DMA_END_DADR	0x724
+
+#define MTK_NOR_PRG_MAX_SIZE		6
+// Reading DMA src/dst addresses have to be 16-byte aligned
+#define MTK_NOR_DMA_ALIGN		16
+#define MTK_NOR_DMA_ALIGN_MASK		(MTK_NOR_DMA_ALIGN - 1)
+// and we allocate a bounce buffer if destination address isn't aligned.
+#define MTK_NOR_BOUNCE_BUF_SIZE		PAGE_SIZE
+
+// Buffered page program can do one 128-byte transfer
+#define MTK_NOR_PP_SIZE			128
+
+#define CLK_TO_US(sp, clkcnt)		((clkcnt) * 1000000 / sp->spi_freq)
+
+struct mtk_nor {
+	struct spi_controller *ctlr;
+	struct device *dev;
+	void __iomem *base;
+	u8 *buffer;
+	struct clk *spi_clk;
+	struct clk *ctlr_clk;
+	unsigned int spi_freq;
+	bool wbuf_en;
+	bool has_irq;
+	struct completion op_done;
+};
+
+static inline void mtk_nor_rmw(struct mtk_nor *sp, u32 reg, u32 set, u32 clr)
+{
+	u32 val = readl(sp->base + reg);
+
+	val &= ~clr;
+	val |= set;
+	writel(val, sp->base + reg);
+}
+
+static inline int mtk_nor_cmd_exec(struct mtk_nor *sp, u32 cmd, ulong clk)
+{
+	ulong delay = CLK_TO_US(sp, clk);
+	u32 reg;
+	int ret;
+
+	writel(cmd, sp->base + MTK_NOR_REG_CMD);
+	ret = readl_poll_timeout(sp->base + MTK_NOR_REG_CMD, reg, !(reg & cmd),
+				 delay / 3, (delay + 1) * 200);
+	if (ret < 0)
+		dev_err(sp->dev, "command %u timeout.\n", cmd);
+	return ret;
+}
+
+static void mtk_nor_set_addr(struct mtk_nor *sp, const struct spi_mem_op *op)
+{
+	u32 addr = op->addr.val;
+	int i;
+
+	for (i = 0; i < 3; i++) {
+		writeb(addr & 0xff, sp->base + MTK_NOR_REG_RADR(i));
+		addr >>= 8;
+	}
+	if (op->addr.nbytes == 4) {
+		writeb(addr & 0xff, sp->base + MTK_NOR_REG_RADR3);
+		mtk_nor_rmw(sp, MTK_NOR_REG_BUSCFG, MTK_NOR_4B_ADDR, 0);
+	} else {
+		mtk_nor_rmw(sp, MTK_NOR_REG_BUSCFG, 0, MTK_NOR_4B_ADDR);
+	}
+}
+
+static bool mtk_nor_match_read(const struct spi_mem_op *op)
+{
+	int dummy = 0;
+
+	if (op->dummy.buswidth)
+		dummy = op->dummy.nbytes * BITS_PER_BYTE / op->dummy.buswidth;
+
+	if ((op->data.buswidth == 2) || (op->data.buswidth == 4)) {
+		if (op->addr.buswidth == 1)
+			return dummy == 8;
+		else if (op->addr.buswidth == 2)
+			return dummy == 4;
+		else if (op->addr.buswidth == 4)
+			return dummy == 6;
+	} else if ((op->addr.buswidth == 1) && (op->data.buswidth == 1)) {
+		if (op->cmd.opcode == 0x03)
+			return dummy == 0;
+		else if (op->cmd.opcode == 0x0b)
+			return dummy == 8;
+	}
+	return false;
+}
+
+static int mtk_nor_adjust_op_size(struct spi_mem *mem, struct spi_mem_op *op)
+{
+	size_t len;
+
+	if (!op->data.nbytes)
+		return 0;
+
+	if ((op->addr.nbytes == 3) || (op->addr.nbytes == 4)) {
+		if ((op->data.dir == SPI_MEM_DATA_IN) &&
+		    mtk_nor_match_read(op)) {
+			if ((op->addr.val & MTK_NOR_DMA_ALIGN_MASK) ||
+			    (op->data.nbytes < MTK_NOR_DMA_ALIGN))
+				op->data.nbytes = 1;
+			else if (!((ulong)(op->data.buf.in) &
+				   MTK_NOR_DMA_ALIGN_MASK))
+				op->data.nbytes &= ~MTK_NOR_DMA_ALIGN_MASK;
+			else if (op->data.nbytes > MTK_NOR_BOUNCE_BUF_SIZE)
+				op->data.nbytes = MTK_NOR_BOUNCE_BUF_SIZE;
+			return 0;
+		} else if (op->data.dir == SPI_MEM_DATA_OUT) {
+			if (op->data.nbytes >= MTK_NOR_PP_SIZE)
+				op->data.nbytes = MTK_NOR_PP_SIZE;
+			else
+				op->data.nbytes = 1;
+			return 0;
+		}
+	}
+
+	len = MTK_NOR_PRG_MAX_SIZE - sizeof(op->cmd.opcode) - op->addr.nbytes -
+	      op->dummy.nbytes;
+	if (op->data.nbytes > len)
+		op->data.nbytes = len;
+
+	return 0;
+}
+
+static bool mtk_nor_supports_op(struct spi_mem *mem,
+				const struct spi_mem_op *op)
+{
+	size_t len;
+
+	if (op->cmd.buswidth != 1)
+		return false;
+
+	if ((op->addr.nbytes == 3) || (op->addr.nbytes == 4)) {
+		if ((op->data.dir == SPI_MEM_DATA_IN) && mtk_nor_match_read(op))
+			return true;
+		else if (op->data.dir == SPI_MEM_DATA_OUT)
+			return (op->addr.buswidth == 1) &&
+			       (op->dummy.buswidth == 0) &&
+			       (op->data.buswidth == 1);
+	}
+	len = sizeof(op->cmd.opcode) + op->addr.nbytes + op->dummy.nbytes;
+	if ((len > MTK_NOR_PRG_MAX_SIZE) ||
+	    ((op->data.nbytes) && (len == MTK_NOR_PRG_MAX_SIZE)))
+		return false;
+	return true;
+}
+
+static void mtk_nor_setup_bus(struct mtk_nor *sp, const struct spi_mem_op *op)
+{
+	u32 reg = 0;
+
+	if (op->addr.nbytes == 4)
+		reg |= MTK_NOR_4B_ADDR;
+
+	if (op->data.buswidth == 4) {
+		reg |= MTK_NOR_QUAD_READ;
+		writeb(op->cmd.opcode, sp->base + MTK_NOR_REG_PRGDATA(4));
+		if (op->addr.buswidth == 4)
+			reg |= MTK_NOR_QUAD_ADDR;
+	} else if (op->data.buswidth == 2) {
+		reg |= MTK_NOR_DUAL_READ;
+		writeb(op->cmd.opcode, sp->base + MTK_NOR_REG_PRGDATA(3));
+		if (op->addr.buswidth == 2)
+			reg |= MTK_NOR_DUAL_ADDR;
+	} else {
+		if (op->cmd.opcode == 0x0b)
+			mtk_nor_rmw(sp, MTK_NOR_REG_CFG1, MTK_NOR_FAST_READ, 0);
+		else
+			mtk_nor_rmw(sp, MTK_NOR_REG_CFG1, 0, MTK_NOR_FAST_READ);
+	}
+	mtk_nor_rmw(sp, MTK_NOR_REG_BUSCFG, reg, MTK_NOR_BUS_MODE_MASK);
+}
+
+static int mtk_nor_read_dma(struct mtk_nor *sp, u32 from, unsigned int length,
+			    u8 *buffer)
+{
+	int ret = 0;
+	ulong delay;
+	u32 reg;
+	dma_addr_t dma_addr;
+
+	dma_addr = dma_map_single(sp->dev, buffer, length, DMA_FROM_DEVICE);
+	if (dma_mapping_error(sp->dev, dma_addr)) {
+		dev_err(sp->dev, "failed to map dma buffer.\n");
+		return -EINVAL;
+	}
+
+	writel(from, sp->base + MTK_NOR_REG_DMA_FADR);
+	writel(dma_addr, sp->base + MTK_NOR_REG_DMA_DADR);
+	writel(dma_addr + length, sp->base + MTK_NOR_REG_DMA_END_DADR);
+
+	if (sp->has_irq) {
+		reinit_completion(&sp->op_done);
+		mtk_nor_rmw(sp, MTK_NOR_REG_IRQ_EN, MTK_NOR_IRQ_DMA, 0);
+	}
+
+	mtk_nor_rmw(sp, MTK_NOR_REG_DMA_CTL, MTK_NOR_DMA_START, 0);
+
+	delay = CLK_TO_US(sp, (length + 5) * BITS_PER_BYTE);
+
+	if (sp->has_irq) {
+		if (!wait_for_completion_timeout(&sp->op_done,
+						 (delay + 1) * 100))
+			ret = -ETIMEDOUT;
+	} else {
+		ret = readl_poll_timeout(sp->base + MTK_NOR_REG_DMA_CTL, reg,
+					 !(reg & MTK_NOR_DMA_START), delay / 3,
+					 (delay + 1) * 100);
+	}
+
+	dma_unmap_single(sp->dev, dma_addr, length, DMA_FROM_DEVICE);
+	if (ret < 0)
+		dev_err(sp->dev, "dma read timeout.\n");
+
+	return ret;
+}
+
+static int mtk_nor_read_bounce(struct mtk_nor *sp, u32 from,
+			       unsigned int length, u8 *buffer)
+{
+	unsigned int rdlen;
+	int ret;
+
+	if (length & MTK_NOR_DMA_ALIGN_MASK)
+		rdlen = (length + MTK_NOR_DMA_ALIGN) & ~MTK_NOR_DMA_ALIGN_MASK;
+	else
+		rdlen = length;
+
+	ret = mtk_nor_read_dma(sp, from, rdlen, sp->buffer);
+	if (ret)
+		return ret;
+
+	memcpy(buffer, sp->buffer, length);
+	return 0;
+}
+
+static int mtk_nor_read_pio(struct mtk_nor *sp, const struct spi_mem_op *op)
+{
+	u8 *buf = op->data.buf.in;
+	int ret;
+
+	ret = mtk_nor_cmd_exec(sp, MTK_NOR_CMD_READ, 6 * BITS_PER_BYTE);
+	if (!ret)
+		buf[0] = readb(sp->base + MTK_NOR_REG_RDATA);
+	return ret;
+}
+
+static int mtk_nor_write_buffer_enable(struct mtk_nor *sp)
+{
+	int ret;
+	u32 val;
+
+	if (sp->wbuf_en)
+		return 0;
+
+	val = readl(sp->base + MTK_NOR_REG_CFG2);
+	writel(val | MTK_NOR_WR_BUF_EN, sp->base + MTK_NOR_REG_CFG2);
+	ret = readl_poll_timeout(sp->base + MTK_NOR_REG_CFG2, val,
+				 val & MTK_NOR_WR_BUF_EN, 0, 10000);
+	if (!ret)
+		sp->wbuf_en = true;
+	return ret;
+}
+
+static int mtk_nor_write_buffer_disable(struct mtk_nor *sp)
+{
+	int ret;
+	u32 val;
+
+	if (!sp->wbuf_en)
+		return 0;
+	val = readl(sp->base + MTK_NOR_REG_CFG2);
+	writel(val & ~MTK_NOR_WR_BUF_EN, sp->base + MTK_NOR_REG_CFG2);
+	ret = readl_poll_timeout(sp->base + MTK_NOR_REG_CFG2, val,
+				 !(val & MTK_NOR_WR_BUF_EN), 0, 10000);
+	if (!ret)
+		sp->wbuf_en = false;
+	return ret;
+}
+
+static int mtk_nor_pp_buffered(struct mtk_nor *sp, const struct spi_mem_op *op)
+{
+	const u8 *buf = op->data.buf.out;
+	u32 val;
+	int ret, i;
+
+	ret = mtk_nor_write_buffer_enable(sp);
+	if (ret < 0)
+		return ret;
+
+	for (i = 0; i < op->data.nbytes; i += 4) {
+		val = buf[i + 3] << 24 | buf[i + 2] << 16 | buf[i + 1] << 8 |
+		      buf[i];
+		writel(val, sp->base + MTK_NOR_REG_PP_DATA);
+	}
+	return mtk_nor_cmd_exec(sp, MTK_NOR_CMD_WRITE,
+				(op->data.nbytes + 5) * BITS_PER_BYTE);
+}
+
+static int mtk_nor_pp_unbuffered(struct mtk_nor *sp,
+				 const struct spi_mem_op *op)
+{
+	const u8 *buf = op->data.buf.out;
+	int ret;
+
+	ret = mtk_nor_write_buffer_disable(sp);
+	if (ret < 0)
+		return ret;
+	writeb(buf[0], sp->base + MTK_NOR_REG_WDATA);
+	return mtk_nor_cmd_exec(sp, MTK_NOR_CMD_WRITE, 6 * BITS_PER_BYTE);
+}
+
+int mtk_nor_exec_op(struct spi_mem *mem, const struct spi_mem_op *op)
+{
+	struct mtk_nor *sp = spi_controller_get_devdata(mem->spi->master);
+	int ret;
+
+	if ((op->data.nbytes == 0) ||
+	    ((op->addr.nbytes != 3) && (op->addr.nbytes != 4)))
+		return -ENOTSUPP;
+
+	if (op->data.dir == SPI_MEM_DATA_OUT) {
+		mtk_nor_set_addr(sp, op);
+		writeb(op->cmd.opcode, sp->base + MTK_NOR_REG_PRGDATA0);
+		if (op->data.nbytes == MTK_NOR_PP_SIZE)
+			return mtk_nor_pp_buffered(sp, op);
+		return mtk_nor_pp_unbuffered(sp, op);
+	}
+
+	if ((op->data.dir == SPI_MEM_DATA_IN) && mtk_nor_match_read(op)) {
+		ret = mtk_nor_write_buffer_disable(sp);
+		if (ret < 0)
+			return ret;
+		mtk_nor_setup_bus(sp, op);
+		if (op->data.nbytes == 1) {
+			mtk_nor_set_addr(sp, op);
+			return mtk_nor_read_pio(sp, op);
+		} else if (((ulong)(op->data.buf.in) &
+			    MTK_NOR_DMA_ALIGN_MASK)) {
+			return mtk_nor_read_bounce(sp, op->addr.val,
+						   op->data.nbytes,
+						   op->data.buf.in);
+		} else {
+			return mtk_nor_read_dma(sp, op->addr.val,
+						op->data.nbytes,
+						op->data.buf.in);
+		}
+	}
+
+	return -ENOTSUPP;
+}
+
+static int mtk_nor_setup(struct spi_device *spi)
+{
+	struct mtk_nor *sp = spi_controller_get_devdata(spi->master);
+
+	if (spi->max_speed_hz && (spi->max_speed_hz < sp->spi_freq)) {
+		dev_err(&spi->dev, "spi clock should be %u Hz.\n",
+			sp->spi_freq);
+		return -EINVAL;
+	}
+	spi->max_speed_hz = sp->spi_freq;
+
+	return 0;
+}
+
+static int mtk_nor_transfer_one_message(struct spi_controller *master,
+					struct spi_message *m)
+{
+	struct mtk_nor *sp = spi_controller_get_devdata(master);
+	struct spi_transfer *t = NULL;
+	unsigned long trx_len = 0;
+	int stat = 0;
+	int reg_offset = MTK_NOR_REG_PRGDATA_MAX;
+	void __iomem *reg;
+	const u8 *txbuf;
+	u8 *rxbuf;
+	int i;
+
+	list_for_each_entry(t, &m->transfers, transfer_list) {
+		txbuf = t->tx_buf;
+		for (i = 0; i < t->len; i++, reg_offset--) {
+			reg = sp->base + MTK_NOR_REG_PRGDATA(reg_offset);
+			if (txbuf)
+				writeb(txbuf[i], reg);
+			else
+				writeb(0, reg);
+		}
+		trx_len += t->len;
+	}
+
+	writel(trx_len * BITS_PER_BYTE, sp->base + MTK_NOR_REG_PRG_CNT);
+
+	stat = mtk_nor_cmd_exec(sp, MTK_NOR_CMD_PROGRAM,
+				trx_len * BITS_PER_BYTE);
+	if (stat < 0)
+		goto msg_done;
+
+	reg_offset = trx_len - 1;
+	list_for_each_entry(t, &m->transfers, transfer_list) {
+		rxbuf = t->rx_buf;
+		for (i = 0; i < t->len; i++, reg_offset--) {
+			reg = sp->base + MTK_NOR_REG_SHIFT(reg_offset);
+			if (rxbuf)
+				rxbuf[i] = readb(reg);
+		}
+	}
+
+	m->actual_length = trx_len;
+msg_done:
+	m->status = stat;
+	spi_finalize_current_message(master);
+
+	return 0;
+}
+
+static void mtk_nor_disable_clk(struct mtk_nor *sp)
+{
+	clk_disable_unprepare(sp->spi_clk);
+	clk_disable_unprepare(sp->ctlr_clk);
+}
+
+static int mtk_nor_enable_clk(struct mtk_nor *sp)
+{
+	int ret;
+
+	ret = clk_prepare_enable(sp->spi_clk);
+	if (ret)
+		return ret;
+
+	ret = clk_prepare_enable(sp->ctlr_clk);
+	if (ret) {
+		clk_disable_unprepare(sp->spi_clk);
+		return ret;
+	}
+
+	return 0;
+}
+
+static int mtk_nor_init(struct mtk_nor *sp)
+{
+	int ret;
+
+	ret = mtk_nor_enable_clk(sp);
+	if (ret)
+		return ret;
+
+	sp->spi_freq = clk_get_rate(sp->spi_clk);
+
+	writel(MTK_NOR_ENABLE_SF_CMD, sp->base + MTK_NOR_REG_WP);
+	mtk_nor_rmw(sp, MTK_NOR_REG_CFG2, MTK_NOR_WR_CUSTOM_OP_EN, 0);
+	mtk_nor_rmw(sp, MTK_NOR_REG_CFG3,
+		    MTK_NOR_DISABLE_WREN | MTK_NOR_DISABLE_SR_POLL, 0);
+
+	return ret;
+}
+
+static irqreturn_t mtk_nor_irq_handler(int irq, void *data)
+{
+	struct mtk_nor *sp = data;
+	u32 irq_status, irq_enabled;
+
+	irq_status = readl(sp->base + MTK_NOR_REG_IRQ_STAT);
+	irq_enabled = readl(sp->base + MTK_NOR_REG_IRQ_EN);
+	// write status back to clear interrupt
+	writel(irq_status, sp->base + MTK_NOR_REG_IRQ_STAT);
+
+	if (!(irq_status & irq_enabled))
+		return IRQ_NONE;
+
+	if (irq_status & MTK_NOR_IRQ_DMA) {
+		complete(&sp->op_done);
+		writel(0, sp->base + MTK_NOR_REG_IRQ_EN);
+	}
+
+	return IRQ_HANDLED;
+}
+
+static size_t mtk_max_msg_size(struct spi_device *spi)
+{
+	return MTK_NOR_PRG_MAX_SIZE;
+}
+
+static const struct spi_controller_mem_ops mtk_nor_mem_ops = {
+	.adjust_op_size = mtk_nor_adjust_op_size,
+	.supports_op = mtk_nor_supports_op,
+	.exec_op = mtk_nor_exec_op
+};
+
+static const struct of_device_id mtk_nor_match[] = {
+	{ .compatible = "mediatek,mt8173-nor" },
+	{ /* sentinel */ }
+};
+MODULE_DEVICE_TABLE(of, mtk_nor_match);
+
+static int mtk_nor_probe(struct platform_device *pdev)
+{
+	struct spi_controller *ctlr;
+	struct mtk_nor *sp;
+	void __iomem *base;
+	u8 *buffer;
+	struct clk *spi_clk, *ctlr_clk;
+	int ret, irq;
+
+	base = devm_platform_ioremap_resource(pdev, 0);
+	if (IS_ERR(base))
+		return PTR_ERR(base);
+
+	spi_clk = devm_clk_get(&pdev->dev, "spi");
+	if (IS_ERR(spi_clk))
+		return PTR_ERR(spi_clk);
+
+	ctlr_clk = devm_clk_get(&pdev->dev, "sf");
+	if (IS_ERR(ctlr_clk))
+		return PTR_ERR(ctlr_clk);
+
+	buffer = devm_kmalloc(&pdev->dev,
+			      MTK_NOR_BOUNCE_BUF_SIZE + MTK_NOR_DMA_ALIGN,
+			      GFP_KERNEL);
+	if (!buffer)
+		return -ENOMEM;
+
+	if ((ulong)buffer & MTK_NOR_DMA_ALIGN_MASK)
+		buffer = (u8 *)(((ulong)buffer + MTK_NOR_DMA_ALIGN) &
+				~MTK_NOR_DMA_ALIGN_MASK);
+
+	ctlr = spi_alloc_master(&pdev->dev, sizeof(*sp));
+	if (!ctlr) {
+		dev_err(&pdev->dev, "failed to allocate spi controller\n");
+		return -ENOMEM;
+	}
+
+	ctlr->bits_per_word_mask = SPI_BPW_MASK(8);
+	ctlr->dev.of_node = pdev->dev.of_node;
+	ctlr->max_message_size = mtk_max_msg_size;
+	ctlr->mem_ops = &mtk_nor_mem_ops;
+	ctlr->mode_bits = SPI_RX_DUAL | SPI_RX_QUAD | SPI_TX_DUAL | SPI_TX_QUAD;
+	ctlr->num_chipselect = 1;
+	ctlr->setup = mtk_nor_setup;
+	ctlr->transfer_one_message = mtk_nor_transfer_one_message;
+
+	dev_set_drvdata(&pdev->dev, ctlr);
+
+	sp = spi_controller_get_devdata(ctlr);
+	sp->base = base;
+	sp->buffer = buffer;
+	sp->has_irq = false;
+	sp->wbuf_en = false;
+	sp->ctlr = ctlr;
+	sp->dev = &pdev->dev;
+	sp->spi_clk = spi_clk;
+	sp->ctlr_clk = ctlr_clk;
+
+	irq = platform_get_irq_optional(pdev, 0);
+	if (irq < 0) {
+		dev_warn(sp->dev, "IRQ not available.");
+	} else {
+		writel(MTK_NOR_IRQ_MASK, base + MTK_NOR_REG_IRQ_STAT);
+		writel(0, base + MTK_NOR_REG_IRQ_EN);
+		ret = devm_request_irq(sp->dev, irq, mtk_nor_irq_handler, 0,
+				       pdev->name, sp);
+		if (ret < 0) {
+			dev_warn(sp->dev, "failed to request IRQ.");
+		} else {
+			init_completion(&sp->op_done);
+			sp->has_irq = true;
+		}
+	}
+
+	ret = mtk_nor_init(sp);
+	if (ret < 0) {
+		kfree(ctlr);
+		return ret;
+	}
+
+	dev_info(&pdev->dev, "spi frequency: %d Hz\n", sp->spi_freq);
+
+	return devm_spi_register_controller(&pdev->dev, ctlr);
+}
+
+static int mtk_nor_remove(struct platform_device *pdev)
+{
+	struct spi_controller *ctlr;
+	struct mtk_nor *sp;
+
+	ctlr = dev_get_drvdata(&pdev->dev);
+	sp = spi_controller_get_devdata(ctlr);
+
+	mtk_nor_disable_clk(sp);
+
+	return 0;
+}
+
+static struct platform_driver mtk_nor_driver = {
+	.driver = {
+		.name = DRIVER_NAME,
+		.of_match_table = mtk_nor_match,
+	},
+	.probe = mtk_nor_probe,
+	.remove = mtk_nor_remove,
+};
+
+module_platform_driver(mtk_nor_driver);
+
+MODULE_DESCRIPTION("Mediatek SPI NOR controller driver");
+MODULE_AUTHOR("Chuanhong Guo <gch981213@gmail.com>");
+MODULE_LICENSE("GPL v2");
+MODULE_ALIAS("platform:" DRIVER_NAME);
-- 
2.24.1

^ permalink raw reply	[flat|nested] 66+ messages in thread

* [PATCH v3 3/4] dt-bindings: convert mtk-quadspi binding doc for spi-mtk-nor
       [not found] ` <20200306085052.28258-1-gch981213-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  2020-03-06  8:50   ` [PATCH v3 1/4] spi: make spi-max-frequency optional Chuanhong Guo
@ 2020-03-06  8:50   ` Chuanhong Guo
       [not found]     ` <20200306085052.28258-4-gch981213-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  2020-03-06  8:50   ` [PATCH v3 4/4] mtd: spi-nor: remove mtk-quadspi driver Chuanhong Guo
  2 siblings, 1 reply; 66+ messages in thread
From: Chuanhong Guo @ 2020-03-06  8:50 UTC (permalink / raw)
  To: linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-spi-u79uwXL29TY76Z2rM5mHXA,
	linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	devicetree-u79uwXL29TY76Z2rM5mHXA
  Cc: Chuanhong Guo, Miquel Raynal, Richard Weinberger,
	Vignesh Raghavendra, Rob Herring, Matthias Brugger, Mark Brown,
	Tudor Ambarus, moderated list:ARM/Mediatek SoC support,
	open list

spi-mtk-nor is a driver to replace mtk-quadspi and they have almost
the same device-tree bindings. Reuse this binding documentation and
convert it for new driver:

1. "Mediatek SoCs" -> "Mediatek ARM SoCs" because MTK MIPS SoCs
   use different controllers.
2. document "interrupts" as a required property because it's
   available on all SoCs with this controller and new driver takes
   advantages of it. It's implemented as optional only to maintain
   backward compatibility.
3. add a dummy interrupt binding in example.

Signed-off-by: Chuanhong Guo <gch981213-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
Change since v2:
 revert binding example replacement and add a dummy irq binding

Change since v1:
 none

 .../{mtd/mtk-quadspi.txt => spi/spi-mtk-nor.txt}  | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)
 rename Documentation/devicetree/bindings/{mtd/mtk-quadspi.txt => spi/spi-mtk-nor.txt} (75%)

diff --git a/Documentation/devicetree/bindings/mtd/mtk-quadspi.txt b/Documentation/devicetree/bindings/spi/spi-mtk-nor.txt
similarity index 75%
rename from Documentation/devicetree/bindings/mtd/mtk-quadspi.txt
rename to Documentation/devicetree/bindings/spi/spi-mtk-nor.txt
index a12e3b5c495d..984ae7fd4f94 100644
--- a/Documentation/devicetree/bindings/mtd/mtk-quadspi.txt
+++ b/Documentation/devicetree/bindings/spi/spi-mtk-nor.txt
@@ -1,4 +1,4 @@
-* Serial NOR flash controller for MediaTek SoCs
+* Serial NOR flash controller for MediaTek ARM SoCs
 
 Required properties:
 - compatible: 	  For mt8173, compatible should be "mediatek,mt8173-nor",
@@ -13,6 +13,7 @@ Required properties:
 		  "mediatek,mt7629-nor", "mediatek,mt8173-nor"
 		  "mediatek,mt8173-nor"
 - reg: 		  physical base address and length of the controller's register
+- interrupts:	  Interrupt number used by the controller.
 - clocks: 	  the phandle of the clocks needed by the nor controller
 - clock-names: 	  the names of the clocks
 		  the clocks should be named "spi" and "sf". "spi" is used for spi bus,
@@ -22,20 +23,16 @@ Required properties:
 - #address-cells: should be <1>
 - #size-cells:	  should be <0>
 
-The SPI flash must be a child of the nor_flash node and must have a
-compatible property. Also see jedec,spi-nor.txt.
-
-Required properties:
-- compatible:	  May include a device-specific string consisting of the manufacturer
-		  and name of the chip. Must also include "jedec,spi-nor" for any
-		  SPI NOR flash that can be identified by the JEDEC READ ID opcode (0x9F).
-- reg :		  Chip-Select number
+There should be only one spi slave device following generic spi bindings.
+It's not recommended to use this controller for devices other than SPI NOR
+flash due to limited transfer capability of this controller.
 
 Example:
 
 nor_flash: spi@1100d000 {
 	compatible = "mediatek,mt8173-nor";
 	reg = <0 0x1100d000 0 0xe0>;
+	interrupts = <&spi_flash_irq>;
 	clocks = <&pericfg CLK_PERI_SPI>,
 		 <&topckgen CLK_TOP_SPINFI_IFR_SEL>;
 	clock-names = "spi", "sf";
-- 
2.24.1

^ permalink raw reply	[flat|nested] 66+ messages in thread

* [PATCH v3 4/4] mtd: spi-nor: remove mtk-quadspi driver
       [not found] ` <20200306085052.28258-1-gch981213-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  2020-03-06  8:50   ` [PATCH v3 1/4] spi: make spi-max-frequency optional Chuanhong Guo
  2020-03-06  8:50   ` [PATCH v3 3/4] dt-bindings: convert mtk-quadspi binding doc for spi-mtk-nor Chuanhong Guo
@ 2020-03-06  8:50   ` Chuanhong Guo
       [not found]     ` <20200306085052.28258-5-gch981213-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  2 siblings, 1 reply; 66+ messages in thread
From: Chuanhong Guo @ 2020-03-06  8:50 UTC (permalink / raw)
  To: linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-spi-u79uwXL29TY76Z2rM5mHXA,
	linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	devicetree-u79uwXL29TY76Z2rM5mHXA
  Cc: Chuanhong Guo, Miquel Raynal, Richard Weinberger,
	Vignesh Raghavendra, Rob Herring, Matthias Brugger, Mark Brown,
	Tudor Ambarus, moderated list:ARM/Mediatek SoC support,
	open list

This driver is superseded by the new spi-mtk-nor driver.

Signed-off-by: Chuanhong Guo <gch981213-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
Change since v2:
 none

Change since v1:
 new patch

 drivers/mtd/spi-nor/Kconfig       |   8 -
 drivers/mtd/spi-nor/Makefile      |   1 -
 drivers/mtd/spi-nor/mtk-quadspi.c | 565 ------------------------------
 3 files changed, 574 deletions(-)
 delete mode 100644 drivers/mtd/spi-nor/mtk-quadspi.c

diff --git a/drivers/mtd/spi-nor/Kconfig b/drivers/mtd/spi-nor/Kconfig
index c1eda67d1ad2..267b9000782e 100644
--- a/drivers/mtd/spi-nor/Kconfig
+++ b/drivers/mtd/spi-nor/Kconfig
@@ -52,14 +52,6 @@ config SPI_HISI_SFC
 	help
 	  This enables support for HiSilicon FMC SPI-NOR flash controller.
 
-config SPI_MTK_QUADSPI
-	tristate "MediaTek Quad SPI controller"
-	depends on HAS_IOMEM
-	help
-	  This enables support for the Quad SPI controller in master mode.
-	  This controller does not support generic SPI. It only supports
-	  SPI NOR.
-
 config SPI_NXP_SPIFI
 	tristate "NXP SPI Flash Interface (SPIFI)"
 	depends on OF && (ARCH_LPC18XX || COMPILE_TEST)
diff --git a/drivers/mtd/spi-nor/Makefile b/drivers/mtd/spi-nor/Makefile
index 9c5ed03cdc19..738dfd74cf76 100644
--- a/drivers/mtd/spi-nor/Makefile
+++ b/drivers/mtd/spi-nor/Makefile
@@ -3,7 +3,6 @@ obj-$(CONFIG_MTD_SPI_NOR)	+= spi-nor.o
 obj-$(CONFIG_SPI_ASPEED_SMC)	+= aspeed-smc.o
 obj-$(CONFIG_SPI_CADENCE_QUADSPI)	+= cadence-quadspi.o
 obj-$(CONFIG_SPI_HISI_SFC)	+= hisi-sfc.o
-obj-$(CONFIG_SPI_MTK_QUADSPI)    += mtk-quadspi.o
 obj-$(CONFIG_SPI_NXP_SPIFI)	+= nxp-spifi.o
 obj-$(CONFIG_SPI_INTEL_SPI)	+= intel-spi.o
 obj-$(CONFIG_SPI_INTEL_SPI_PCI)	+= intel-spi-pci.o
diff --git a/drivers/mtd/spi-nor/mtk-quadspi.c b/drivers/mtd/spi-nor/mtk-quadspi.c
deleted file mode 100644
index b1691680d174..000000000000
--- a/drivers/mtd/spi-nor/mtk-quadspi.c
+++ /dev/null
@@ -1,565 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0-only
-/*
- * Copyright (c) 2015 MediaTek Inc.
- * Author: Bayi Cheng <bayi.cheng-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
- */
-
-#include <linux/clk.h>
-#include <linux/delay.h>
-#include <linux/device.h>
-#include <linux/init.h>
-#include <linux/io.h>
-#include <linux/iopoll.h>
-#include <linux/ioport.h>
-#include <linux/math64.h>
-#include <linux/module.h>
-#include <linux/mutex.h>
-#include <linux/of.h>
-#include <linux/of_device.h>
-#include <linux/platform_device.h>
-#include <linux/slab.h>
-#include <linux/mtd/mtd.h>
-#include <linux/mtd/partitions.h>
-#include <linux/mtd/spi-nor.h>
-
-#define MTK_NOR_CMD_REG			0x00
-#define MTK_NOR_CNT_REG			0x04
-#define MTK_NOR_RDSR_REG		0x08
-#define MTK_NOR_RDATA_REG		0x0c
-#define MTK_NOR_RADR0_REG		0x10
-#define MTK_NOR_RADR1_REG		0x14
-#define MTK_NOR_RADR2_REG		0x18
-#define MTK_NOR_WDATA_REG		0x1c
-#define MTK_NOR_PRGDATA0_REG		0x20
-#define MTK_NOR_PRGDATA1_REG		0x24
-#define MTK_NOR_PRGDATA2_REG		0x28
-#define MTK_NOR_PRGDATA3_REG		0x2c
-#define MTK_NOR_PRGDATA4_REG		0x30
-#define MTK_NOR_PRGDATA5_REG		0x34
-#define MTK_NOR_SHREG0_REG		0x38
-#define MTK_NOR_SHREG1_REG		0x3c
-#define MTK_NOR_SHREG2_REG		0x40
-#define MTK_NOR_SHREG3_REG		0x44
-#define MTK_NOR_SHREG4_REG		0x48
-#define MTK_NOR_SHREG5_REG		0x4c
-#define MTK_NOR_SHREG6_REG		0x50
-#define MTK_NOR_SHREG7_REG		0x54
-#define MTK_NOR_SHREG8_REG		0x58
-#define MTK_NOR_SHREG9_REG		0x5c
-#define MTK_NOR_CFG1_REG		0x60
-#define MTK_NOR_CFG2_REG		0x64
-#define MTK_NOR_CFG3_REG		0x68
-#define MTK_NOR_STATUS0_REG		0x70
-#define MTK_NOR_STATUS1_REG		0x74
-#define MTK_NOR_STATUS2_REG		0x78
-#define MTK_NOR_STATUS3_REG		0x7c
-#define MTK_NOR_FLHCFG_REG		0x84
-#define MTK_NOR_TIME_REG		0x94
-#define MTK_NOR_PP_DATA_REG		0x98
-#define MTK_NOR_PREBUF_STUS_REG		0x9c
-#define MTK_NOR_DELSEL0_REG		0xa0
-#define MTK_NOR_DELSEL1_REG		0xa4
-#define MTK_NOR_INTRSTUS_REG		0xa8
-#define MTK_NOR_INTREN_REG		0xac
-#define MTK_NOR_CHKSUM_CTL_REG		0xb8
-#define MTK_NOR_CHKSUM_REG		0xbc
-#define MTK_NOR_CMD2_REG		0xc0
-#define MTK_NOR_WRPROT_REG		0xc4
-#define MTK_NOR_RADR3_REG		0xc8
-#define MTK_NOR_DUAL_REG		0xcc
-#define MTK_NOR_DELSEL2_REG		0xd0
-#define MTK_NOR_DELSEL3_REG		0xd4
-#define MTK_NOR_DELSEL4_REG		0xd8
-
-/* commands for mtk nor controller */
-#define MTK_NOR_READ_CMD		0x0
-#define MTK_NOR_RDSR_CMD		0x2
-#define MTK_NOR_PRG_CMD			0x4
-#define MTK_NOR_WR_CMD			0x10
-#define MTK_NOR_PIO_WR_CMD		0x90
-#define MTK_NOR_WRSR_CMD		0x20
-#define MTK_NOR_PIO_READ_CMD		0x81
-#define MTK_NOR_WR_BUF_ENABLE		0x1
-#define MTK_NOR_WR_BUF_DISABLE		0x0
-#define MTK_NOR_ENABLE_SF_CMD		0x30
-#define MTK_NOR_DUAD_ADDR_EN		0x8
-#define MTK_NOR_QUAD_READ_EN		0x4
-#define MTK_NOR_DUAL_ADDR_EN		0x2
-#define MTK_NOR_DUAL_READ_EN		0x1
-#define MTK_NOR_DUAL_DISABLE		0x0
-#define MTK_NOR_FAST_READ		0x1
-
-#define SFLASH_WRBUF_SIZE		128
-
-/* Can shift up to 48 bits (6 bytes) of TX/RX */
-#define MTK_NOR_MAX_RX_TX_SHIFT		6
-/* can shift up to 56 bits (7 bytes) transfer by MTK_NOR_PRG_CMD */
-#define MTK_NOR_MAX_SHIFT		7
-/* nor controller 4-byte address mode enable bit */
-#define MTK_NOR_4B_ADDR_EN		BIT(4)
-
-/* Helpers for accessing the program data / shift data registers */
-#define MTK_NOR_PRG_REG(n)		(MTK_NOR_PRGDATA0_REG + 4 * (n))
-#define MTK_NOR_SHREG(n)		(MTK_NOR_SHREG0_REG + 4 * (n))
-
-struct mtk_nor {
-	struct spi_nor nor;
-	struct device *dev;
-	void __iomem *base;	/* nor flash base address */
-	struct clk *spi_clk;
-	struct clk *nor_clk;
-};
-
-static void mtk_nor_set_read_mode(struct mtk_nor *mtk_nor)
-{
-	struct spi_nor *nor = &mtk_nor->nor;
-
-	switch (nor->read_proto) {
-	case SNOR_PROTO_1_1_1:
-		writeb(nor->read_opcode, mtk_nor->base +
-		       MTK_NOR_PRGDATA3_REG);
-		writeb(MTK_NOR_FAST_READ, mtk_nor->base +
-		       MTK_NOR_CFG1_REG);
-		break;
-	case SNOR_PROTO_1_1_2:
-		writeb(nor->read_opcode, mtk_nor->base +
-		       MTK_NOR_PRGDATA3_REG);
-		writeb(MTK_NOR_DUAL_READ_EN, mtk_nor->base +
-		       MTK_NOR_DUAL_REG);
-		break;
-	case SNOR_PROTO_1_1_4:
-		writeb(nor->read_opcode, mtk_nor->base +
-		       MTK_NOR_PRGDATA4_REG);
-		writeb(MTK_NOR_QUAD_READ_EN, mtk_nor->base +
-		       MTK_NOR_DUAL_REG);
-		break;
-	default:
-		writeb(MTK_NOR_DUAL_DISABLE, mtk_nor->base +
-		       MTK_NOR_DUAL_REG);
-		break;
-	}
-}
-
-static int mtk_nor_execute_cmd(struct mtk_nor *mtk_nor, u8 cmdval)
-{
-	int reg;
-	u8 val = cmdval & 0x1f;
-
-	writeb(cmdval, mtk_nor->base + MTK_NOR_CMD_REG);
-	return readl_poll_timeout(mtk_nor->base + MTK_NOR_CMD_REG, reg,
-				  !(reg & val), 100, 10000);
-}
-
-static int mtk_nor_do_tx_rx(struct mtk_nor *mtk_nor, u8 op,
-			    const u8 *tx, size_t txlen, u8 *rx, size_t rxlen)
-{
-	size_t len = 1 + txlen + rxlen;
-	int i, ret, idx;
-
-	if (len > MTK_NOR_MAX_SHIFT)
-		return -EINVAL;
-
-	writeb(len * 8, mtk_nor->base + MTK_NOR_CNT_REG);
-
-	/* start at PRGDATA5, go down to PRGDATA0 */
-	idx = MTK_NOR_MAX_RX_TX_SHIFT - 1;
-
-	/* opcode */
-	writeb(op, mtk_nor->base + MTK_NOR_PRG_REG(idx));
-	idx--;
-
-	/* program TX data */
-	for (i = 0; i < txlen; i++, idx--)
-		writeb(tx[i], mtk_nor->base + MTK_NOR_PRG_REG(idx));
-
-	/* clear out rest of TX registers */
-	while (idx >= 0) {
-		writeb(0, mtk_nor->base + MTK_NOR_PRG_REG(idx));
-		idx--;
-	}
-
-	ret = mtk_nor_execute_cmd(mtk_nor, MTK_NOR_PRG_CMD);
-	if (ret)
-		return ret;
-
-	/* restart at first RX byte */
-	idx = rxlen - 1;
-
-	/* read out RX data */
-	for (i = 0; i < rxlen; i++, idx--)
-		rx[i] = readb(mtk_nor->base + MTK_NOR_SHREG(idx));
-
-	return 0;
-}
-
-/* Do a WRSR (Write Status Register) command */
-static int mtk_nor_wr_sr(struct mtk_nor *mtk_nor, const u8 sr)
-{
-	writeb(sr, mtk_nor->base + MTK_NOR_PRGDATA5_REG);
-	writeb(8, mtk_nor->base + MTK_NOR_CNT_REG);
-	return mtk_nor_execute_cmd(mtk_nor, MTK_NOR_WRSR_CMD);
-}
-
-static int mtk_nor_write_buffer_enable(struct mtk_nor *mtk_nor)
-{
-	u8 reg;
-
-	/* the bit0 of MTK_NOR_CFG2_REG is pre-fetch buffer
-	 * 0: pre-fetch buffer use for read
-	 * 1: pre-fetch buffer use for page program
-	 */
-	writel(MTK_NOR_WR_BUF_ENABLE, mtk_nor->base + MTK_NOR_CFG2_REG);
-	return readb_poll_timeout(mtk_nor->base + MTK_NOR_CFG2_REG, reg,
-				  0x01 == (reg & 0x01), 100, 10000);
-}
-
-static int mtk_nor_write_buffer_disable(struct mtk_nor *mtk_nor)
-{
-	u8 reg;
-
-	writel(MTK_NOR_WR_BUF_DISABLE, mtk_nor->base + MTK_NOR_CFG2_REG);
-	return readb_poll_timeout(mtk_nor->base + MTK_NOR_CFG2_REG, reg,
-				  MTK_NOR_WR_BUF_DISABLE == (reg & 0x1), 100,
-				  10000);
-}
-
-static void mtk_nor_set_addr_width(struct mtk_nor *mtk_nor)
-{
-	u8 val;
-	struct spi_nor *nor = &mtk_nor->nor;
-
-	val = readb(mtk_nor->base + MTK_NOR_DUAL_REG);
-
-	switch (nor->addr_width) {
-	case 3:
-		val &= ~MTK_NOR_4B_ADDR_EN;
-		break;
-	case 4:
-		val |= MTK_NOR_4B_ADDR_EN;
-		break;
-	default:
-		dev_warn(mtk_nor->dev, "Unexpected address width %u.\n",
-			 nor->addr_width);
-		break;
-	}
-
-	writeb(val, mtk_nor->base + MTK_NOR_DUAL_REG);
-}
-
-static void mtk_nor_set_addr(struct mtk_nor *mtk_nor, u32 addr)
-{
-	int i;
-
-	mtk_nor_set_addr_width(mtk_nor);
-
-	for (i = 0; i < 3; i++) {
-		writeb(addr & 0xff, mtk_nor->base + MTK_NOR_RADR0_REG + i * 4);
-		addr >>= 8;
-	}
-	/* Last register is non-contiguous */
-	writeb(addr & 0xff, mtk_nor->base + MTK_NOR_RADR3_REG);
-}
-
-static ssize_t mtk_nor_read(struct spi_nor *nor, loff_t from, size_t length,
-			    u_char *buffer)
-{
-	int i, ret;
-	int addr = (int)from;
-	u8 *buf = (u8 *)buffer;
-	struct mtk_nor *mtk_nor = nor->priv;
-
-	/* set mode for fast read mode ,dual mode or quad mode */
-	mtk_nor_set_read_mode(mtk_nor);
-	mtk_nor_set_addr(mtk_nor, addr);
-
-	for (i = 0; i < length; i++) {
-		ret = mtk_nor_execute_cmd(mtk_nor, MTK_NOR_PIO_READ_CMD);
-		if (ret < 0)
-			return ret;
-		buf[i] = readb(mtk_nor->base + MTK_NOR_RDATA_REG);
-	}
-	return length;
-}
-
-static int mtk_nor_write_single_byte(struct mtk_nor *mtk_nor,
-				     int addr, int length, u8 *data)
-{
-	int i, ret;
-
-	mtk_nor_set_addr(mtk_nor, addr);
-
-	for (i = 0; i < length; i++) {
-		writeb(*data++, mtk_nor->base + MTK_NOR_WDATA_REG);
-		ret = mtk_nor_execute_cmd(mtk_nor, MTK_NOR_PIO_WR_CMD);
-		if (ret < 0)
-			return ret;
-	}
-	return 0;
-}
-
-static int mtk_nor_write_buffer(struct mtk_nor *mtk_nor, int addr,
-				const u8 *buf)
-{
-	int i, bufidx, data;
-
-	mtk_nor_set_addr(mtk_nor, addr);
-
-	bufidx = 0;
-	for (i = 0; i < SFLASH_WRBUF_SIZE; i += 4) {
-		data = buf[bufidx + 3]<<24 | buf[bufidx + 2]<<16 |
-		       buf[bufidx + 1]<<8 | buf[bufidx];
-		bufidx += 4;
-		writel(data, mtk_nor->base + MTK_NOR_PP_DATA_REG);
-	}
-	return mtk_nor_execute_cmd(mtk_nor, MTK_NOR_WR_CMD);
-}
-
-static ssize_t mtk_nor_write(struct spi_nor *nor, loff_t to, size_t len,
-			     const u_char *buf)
-{
-	int ret;
-	struct mtk_nor *mtk_nor = nor->priv;
-	size_t i;
-
-	ret = mtk_nor_write_buffer_enable(mtk_nor);
-	if (ret < 0) {
-		dev_warn(mtk_nor->dev, "write buffer enable failed!\n");
-		return ret;
-	}
-
-	for (i = 0; i + SFLASH_WRBUF_SIZE <= len; i += SFLASH_WRBUF_SIZE) {
-		ret = mtk_nor_write_buffer(mtk_nor, to, buf);
-		if (ret < 0) {
-			dev_err(mtk_nor->dev, "write buffer failed!\n");
-			return ret;
-		}
-		to += SFLASH_WRBUF_SIZE;
-		buf += SFLASH_WRBUF_SIZE;
-	}
-	ret = mtk_nor_write_buffer_disable(mtk_nor);
-	if (ret < 0) {
-		dev_warn(mtk_nor->dev, "write buffer disable failed!\n");
-		return ret;
-	}
-
-	if (i < len) {
-		ret = mtk_nor_write_single_byte(mtk_nor, to,
-						(int)(len - i), (u8 *)buf);
-		if (ret < 0) {
-			dev_err(mtk_nor->dev, "write single byte failed!\n");
-			return ret;
-		}
-	}
-
-	return len;
-}
-
-static int mtk_nor_read_reg(struct spi_nor *nor, u8 opcode, u8 *buf, size_t len)
-{
-	int ret;
-	struct mtk_nor *mtk_nor = nor->priv;
-
-	switch (opcode) {
-	case SPINOR_OP_RDSR:
-		ret = mtk_nor_execute_cmd(mtk_nor, MTK_NOR_RDSR_CMD);
-		if (ret < 0)
-			return ret;
-		if (len == 1)
-			*buf = readb(mtk_nor->base + MTK_NOR_RDSR_REG);
-		else
-			dev_err(mtk_nor->dev, "len should be 1 for read status!\n");
-		break;
-	default:
-		ret = mtk_nor_do_tx_rx(mtk_nor, opcode, NULL, 0, buf, len);
-		break;
-	}
-	return ret;
-}
-
-static int mtk_nor_write_reg(struct spi_nor *nor, u8 opcode, const u8 *buf,
-			     size_t len)
-{
-	int ret;
-	struct mtk_nor *mtk_nor = nor->priv;
-
-	switch (opcode) {
-	case SPINOR_OP_WRSR:
-		/* We only handle 1 byte */
-		ret = mtk_nor_wr_sr(mtk_nor, *buf);
-		break;
-	default:
-		ret = mtk_nor_do_tx_rx(mtk_nor, opcode, buf, len, NULL, 0);
-		if (ret)
-			dev_warn(mtk_nor->dev, "write reg failure!\n");
-		break;
-	}
-	return ret;
-}
-
-static void mtk_nor_disable_clk(struct mtk_nor *mtk_nor)
-{
-	clk_disable_unprepare(mtk_nor->spi_clk);
-	clk_disable_unprepare(mtk_nor->nor_clk);
-}
-
-static int mtk_nor_enable_clk(struct mtk_nor *mtk_nor)
-{
-	int ret;
-
-	ret = clk_prepare_enable(mtk_nor->spi_clk);
-	if (ret)
-		return ret;
-
-	ret = clk_prepare_enable(mtk_nor->nor_clk);
-	if (ret) {
-		clk_disable_unprepare(mtk_nor->spi_clk);
-		return ret;
-	}
-
-	return 0;
-}
-
-static const struct spi_nor_controller_ops mtk_controller_ops = {
-	.read_reg = mtk_nor_read_reg,
-	.write_reg = mtk_nor_write_reg,
-	.read = mtk_nor_read,
-	.write = mtk_nor_write,
-};
-
-static int mtk_nor_init(struct mtk_nor *mtk_nor,
-			struct device_node *flash_node)
-{
-	const struct spi_nor_hwcaps hwcaps = {
-		.mask = SNOR_HWCAPS_READ |
-			SNOR_HWCAPS_READ_FAST |
-			SNOR_HWCAPS_READ_1_1_2 |
-			SNOR_HWCAPS_PP,
-	};
-	int ret;
-	struct spi_nor *nor;
-
-	/* initialize controller to accept commands */
-	writel(MTK_NOR_ENABLE_SF_CMD, mtk_nor->base + MTK_NOR_WRPROT_REG);
-
-	nor = &mtk_nor->nor;
-	nor->dev = mtk_nor->dev;
-	nor->priv = mtk_nor;
-	spi_nor_set_flash_node(nor, flash_node);
-	nor->controller_ops = &mtk_controller_ops;
-
-	nor->mtd.name = "mtk_nor";
-	/* initialized with NULL */
-	ret = spi_nor_scan(nor, NULL, &hwcaps);
-	if (ret)
-		return ret;
-
-	return mtd_device_register(&nor->mtd, NULL, 0);
-}
-
-static int mtk_nor_drv_probe(struct platform_device *pdev)
-{
-	struct device_node *flash_np;
-	struct resource *res;
-	int ret;
-	struct mtk_nor *mtk_nor;
-
-	if (!pdev->dev.of_node) {
-		dev_err(&pdev->dev, "No DT found\n");
-		return -EINVAL;
-	}
-
-	mtk_nor = devm_kzalloc(&pdev->dev, sizeof(*mtk_nor), GFP_KERNEL);
-	if (!mtk_nor)
-		return -ENOMEM;
-	platform_set_drvdata(pdev, mtk_nor);
-
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	mtk_nor->base = devm_ioremap_resource(&pdev->dev, res);
-	if (IS_ERR(mtk_nor->base))
-		return PTR_ERR(mtk_nor->base);
-
-	mtk_nor->spi_clk = devm_clk_get(&pdev->dev, "spi");
-	if (IS_ERR(mtk_nor->spi_clk))
-		return PTR_ERR(mtk_nor->spi_clk);
-
-	mtk_nor->nor_clk = devm_clk_get(&pdev->dev, "sf");
-	if (IS_ERR(mtk_nor->nor_clk))
-		return PTR_ERR(mtk_nor->nor_clk);
-
-	mtk_nor->dev = &pdev->dev;
-
-	ret = mtk_nor_enable_clk(mtk_nor);
-	if (ret)
-		return ret;
-
-	/* only support one attached flash */
-	flash_np = of_get_next_available_child(pdev->dev.of_node, NULL);
-	if (!flash_np) {
-		dev_err(&pdev->dev, "no SPI flash device to configure\n");
-		ret = -ENODEV;
-		goto nor_free;
-	}
-	ret = mtk_nor_init(mtk_nor, flash_np);
-
-nor_free:
-	if (ret)
-		mtk_nor_disable_clk(mtk_nor);
-
-	return ret;
-}
-
-static int mtk_nor_drv_remove(struct platform_device *pdev)
-{
-	struct mtk_nor *mtk_nor = platform_get_drvdata(pdev);
-
-	mtk_nor_disable_clk(mtk_nor);
-
-	return 0;
-}
-
-#ifdef CONFIG_PM_SLEEP
-static int mtk_nor_suspend(struct device *dev)
-{
-	struct mtk_nor *mtk_nor = dev_get_drvdata(dev);
-
-	mtk_nor_disable_clk(mtk_nor);
-
-	return 0;
-}
-
-static int mtk_nor_resume(struct device *dev)
-{
-	struct mtk_nor *mtk_nor = dev_get_drvdata(dev);
-
-	return mtk_nor_enable_clk(mtk_nor);
-}
-
-static const struct dev_pm_ops mtk_nor_dev_pm_ops = {
-	.suspend = mtk_nor_suspend,
-	.resume = mtk_nor_resume,
-};
-
-#define MTK_NOR_DEV_PM_OPS	(&mtk_nor_dev_pm_ops)
-#else
-#define MTK_NOR_DEV_PM_OPS	NULL
-#endif
-
-static const struct of_device_id mtk_nor_of_ids[] = {
-	{ .compatible = "mediatek,mt8173-nor"},
-	{ /* sentinel */ }
-};
-MODULE_DEVICE_TABLE(of, mtk_nor_of_ids);
-
-static struct platform_driver mtk_nor_driver = {
-	.probe = mtk_nor_drv_probe,
-	.remove = mtk_nor_drv_remove,
-	.driver = {
-		.name = "mtk-nor",
-		.pm = MTK_NOR_DEV_PM_OPS,
-		.of_match_table = mtk_nor_of_ids,
-	},
-};
-
-module_platform_driver(mtk_nor_driver);
-MODULE_LICENSE("GPL v2");
-MODULE_DESCRIPTION("MediaTek SPI NOR Flash Driver");
-- 
2.24.1

^ permalink raw reply	[flat|nested] 66+ messages in thread

* Re: [PATCH v3 4/4] mtd: spi-nor: remove mtk-quadspi driver
       [not found]     ` <20200306085052.28258-5-gch981213-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2020-03-09 12:10       ` Mark Brown
  2020-03-10  7:41         ` Tudor.Ambarus
  0 siblings, 1 reply; 66+ messages in thread
From: Mark Brown @ 2020-03-09 12:10 UTC (permalink / raw)
  To: Chuanhong Guo
  Cc: linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-spi-u79uwXL29TY76Z2rM5mHXA,
	linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	devicetree-u79uwXL29TY76Z2rM5mHXA, Miquel Raynal,
	Richard Weinberger, Vignesh Raghavendra, Rob Herring,
	Matthias Brugger, Tudor Ambarus,
	moderated list:ARM/Mediatek SoC support, open list


[-- Attachment #1: Type: text/plain, Size: 374 bytes --]

On Fri, Mar 06, 2020 at 04:50:52PM +0800, Chuanhong Guo wrote:
> This driver is superseded by the new spi-mtk-nor driver.
> 
> Signed-off-by: Chuanhong Guo <gch981213-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

Is this move OK from a MTD point of view - should I apply this when the
rest goes in?  The patch was in prior versions too and is obviously
straightforward.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 66+ messages in thread

* Re: [PATCH v3 4/4] mtd: spi-nor: remove mtk-quadspi driver
  2020-03-09 12:10       ` Mark Brown
@ 2020-03-10  7:41         ` Tudor.Ambarus
       [not found]           ` <2471214.x7VzW1FXlQ-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
  0 siblings, 1 reply; 66+ messages in thread
From: Tudor.Ambarus @ 2020-03-10  7:41 UTC (permalink / raw)
  To: broonie
  Cc: gch981213, linux-mediatek, linux-spi, linux-mtd, devicetree,
	miquel.raynal, richard, vigneshr, robh+dt, matthias.bgg,
	linux-arm-kernel, linux-kernel

Hi, Mark,

On Monday, March 9, 2020 2:10:20 PM EET Mark Brown wrote:
> > This driver is superseded by the new spi-mtk-nor driver.
> > 
> > Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
> 
> Is this move OK from a MTD point of view - should I apply this when the
> rest goes in?  The patch was in prior versions too and is obviously
> straightforward.

If you find the rest of the patches ok, this can go through the spi tree, feel 
free to add my
Acked-by: Tudor Ambarus <tudor.ambarus@microchip.com>

There will be a conflict with the following patch https://
patchwork.ozlabs.org/patch/1247791/, but nothing that we can't handle.
I'll try to allocate time for reviewing the remaining patches in this set in 
the following days.

Cheers,
ta

^ permalink raw reply	[flat|nested] 66+ messages in thread

* Re: [PATCH v3 4/4] mtd: spi-nor: remove mtk-quadspi driver
       [not found]           ` <2471214.x7VzW1FXlQ-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
@ 2020-03-10  9:11             ` Tudor.Ambarus-UWL1GkI3JZL3oGB3hsPCZA
       [not found]               ` <4427171.IzkiAjLLdB-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
  0 siblings, 1 reply; 66+ messages in thread
From: Tudor.Ambarus-UWL1GkI3JZL3oGB3hsPCZA @ 2020-03-10  9:11 UTC (permalink / raw)
  To: linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
  Cc: broonie-DgEjT+Ai2ygdnm+yROfE0A,
	devicetree-u79uwXL29TY76Z2rM5mHXA, vigneshr-l0cyMroinI0,
	richard-/L3Ra7n9ekc, linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-spi-u79uwXL29TY76Z2rM5mHXA, robh+dt-DgEjT+Ai2ygdnm+yROfE0A,
	linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	miquel.raynal-LDxbnhwyfcJBDgjK7y7TUQ,
	matthias.bgg-Re5JQEeQqe8AvxtiuMwx3w,
	gch981213-Re5JQEeQqe8AvxtiuMwx3w,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

On Tuesday, March 10, 2020 9:41:26 AM EET Tudor.Ambarus-UWL1GkI3JZL3oGB3hsPCZA@public.gmane.org wrote:
> Hi, Mark,
> 
> On Monday, March 9, 2020 2:10:20 PM EET Mark Brown wrote:
> > > This driver is superseded by the new spi-mtk-nor driver.
> > > 
> > > Signed-off-by: Chuanhong Guo <gch981213-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> > 
> > Is this move OK from a MTD point of view - should I apply this when the
> > rest goes in?  The patch was in prior versions too and is obviously
> > straightforward.
> 
> If you find the rest of the patches ok, this can go through the spi tree,
> feel free to add my
> Acked-by: Tudor Ambarus <tudor.ambarus-UWL1GkI3JZL3oGB3hsPCZA@public.gmane.org>
> 
> There will be a conflict with the following patch https://
> patchwork.ozlabs.org/patch/1247791/, but nothing that we can't handle.

You can also create an immutable tag that I can merge in my spi-nor/next 
branch, so that Linus doesn't have to deal with the conflict.

ta

^ permalink raw reply	[flat|nested] 66+ messages in thread

* Applied "dt-bindings: convert mtk-quadspi binding doc for spi-mtk-nor" to the spi tree
       [not found]     ` <20200306085052.28258-4-gch981213-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2020-03-11 18:35       ` Mark Brown
  0 siblings, 0 replies; 66+ messages in thread
From: Mark Brown @ 2020-03-11 18:35 UTC (permalink / raw)
  To: Chuanhong Guo
  Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-spi-u79uwXL29TY76Z2rM5mHXA, Mark Brown, Matthias Brugger,
	Miquel Raynal, moderated list:ARM/Mediatek SoC,
	open list
	<linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Richard Weinberger <richard-/L3Ra7n9ekc@public.gmane.org>,
	Rob Herring
	<robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	support, Tudor Ambarus, Vignesh Raghavendra

The patch

   dt-bindings: convert mtk-quadspi binding doc for spi-mtk-nor

has been applied to the spi tree at

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git 

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

>From efe72129f32cac0dee5a221399813b620e310b32 Mon Sep 17 00:00:00 2001
From: Chuanhong Guo <gch981213-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Date: Fri, 6 Mar 2020 16:50:51 +0800
Subject: [PATCH] dt-bindings: convert mtk-quadspi binding doc for spi-mtk-nor

spi-mtk-nor is a driver to replace mtk-quadspi and they have almost
the same device-tree bindings. Reuse this binding documentation and
convert it for new driver:

1. "Mediatek SoCs" -> "Mediatek ARM SoCs" because MTK MIPS SoCs
   use different controllers.
2. document "interrupts" as a required property because it's
   available on all SoCs with this controller and new driver takes
   advantages of it. It's implemented as optional only to maintain
   backward compatibility.
3. add a dummy interrupt binding in example.

Signed-off-by: Chuanhong Guo <gch981213-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Link: https://lore.kernel.org/r/20200306085052.28258-4-gch981213-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Signed-off-by: Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
---
 .../{mtd/mtk-quadspi.txt => spi/spi-mtk-nor.txt}  | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)
 rename Documentation/devicetree/bindings/{mtd/mtk-quadspi.txt => spi/spi-mtk-nor.txt} (75%)

diff --git a/Documentation/devicetree/bindings/mtd/mtk-quadspi.txt b/Documentation/devicetree/bindings/spi/spi-mtk-nor.txt
similarity index 75%
rename from Documentation/devicetree/bindings/mtd/mtk-quadspi.txt
rename to Documentation/devicetree/bindings/spi/spi-mtk-nor.txt
index a12e3b5c495d..984ae7fd4f94 100644
--- a/Documentation/devicetree/bindings/mtd/mtk-quadspi.txt
+++ b/Documentation/devicetree/bindings/spi/spi-mtk-nor.txt
@@ -1,4 +1,4 @@
-* Serial NOR flash controller for MediaTek SoCs
+* Serial NOR flash controller for MediaTek ARM SoCs
 
 Required properties:
 - compatible: 	  For mt8173, compatible should be "mediatek,mt8173-nor",
@@ -13,6 +13,7 @@ Required properties:
 		  "mediatek,mt7629-nor", "mediatek,mt8173-nor"
 		  "mediatek,mt8173-nor"
 - reg: 		  physical base address and length of the controller's register
+- interrupts:	  Interrupt number used by the controller.
 - clocks: 	  the phandle of the clocks needed by the nor controller
 - clock-names: 	  the names of the clocks
 		  the clocks should be named "spi" and "sf". "spi" is used for spi bus,
@@ -22,20 +23,16 @@ Required properties:
 - #address-cells: should be <1>
 - #size-cells:	  should be <0>
 
-The SPI flash must be a child of the nor_flash node and must have a
-compatible property. Also see jedec,spi-nor.txt.
-
-Required properties:
-- compatible:	  May include a device-specific string consisting of the manufacturer
-		  and name of the chip. Must also include "jedec,spi-nor" for any
-		  SPI NOR flash that can be identified by the JEDEC READ ID opcode (0x9F).
-- reg :		  Chip-Select number
+There should be only one spi slave device following generic spi bindings.
+It's not recommended to use this controller for devices other than SPI NOR
+flash due to limited transfer capability of this controller.
 
 Example:
 
 nor_flash: spi@1100d000 {
 	compatible = "mediatek,mt8173-nor";
 	reg = <0 0x1100d000 0 0xe0>;
+	interrupts = <&spi_flash_irq>;
 	clocks = <&pericfg CLK_PERI_SPI>,
 		 <&topckgen CLK_TOP_SPINFI_IFR_SEL>;
 	clock-names = "spi", "sf";
-- 
2.20.1

^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
  2020-03-06  8:50 [PATCH v3 0/4] rewrite mtk-quadspi spi-nor driver with spi-mem Chuanhong Guo
  2020-03-06  8:50 ` [PATCH v3 2/4] spi: add support for mediatek spi-nor controller Chuanhong Guo
       [not found] ` <20200306085052.28258-1-gch981213-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2020-03-11 19:00 ` patchwork-bot+linux-spi-DgEjT+Ai2ygdnm+yROfE0A
  2 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+linux-spi-DgEjT+Ai2ygdnm+yROfE0A @ 2020-03-11 19:00 UTC (permalink / raw)
  To: linux-spi-u79uwXL29TY76Z2rM5mHXA, broonie-DgEjT+Ai2ygdnm+yROfE0A

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Series: rewrite mtk-quadspi spi-nor driver with spi-mem
  Submitter: Chuanhong Guo <gch981213-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=252289
    Patches: [v3,1/4] spi: make spi-max-frequency optional
             [v3,2/4] spi: add support for mediatek spi-nor controller
             [v3,3/4] dt-bindings: convert mtk-quadspi binding doc for spi-mtk-nor
             [v3,4/4] mtd: spi-nor: remove mtk-quadspi driver

Total patches: 4

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/pwbot

^ permalink raw reply	[flat|nested] 66+ messages in thread

* Re: [PATCH v3 4/4] mtd: spi-nor: remove mtk-quadspi driver
       [not found]               ` <4427171.IzkiAjLLdB-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
@ 2020-03-11 19:57                 ` Mark Brown
  0 siblings, 0 replies; 66+ messages in thread
From: Mark Brown @ 2020-03-11 19:57 UTC (permalink / raw)
  To: Tudor.Ambarus-UWL1GkI3JZL3oGB3hsPCZA
  Cc: linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	devicetree-u79uwXL29TY76Z2rM5mHXA, vigneshr-l0cyMroinI0,
	richard-/L3Ra7n9ekc, linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-spi-u79uwXL29TY76Z2rM5mHXA, robh+dt-DgEjT+Ai2ygdnm+yROfE0A,
	linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	miquel.raynal-LDxbnhwyfcJBDgjK7y7TUQ,
	matthias.bgg-Re5JQEeQqe8AvxtiuMwx3w,
	gch981213-Re5JQEeQqe8AvxtiuMwx3w,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r


[-- Attachment #1: Type: text/plain, Size: 2134 bytes --]

On Tue, Mar 10, 2020 at 09:11:29AM +0000, Tudor.Ambarus-UWL1GkI3JZL3oGB3hsPCZA@public.gmane.org wrote:

> You can also create an immutable tag that I can merge in my spi-nor/next 
> branch, so that Linus doesn't have to deal with the conflict.

The following changes since commit bb6d3fb354c5ee8d6bde2d576eb7220ea09862b9:

  Linux 5.6-rc1 (2020-02-09 16:08:48 -0800)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git tags/mtk-mtd-spi-move

for you to fetch changes up to e11e8473bcec748c3820636f11b986f611c9309b:

  mtd: spi-nor: remove mtk-quadspi driver (2020-03-11 19:56:08 +0000)

----------------------------------------------------------------
spi: Rewrite mtk-quadspi spi-nor driver with spi-mem

This patchset from Chuanhong Guo <gch981213-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> adds a spi-mem
driver for Mediatek SPI-NOR controller, which already has limited
support by mtk-quadspi. This new driver can make use of full quadspi
capability of this controller.

----------------------------------------------------------------
Chuanhong Guo (4):
      spi: make spi-max-frequency optional
      spi: add support for mediatek spi-nor controller
      dt-bindings: convert mtk-quadspi binding doc for spi-mtk-nor
      mtd: spi-nor: remove mtk-quadspi driver

 .../{mtd/mtk-quadspi.txt => spi/spi-mtk-nor.txt}   |  15 +-
 drivers/mtd/spi-nor/Kconfig                        |   8 -
 drivers/mtd/spi-nor/Makefile                       |   1 -
 drivers/mtd/spi-nor/mtk-quadspi.c                  | 565 -----------------
 drivers/spi/Kconfig                                |  10 +
 drivers/spi/Makefile                               |   1 +
 drivers/spi/spi-mtk-nor.c                          | 689 +++++++++++++++++++++
 drivers/spi/spi.c                                  |   9 +-
 8 files changed, 708 insertions(+), 590 deletions(-)
 rename Documentation/devicetree/bindings/{mtd/mtk-quadspi.txt => spi/spi-mtk-nor.txt} (75%)
 delete mode 100644 drivers/mtd/spi-nor/mtk-quadspi.c
 create mode 100644 drivers/spi/spi-mtk-nor.c

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
@ 2021-06-23 16:00 patchwork-bot+spi-devel-general
  0 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+spi-devel-general @ 2021-06-23 16:00 UTC (permalink / raw)
  To: linux-spi, broonie

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Patch: [1/1] spi-sun6i: Fix chipselect/clock bug
  Submitter: Ralf Schlatterbeck <rsc@runtux.com>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=486737
  Lore link: https://lore.kernel.org/r/20210521201913.2gapcmrzynxekro7@runtux.com
Patch: [v2,1/1] spi: spi-sun6i: Fix chipselect/clock bug
  Submitter: Ralf Schlatterbeck <rsc@runtux.com>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=499971
  Lore link: https://lore.kernel.org/r/20210614144507.y3udezjfbko7eavv@runtux.com
Series: Support ROCKCHIP SPI new feature
  Submitter: Jon Lin <jon.lin@rock-chips.com>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=504289
  Lore link: https://lore.kernel.org/r/20210621104800.19088-1-jon.lin@rock-chips.com
    Patches: [v10,1/6] dt-bindings: spi: spi-rockchip: add description for rv1126
             [v10,2/6] spi: rockchip: add compatible string for rv1126
             [v10,3/6] spi: rockchip: Set rx_fifo interrupt waterline base on transfer item
             [v10,4/6] spi: rockchip: Wait for STB status in slave mode tx_xfer
             [v10,5/6] spi: rockchip: Support cs-gpio
             [v10,6/6] spi: rockchip: Support SPI_CS_HIGH

Total patches: 8

--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
@ 2021-06-03 18:40 patchwork-bot+spi-devel-general
  0 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+spi-devel-general @ 2021-06-03 18:40 UTC (permalink / raw)
  To: linux-spi, broonie

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Series: MTD: spinand: Add spi_mem_poll_status() support
  Submitter: Patrice CHOTARD <patrice.chotard@foss.st.com>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=484439
  Lore link: https://lore.kernel.org/r/20210518162754.15940-1-patrice.chotard@foss.st.com
    Patches: [v5,1/3] spi: spi-mem: add automatic poll status functions
             [v5,2/3] mtd: spinand: use the spi-mem poll status APIs
             [v5,3/3] spi: stm32-qspi: add automatic poll status feature

Total patches: 3

--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
@ 2021-05-28 16:10 patchwork-bot+spi-devel-general
  0 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+spi-devel-general @ 2021-05-28 16:10 UTC (permalink / raw)
  To: linux-spi, broonie

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Patch: [v1,1/1] spi: Enable tracing of the SPI setup CS selection
  Submitter: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=489145
  Lore link: https://lore.kernel.org/r/20210526195655.75691-1-andriy.shevchenko@linux.intel.com

Total patches: 1

--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
@ 2021-05-11 18:20 patchwork-bot+spi-devel-general
  0 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+spi-devel-general @ 2021-05-11 18:20 UTC (permalink / raw)
  To: linux-spi, broonie

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Series: spi: pxa2xx: Set of cleanups
  Submitter: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=480467
  Lore link: https://lore.kernel.org/r/20210511141725.32097-1-andriy.shevchenko@linux.intel.com
    Patches: [v3,1/8] spi: pxa2xx: Reuse int_error_stop() in pxa2xx_spi_slave_abort()
             [v3,2/8] spi: pxa2xx: Use pxa_ssp_enable()/pxa_ssp_disable() in the driver
             [v3,3/8] spi: pxa2xx: Extract pxa2xx_spi_update() helper
             [v3,4/8] spi: pxa2xx: Extract clear_SSCR1_bits() helper
             [v3,5/8] spi: pxa2xx: Extract read_SSSR_bits() helper
             [v3,6/8] spi: pxa2xx: Constify struct driver_data parameter
             [v3,7/8] spi: pxa2xx: Introduce special type for Merrifield SPIs
             [v3,8/8] spi: Convert to use predefined time multipliers
Patch: [v1,1/1] spi: Convert to use predefined time multipliers
  Submitter: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=479557
  Lore link: https://lore.kernel.org/r/20210510131120.49253-1-andriy.shevchenko@linux.intel.com

Total patches: 9

--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
@ 2021-05-11  8:29 patchwork-bot+spi-devel-general
  0 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+spi-devel-general @ 2021-05-11  8:29 UTC (permalink / raw)
  To: linux-spi, broonie

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Patch: spi: imx: Use of_device_get_match_data() helper
  Submitter: Tian Tao <tiantao6@hisilicon.com>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=452493
  Lore link: https://lore.kernel.org/r/1616385476-53327-1-git-send-email-tiantao6@hisilicon.com
Patch: dt-bindings: Clean-up undocumented compatible strings
  Submitter: Rob Herring <robh@kernel.org>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=449453
  Lore link: https://lore.kernel.org/r/20210316194918.3528417-1-robh@kernel.org

Total patches: 2

--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
@ 2021-04-21 18:40 patchwork-bot+spi-devel-general
  0 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+spi-devel-general @ 2021-04-21 18:40 UTC (permalink / raw)
  To: linux-spi, broonie

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Patch: [v1,1/1] spi: Don't overwrite num_chipselect with error code
  Submitter: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=470279
  Lore link: https://lore.kernel.org/r/20210420131901.80233-1-andriy.shevchenko@linux.intel.com
Patch: [v2,1/1] spi: Make error handling of gpiod_count() call cleaner
  Submitter: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=470387
  Lore link: https://lore.kernel.org/r/20210420164040.40055-1-andriy.shevchenko@linux.intel.com
Series: [v2,1/2] spi: Allow to have all native CSs in use along with GPIOs
  Submitter: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=470391
  Lore link: https://lore.kernel.org/r/20210420164425.40287-1-andriy.shevchenko@linux.intel.com
    Patches: [v2,1/2] spi: Allow to have all native CSs in use along with GPIOs
             [v2,2/2] spi: Avoid undefined behaviour when counting unused native CSs
Patch: spi: Make of_register_spi_device also set the fwnode
  Submitter: Charles Keepax <ckeepax@opensource.cirrus.com>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=470809
  Lore link: https://lore.kernel.org/r/20210421101402.8468-1-ckeepax@opensource.cirrus.com

Total patches: 5

--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
@ 2021-04-16 16:00 patchwork-bot+spi-devel-general
  0 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+spi-devel-general @ 2021-04-16 16:00 UTC (permalink / raw)
  To: linux-spi, broonie

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Series: spi: spi-zynqmp-gqspi: fix spi issues
  Submitter: Quanyang Wang <quanyang.wang@windriver.com>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=468631
  Lore link: https://lore.kernel.org/r/20210416142047.6349-1-quanyang.wang@windriver.com
    Patches: [V2,1/5] spi: spi-zynqmp-gqspi: fix clk_enable/disable imbalance issue
             [V2,2/5] spi: spi-zynqmp-gqspi: fix hang issue when suspend/resume
             [V2,3/5] spi: spi-zynqmp-gqspi: Resolved slab-out-of-bounds bug
             [V2,4/5] spi: spi-zynqmp-gqspi: fix use-after-free in zynqmp_qspi_exec_op
             [V2,5/5] spi: spi-zynqmp-gqspi: return -ENOMEM if dma_map_single fails

Total patches: 5

--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
@ 2021-04-12 19:01 patchwork-bot+spi-devel-general
  0 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+spi-devel-general @ 2021-04-12 19:01 UTC (permalink / raw)
  To: linux-spi, broonie

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Series: Minor updates for hisi-sfc-v3xx
  Submitter: Yicong Yang <yangyicong@hisilicon.com>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=465569
  Lore link: https://lore.kernel.org/r/1618228708-37949-1-git-send-email-yangyicong@hisilicon.com
    Patches: [v2,1/2] spi: hisi-sfc-v3xx: fix potential irq race condition
             [v2,2/2] spi: hisi-sfc-v3xx: drop unnecessary ACPI_PTR and related ifendif protection

Total patches: 2

--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
@ 2021-03-23 22:20 patchwork-bot+spi-devel-general
  0 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+spi-devel-general @ 2021-03-23 22:20 UTC (permalink / raw)
  To: linux-spi, broonie

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Patch: drivers: spi: cadence: set cqspi to the driver_data field of struct device
  Submitter: Li, Meng <Meng.Li@windriver.com>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=446063
  Lore link: https://lore.kernel.org/r/20210311091220.3615-1-Meng.Li@windriver.com

Total patches: 1

--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
@ 2021-03-04 15:10 patchwork-bot+spi-devel-general
  0 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+spi-devel-general @ 2021-03-04 15:10 UTC (permalink / raw)
  To: linux-spi, broonie

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Series: [v2,1/3] parport: Introduce module_parport_driver() helper macro
  Submitter: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=433931
  Lore link: https://lore.kernel.org/r/20210216110741.1286-1-andriy.shevchenko@linux.intel.com
    Patches: [v2,1/3] parport: Introduce module_parport_driver() helper macro
             [v2,2/3] spi: butterfly: Switch to use module_parport_driver()
             [v2,3/3] spi: lm70llp: Switch to use module_parport_driver()
Series: parport: Introduce module_parport_driver() and use it
  Submitter: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=441671
  Lore link: https://lore.kernel.org/r/20210303091642.23929-1-andriy.shevchenko@linux.intel.com
    Patches: [v3,1/3] parport: Introduce module_parport_driver() helper macro
             [v3,2/3] spi: butterfly: Switch to use module_parport_driver()
             [v3,3/3] spi: lm70llp: Switch to use module_parport_driver()

Total patches: 6

--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
@ 2021-03-04  1:00 patchwork-bot+spi-devel-general
  0 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+spi-devel-general @ 2021-03-04  1:00 UTC (permalink / raw)
  To: linux-spi, broonie

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Series: NXP Flexspi driver patches
  Submitter: Kuldeep Singh <kuldeep.singh@nxp.com>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=440599
  Lore link: https://lore.kernel.org/r/20210302124936.1972546-1-kuldeep.singh@nxp.com
    Patches: [v2,1/4] spi: spi-nxp-fspi: Add support for IP read only
             [v2,2/4] dt-bindings: spi: spi-nxp-fspi: Add imx8dxl support
             [v2,3/4] spi: spi-nxp-fspi: Add imx8dxl driver support
             [v2,4/4] spi: spi-nxp-fspi: Implement errata workaround for LS1028A

Total patches: 4

--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
@ 2021-03-01 23:54 patchwork-bot+spi-devel-general
  0 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+spi-devel-general @ 2021-03-01 23:54 UTC (permalink / raw)
  To: linux-spi, broonie

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Series: [1/3] spi: mpc52xx: Avoid using get_tbl()
  Submitter: Christophe Leroy <christophe.leroy@csgroup.eu>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=430565
  Lore link: https://lore.kernel.org/r/99bf008e2970de7f8ed3225cda69a6d06ae1a644.1612866360.git.christophe.leroy@csgroup.eu
    Patches: [1/3] spi: mpc52xx: Avoid using get_tbl()
             [2/3] powerpc/time: Avoid using get_tbl()
             [3/3] powerpc/time: Remove get_tbl()
Patch: regulator: axp20x: Fix reference cout leak
  Submitter: Pan Bian <bianpan2016@163.com>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=419445
  Lore link: https://lore.kernel.org/r/20210120123313.107640-1-bianpan2016@163.com
Patch: coresight: etm4x: Fix merge resolution for amba rework
  Submitter: Uwe Kleine-König <uwe@kleine-koenig.org>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=428749
  Lore link: https://lore.kernel.org/r/20210205130848.20009-1-uwe@kleine-koenig.org
Patch: [GIT,PULL] immutable branch for amba changes targeting v5.12-rc1
  Submitter: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=426429
  Lore link: https://lore.kernel.org/r/20210202135350.36nj3dmcoq3t7gcf@pengutronix.de
Patch: mailbox: arm_mhuv2: make remove callback return void
  Submitter: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=426527
  Lore link: https://lore.kernel.org/r/20210202194308.jm66vblqjwr5wo6v@pengutronix.de
Patch: ACPI: Test for ACPI_SUCCESS rather than !ACPI_FAILURE
  Submitter: Bjorn Helgaas <helgaas@kernel.org>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=422933
  Lore link: https://lore.kernel.org/r/20210126202317.2914080-1-helgaas@kernel.org
Patch: [v2] dt-bindings: spi: zynq: Convert Zynq QSPI binding to yaml
  Submitter: Michal Simek <michal.simek@xilinx.com>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=431341
  Lore link: https://lore.kernel.org/r/4ece21a7e9691ed1e775fd6b0b4046b1562e44bd.1612951821.git.michal.simek@xilinx.com

Total patches: 9

--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
@ 2021-02-22 16:10 patchwork-bot+spi-devel-general
  0 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+spi-devel-general @ 2021-02-22 16:10 UTC (permalink / raw)
  To: linux-spi, broonie

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Patch: [v2] spi: spi-ti-qspi: Free DMA resources
  Submitter: Tudor Ambarus <tudor.ambarus@microchip.com>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=435063
  Lore link: https://lore.kernel.org/r/20210218130950.90155-1-tudor.ambarus@microchip.com

Total patches: 1

--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
@ 2021-02-05 20:20 patchwork-bot+spi-devel-general
  0 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+spi-devel-general @ 2021-02-05 20:20 UTC (permalink / raw)
  To: linux-spi, broonie

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Series: spi: stm32: fix and enhancements for spi-stm32
  Submitter: Alain Volmat <alain.volmat@foss.st.com>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=428915
  Lore link: https://lore.kernel.org/r/1612551572-495-1-git-send-email-alain.volmat@foss.st.com
    Patches: [v2,1/8] spi: stm32: properly handle 0 byte transfer
             [v2,2/8] spi: stm32: do not mandate cs_gpio
             [v2,3/8] spi: stm32: use bitfield macros
             [v2,4/8] spi: stm32h7: ensure message are smaller than max size
             [v2,5/8] spi: stm32: driver uses reset controller only at init
             [v2,6/8] spi: stm32: defer probe for reset
             [v2,7/8] spi: stm32h7: replace private SPI_1HZ_NS with NSEC_PER_SEC
             [v2,8/8] spi: stm32: make spurious and overrun interrupts visible

Total patches: 8

--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
@ 2021-01-19 19:21 patchwork-bot+spi-devel-general
  0 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+spi-devel-general @ 2021-01-19 19:21 UTC (permalink / raw)
  To: linux-spi, broonie

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Patch: spi: imx: Don't print error on -EPROBEDEFER
  Submitter: Guido Günther <agx@sigxcpu.org>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=416929
  Lore link: https://lore.kernel.org/r/0f51ab42e7c7a3452f2f8652794d81584303ea0d.1610987414.git.agx@sigxcpu.org

Total patches: 1

--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
@ 2021-01-13 15:30 patchwork-bot+spi-devel-general
  0 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+spi-devel-general @ 2021-01-13 15:30 UTC (permalink / raw)
  To: linux-spi, broonie

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Series: spi: cadence-quadspi: Add QSPI controller support for Intel LGM SoC
  Submitter: Ramuthevar,Vadivel MuruganX <vadivel.muruganx.ramuthevar@linux.intel.com>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=389857
  Lore link: https://lore.kernel.org/r/20201124041840.31066-1-vadivel.muruganx.ramuthevar@linux.intel.com
    Patches: [v9,1/5] spi: cadence-quadspi: Add QSPI support for Intel LGM SoC
             [v9,2/5] spi: cadence-quadspi: Disable the DAC for Intel LGM SoC
             [v9,3/5] spi: cadence-quadspi: Add multi-chipselect support for Intel LGM SoC
             [v9,4/5] spi: Move cadence-quadspi.txt to Documentation/devicetree/bindings/spi
             [v9,5/5] dt-bindings: spi: cadence-qspi: Add support for Intel lgm-qspi

Total patches: 5

--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
@ 2021-01-04 17:50 patchwork-bot+spi-devel-general
  0 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+spi-devel-general @ 2021-01-04 17:50 UTC (permalink / raw)
  To: linux-spi, broonie

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Patch: [v3] spi: fix the divide by 0 error when calculating xfer waiting time
  Submitter: Xu Yilun <yilun.xu@intel.com>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=408401
  Lore link: https://lore.kernel.org/r/1609723749-3557-1-git-send-email-yilun.xu@intel.com

Total patches: 1

--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
@ 2020-12-28 16:34 patchwork-bot+spi-devel-general
  0 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+spi-devel-general @ 2020-12-28 16:34 UTC (permalink / raw)
  To: linux-spi, broonie

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Patch: [v1] Input: touchscreen: ads7846.c: fix integer overflow on Rt calculation
  Submitter: Oleksij Rempel <o.rempel@pengutronix.de>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=383551
  Lore link: https://lore.kernel.org/r/20201113112240.1360-1-o.rempel@pengutronix.de
Series: [v6,1/3] spi: uapi: unify SPI modes into a single spi.h header
  Submitter: Alexandru Ardelean <alexandru.ardelean@analog.com>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=404879
  Lore link: https://lore.kernel.org/r/20201221152936.53873-1-alexandru.ardelean@analog.com
    Patches: [v6,1/3] spi: uapi: unify SPI modes into a single spi.h header
             [v6,2/3] spi: Add SPI_NO_TX/RX support
             [v6,3/3] spi: dt-bindings: document zero value for spi-{rx,tx}-bus-width properties

Total patches: 4

--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
@ 2020-12-18 18:30 patchwork-bot+spi-devel-general
  0 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+spi-devel-general @ 2020-12-18 18:30 UTC (permalink / raw)
  To: linux-spi, broonie

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Series: [v3,1/4] spi: spi-geni-qcom: Fix geni_spi_isr() NULL dereference in timeout case
  Submitter: Douglas Anderson <dianders@chromium.org>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=403853
  Lore link: https://lore.kernel.org/r/20201217142842.v3.1.I99ee04f0cb823415df59bd4f550d6ff5756e43d6@changeid
    Patches: [v3,1/4] spi: spi-geni-qcom: Fix geni_spi_isr() NULL dereference in timeout case
             [v3,2/4] spi: spi-geni-qcom: Fail new xfers if xfer/cancel/abort pending
             [v3,3/4] spi: spi-geni-qcom: Don't try to set CS if an xfer is pending
             [v3,4/4] spi: spi-geni-qcom: Print an error when we timeout setting the CS

Total patches: 4

--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
@ 2020-12-11 17:53 patchwork-bot+spi-devel-general
  0 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+spi-devel-general @ 2020-12-11 17:53 UTC (permalink / raw)
  To: linux-spi, broonie

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Patch: spi: spi-geni-qcom: Use the new method of gpio CS control
  Submitter: Stephen Boyd <swboyd@chromium.org>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=394995
  Lore link: https://lore.kernel.org/r/20201202214935.1114381-1-swboyd@chromium.org
Series: spi: spi-geni-qcom: Use gpio descriptors for CS
  Submitter: Stephen Boyd <swboyd@chromium.org>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=396589
  Lore link: https://lore.kernel.org/r/20201204193540.3047030-1-swboyd@chromium.org
    Patches: [1/3] platform/chrome: cros_ec_spi: Don't overwrite spi::mode
             [2/3] platform/chrome: cros_ec_spi: Drop bits_per_word assignment
             [3/3] spi: spi-geni-qcom: Use the new method of gpio CS control

Total patches: 4

--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
@ 2020-12-09 15:20 patchwork-bot+spi-devel-general
  0 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+spi-devel-general @ 2020-12-09 15:20 UTC (permalink / raw)
  To: linux-spi, broonie

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Series: DW apb_ssi V4 support for Kendryte K210 RISC-V SoC
  Submitter: Damien Le Moal <damien.lemoal@wdc.com>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=396943
  Lore link: https://lore.kernel.org/r/20201206011817.11700-1-damien.lemoal@wdc.com
    Patches: [v3,1/3] dt-bindings: spi: dw-apb-ssi: Add Canaan K210 SPI controller
             [v3,2/3] spi: dw: Add support for 32-bits max xfer size
             [v3,3/3] spi: dw: Add support for the Canaan K210 SoC SPI

Total patches: 3

--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
@ 2020-12-07 17:30 patchwork-bot+spi-devel-general
  0 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+spi-devel-general @ 2020-12-07 17:30 UTC (permalink / raw)
  To: linux-spi, broonie

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Patch: [for-5.10] spi: gpio: Don't leak SPI master in probe error path
  Submitter: Lukas Wunner <lukas@wunner.de>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=384811
  Lore link: https://lore.kernel.org/r/49102f5bbb3f1592d9cfd7b39ac5e131a031f950.1605512876.git.lukas@wunner.de
Series: SPI probe/remove sanitization for 5.11
  Submitter: Lukas Wunner <lukas@wunner.de>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=397369
  Lore link: https://lore.kernel.org/r/cover.1607286887.git.lukas@wunner.de
    Patches: [01/17] spi: davinci: Fix use-after-free on unbind
             [02/17] spi: spi-geni-qcom: Fix use-after-free on unbind
             [03/17] spi: spi-qcom-qspi: Fix use-after-free on unbind
             [04/17] spi: spi-sh: Fix use-after-free on unbind
             [05/17] spi: pxa2xx: Fix use-after-free on unbind
             [06/17] spi: rpc-if: Fix use-after-free on unbind
             [07/17] spi: mxic: Don't leak SPI master in probe error path
             [08/17] spi: spi-mtk-nor: Don't leak SPI master in probe error path
             [09/17] spi: gpio: Don't leak SPI master in probe error path
             [10/17] spi: rb4xx: Don't leak SPI master in probe error path
             [11/17] spi: sc18is602: Don't leak SPI master in probe error path
             [12/17] media: netup_unidvb: Don't leak SPI master in probe error path
             [13/17] spi: mt7621: Disable clock in probe error path
             [14/17] spi: mt7621: Don't leak SPI master in probe error path
             [15/17] spi: ar934x: Don't leak SPI master in probe error path
             [16/17] spi: npcm-fiu: Disable clock in probe error path
             [17/17] spi: atmel-quadspi: Fix use-after-free on unbind
Patch: [for-5.10] spi: spi-sh: Fix use-after-free on unbind
  Submitter: Lukas Wunner <lukas@wunner.de>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=384789
  Lore link: https://lore.kernel.org/r/0aeb0e948baf98ae69b69bae135cb31abe5a9181.1605512876.git.lukas@wunner.de
Patch: [for-5.10] spi: spi-geni-qcom: Fix use-after-free on unbind
  Submitter: Lukas Wunner <lukas@wunner.de>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=384765
  Lore link: https://lore.kernel.org/r/73adc6ba84a4f968f2e1499a776e5c928fbdde56.1605512876.git.lukas@wunner.de
Patch: [for-5.10] media: netup_unidvb: Don't leak SPI master in probe error path
  Submitter: Lukas Wunner <lukas@wunner.de>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=384825
  Lore link: https://lore.kernel.org/r/48e6a396526bcd0a26e970036dbe3207cce57ea6.1605512876.git.lukas@wunner.de
Patch: [for-5.10] spi: rb4xx: Don't leak SPI master in probe error path
  Submitter: Lukas Wunner <lukas@wunner.de>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=384821
  Lore link: https://lore.kernel.org/r/7ea28322f0295201ecd93253600b613fdc588d17.1605512876.git.lukas@wunner.de
Patch: [for-5.10] spi: spi-qcom-qspi: Fix use-after-free on unbind
  Submitter: Lukas Wunner <lukas@wunner.de>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=384781
  Lore link: https://lore.kernel.org/r/76a3e9a52fdb5ff60d992c6cc2e64f29d3d3ea8b.1605512876.git.lukas@wunner.de
Patch: [for-5.10] spi: spi-mtk-nor: Don't leak SPI master in probe error path
  Submitter: Lukas Wunner <lukas@wunner.de>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=384809
  Lore link: https://lore.kernel.org/r/a203c24658b7d70ddb27bf1f9898fe6f896fead5.1605512876.git.lukas@wunner.de
Patch: spi: davinci: Fix use-after-free on unbind
  Submitter: Lukas Wunner <lukas@wunner.de>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=379895
  Lore link: https://lore.kernel.org/r/dd060534490eca5e946eb9165916542b01a9358d.1604874488.git.lukas@wunner.de
Patch: [for-5.10] spi: mxic: Don't leak SPI master in probe error path
  Submitter: Lukas Wunner <lukas@wunner.de>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=384803
  Lore link: https://lore.kernel.org/r/4a7efc3865aace7d28ddb74776ee05695be80bd4.1605512876.git.lukas@wunner.de
Patch: [for-5.10] spi: sc18is602: Don't leak SPI master in probe error path
  Submitter: Lukas Wunner <lukas@wunner.de>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=384823
  Lore link: https://lore.kernel.org/r/43babe4e6cd4a433dcdcf99aaabaa1a02ff44acd.1605512876.git.lukas@wunner.de
Patch: [for-5.10] spi: rpc-if: Fix use-after-free on unbind
  Submitter: Lukas Wunner <lukas@wunner.de>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=384801
  Lore link: https://lore.kernel.org/r/bf610a9fc88376e2cdf661c4ad0bb275ee5f4f20.1605512876.git.lukas@wunner.de
Patch: [for-5.10] spi: pxa2xx: Fix use-after-free on unbind
  Submitter: Lukas Wunner <lukas@wunner.de>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=384797
  Lore link: https://lore.kernel.org/r/b43ec730d0991482d5c22cb0b63c68f2e04d5445.1605512876.git.lukas@wunner.de

Total patches: 29

--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
@ 2020-12-02 17:30 patchwork-bot+spi-devel-general
  0 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+spi-devel-general @ 2020-12-02 17:30 UTC (permalink / raw)
  To: linux-spi, broonie

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Patch: spi: spi-fsl-dspi: Use max_native_cs instead of num_chipselect to set SPI_MCR
  Submitter: Maxim Kochetkov <fido_max@inbox.ru>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=394731
  Lore link: https://lore.kernel.org/r/20201202142552.44385-1-fido_max@inbox.ru

Total patches: 1

--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
@ 2020-11-20 21:30 patchwork-bot+spi-devel-general
  0 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+spi-devel-general @ 2020-11-20 21:30 UTC (permalink / raw)
  To: linux-spi, broonie

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Series: [v2,1/3] spi: fix resource leak for drivers without .remove callback
  Submitter: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=387693
  Lore link: https://lore.kernel.org/r/20201119161604.2633521-1-u.kleine-koenig@pengutronix.de
    Patches: [v2,1/3] spi: fix resource leak for drivers without .remove callback
             [v2,2/3] spi: Use bus_type functions for probe, remove and shutdown
             [v2,3/3] spi: Warn when a driver's remove callback returns an error

Total patches: 3

--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
@ 2020-11-04 20:50 patchwork-bot+spi-devel-general
  0 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+spi-devel-general @ 2020-11-04 20:50 UTC (permalink / raw)
  To: linux-spi, broonie

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Patch: spi: fsl-dspi: fix NULL pointer dereference
  Submitter: Qiang Zhao <qiang.zhao@nxp.com>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=372907
  Lore link: https://lore.kernel.org/r/20201029084035.19604-1-qiang.zhao@nxp.com
Patch: [v2] spi: fsl-dspi: fix wrong pointer in suspend/resume
  Submitter: Qiang Zhao <qiang.zhao@nxp.com>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=375995
  Lore link: https://lore.kernel.org/r/20201103020546.1822-1-qiang.zhao@nxp.com

Total patches: 2

--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
@ 2020-10-27  0:07 patchwork-bot+spi-devel-general
  0 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+spi-devel-general @ 2020-10-27  0:07 UTC (permalink / raw)
  To: linux-spi, broonie

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Patch: [v2] spi: spi-sun6i: enable autosuspend feature
  Submitter: Alexander Kochetkov <al.kochet@gmail.com>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=366799
  Lore link: https://lore.kernel.org/r/20201019150343.2520-1-akochetkov@lintech.ru
Patch: spi: atmel: remove unnecessary include
  Submitter: Alexandre Belloni <alexandre.belloni@bootlin.com>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=357851
  Lore link: https://lore.kernel.org/r/20200930145353.3043699-1-alexandre.belloni@bootlin.com
Patch: char: ipmi: convert tasklets to use new tasklet_setup() API
  Submitter: Allen Pais <allen.cryptic@gmail.com>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=333475
  Lore link: https://lore.kernel.org/r/20200817091617.28119-3-allen.cryptic@gmail.com
Patch: [v2] serial: max310x: rework RX interrupt handling
  Submitter: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=358205
  Lore link: https://lore.kernel.org/r/20201001074415.349739-1-thomas.petazzoni@bootlin.com

Total patches: 4

--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
@ 2020-10-06 15:30 patchwork-bot+spi-devel-general
  0 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+spi-devel-general @ 2020-10-06 15:30 UTC (permalink / raw)
  To: linux-spi, broonie

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Series: spi: spi-mtk-nor: Add mt8192 support.
  Submitter: Ikjoon Jang <ikjn@chromium.org>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=360161
  Lore link: https://lore.kernel.org/r/20201006075405.11658-1-ikjn@chromium.org
    Patches: [v5,1/4] dt-bindings: spi: add mt8192-nor compatible string
             [v5,2/4] spi: spi-mtk-nor: use dma_alloc_coherent() for bounce buffer
             [v5,3/4] spi: spi-mtk-nor: support 36bit dma addressing
             [v5,4/4] spi: spi-mtk-nor: Add power management support

Total patches: 4

--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
@ 2020-10-02 21:00 patchwork-bot+spi-devel-general
  0 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+spi-devel-general @ 2020-10-02 21:00 UTC (permalink / raw)
  To: linux-spi, broonie

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Series: [v2,RESEND,1/9] spi: spi-s3c64xx: swap s3c64xx_spi_set_cs() and s3c64xx_enable_datapath()
  Submitter: Łukasz Stelmach <l.stelmach@samsung.com>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=358407
  Lore link: https://lore.kernel.org/r/20201001152148.29747-2-l.stelmach@samsung.com
    Patches: [v2,RESEND,1/9] spi: spi-s3c64xx: swap s3c64xx_spi_set_cs() and s3c64xx_enable_datapath()
             [v2,RESEND,2/9] spi: spi-s3s64xx: Add S3C64XX_SPI_QUIRK_CS_AUTO for Exynos3250
             [v2,RESEND,3/9] spi: spi-s3c64xx: Check return values
             [v2,RESEND,4/9] spi: spi-s3c64xx: Report more information when errors occur
             [v2,RESEND,5/9] spi: spi-s3c64xx: Rename S3C64XX_SPI_SLAVE_* to S3C64XX_SPI_CS_*
             [v2,RESEND,6/9] spi: spi-s3c64xx: Fix doc comment for struct s3c64xx_spi_driver_data
             [v2,RESEND,7/9] spi: spi-s3c64xx: Ensure cur_speed holds actual clock value
             [v2,RESEND,8/9] spi: spi-s3c64xx: Increase transfer timeout
             [v2,RESEND,9/9] spi: spi-s3c64xx: Turn on interrupts upon resume
Series: Some fixes for spi-s3c64xx
  Submitter: Łukasz Stelmach <l.stelmach@samsung.com>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=358785
  Lore link: https://lore.kernel.org/r/20201002122243.26849-1-l.stelmach@samsung.com
    Patches: [v3,1/9] spi: spi-s3c64xx: swap s3c64xx_spi_set_cs() and s3c64xx_enable_datapath()
             [v3,2/9] spi: spi-s3s64xx: Add S3C64XX_SPI_QUIRK_CS_AUTO for Exynos3250
             [v3,3/9] spi: spi-s3c64xx: Check return values
             [v3,4/9] spi: spi-s3c64xx: Report more information when errors occur
             [v3,5/9] spi: spi-s3c64xx: Rename S3C64XX_SPI_SLAVE_* to S3C64XX_SPI_CS_*
             [v3,6/9] spi: spi-s3c64xx: Fix doc comment for struct s3c64xx_spi_driver_data
             [v3,7/9] spi: spi-s3c64xx: Ensure cur_speed holds actual clock value
             [v3,8/9] spi: spi-s3c64xx: Increase transfer timeout
             [v3,9/9] spi: spi-s3c64xx: Turn on interrupts upon resume

Total patches: 18

--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
@ 2020-09-29 16:30 patchwork-bot+spi-devel-general
  0 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+spi-devel-general @ 2020-09-29 16:30 UTC (permalink / raw)
  To: linux-spi, broonie

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Series: spi: dw-dma: Add max SG entries burst capability support
  Submitter: Serge Semin <Sergey.Semin@baikalelectronics.ru>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=352151
  Lore link: https://lore.kernel.org/r/20200920112322.24585-1-Sergey.Semin@baikalelectronics.ru
    Patches: [v2,01/11] spi: dw-dma: Set DMA Level registers on init
             [v2,02/11] spi: dw-dma: Fail DMA-based transfer if no Tx-buffer specified
             [v2,03/11] spi: dw-dma: Configure the DMA channels in dma_setup
             [v2,04/11] spi: dw-dma: Check rx_buf availability in the xfer method
             [v2,05/11] spi: dw-dma: Move DMA transfers submission to the channels prep methods
             [v2,06/11] spi: dw-dma: Check DMA Tx-desc submission status
             [v2,07/11] spi: dw-dma: Remove DMA Tx-desc passing around
             [v2,08/11] spi: dw-dma: Detach DMA transfer into a dedicated method
             [v2,09/11] spi: dw-dma: Move DMAC register cleanup to DMA transfer method
             [v2,10/11] spi: dw-dma: Pass exact data to the DMA submit and wait methods
             [v2,11/11] spi: dw-dma: Add one-by-one SG list entries transfer

Total patches: 11

--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
@ 2020-09-17 19:00 patchwork-bot+linux-spi
  0 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+linux-spi @ 2020-09-17 19:00 UTC (permalink / raw)
  To: linux-spi, broonie

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Series: spi: Fixes for FSI-attached controller
  Submitter: Eddie James <eajames@linux.ibm.com>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=346185
  Link: <20200909222857.28653-1-eajames@linux.ibm.com>
    Patches: [v2,1/6] spi: fsi: Handle 9 to 15 byte transfers lengths
             [v2,2/6] spi: fsi: Fix clock running too fast
             [v2,3/6] spi: fsi: Fix use of the bneq+ sequencer instruction
             [v2,4/6] dt-bindings: fsi: fsi2spi: Add compatible string for restricted version
             [v2,5/6] spi: fsi: Implement restricted size for certain controllers
             [v2,6/6] spi: fsi: Check mux status before transfers

Total patches: 6

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/pwbot

^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
@ 2020-09-17 14:00 patchwork-bot+linux-spi
  0 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+linux-spi @ 2020-09-17 14:00 UTC (permalink / raw)
  To: linux-spi, broonie

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Patch: spi: bcm2835: mark polling_limit_us as static
  Submitter: Marc Kleine-Budde <mkl@pengutronix.de>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=349449
  Link: <20200915132311.1112865-1-mkl@pengutronix.de>

Total patches: 1

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/pwbot

^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
@ 2020-09-14 15:00 patchwork-bot+linux-spi
  0 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+linux-spi @ 2020-09-14 15:00 UTC (permalink / raw)
  To: linux-spi, broonie

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Series: qspi binding and DTS fixes
  Submitter: Florian Fainelli <f.fainelli@gmail.com>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=339751
  Link: <20200827181842.1000451-1-f.fainelli@gmail.com>
    Patches: [1/5] dt-bindings: spi: Fix spi-bcm-qspi compatible ordering
             [2/5] ARM: dts: bcm: HR2: Fixed QSPI compatible string
             [3/5] ARM: dts: NSP: Fixed QSPI compatible string
             [4/5] ARM: dts: BCM5301X: Fixed QSPI compatible string
             [5/5] arm64: dts: ns2: Fixed QSPI compatible string

Patch: [REBASE] spi: sprd: Simplify with dev_err_probe()
  Submitter: Krzysztof Kozlowski <krzk@kernel.org>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=346757
  Link: <20200910160706.5883-1-krzk@kernel.org>

Total patches: 6

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/pwbot

^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
@ 2020-09-09 14:20 patchwork-bot+linux-spi
  0 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+linux-spi @ 2020-09-09 14:20 UTC (permalink / raw)
  To: linux-spi, broonie

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Patch: [v3] spi: Fix memory leak on splited transfers
  Submitter: Gustav Wiklander <gustav.wiklander@axis.com>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=345505
  Link: <20200908151129.15915-1-gustav.wiklander@axis.com>

Total patches: 1

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/pwbot

^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
@ 2020-09-08 14:40 patchwork-bot+linux-spi
  0 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+linux-spi @ 2020-09-08 14:40 UTC (permalink / raw)
  To: linux-spi, broonie

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Patch: [v2] spi: spi-cadence-quadspi: Fix mapping of buffers for DMA reads
  Submitter: Vignesh Raghavendra <vigneshr@ti.com>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=341031
  Link: <20200831130720.4524-1-vigneshr@ti.com>

Total patches: 1

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/pwbot

^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
@ 2020-08-20 22:03 patchwork-bot+linux-spi
  0 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+linux-spi @ 2020-08-20 22:03 UTC (permalink / raw)
  To: linux-spi, broonie

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Series: spi: rspi: Bit rate improvements
  Submitter: Geert Uytterhoeven <geert+renesas@glider.be>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=335257
  Link: <20200819125904.20938-1-geert+renesas@glider.be>
    Patches: [v2,1/7] spi: rspi: Remove useless .set_config_register() check
             [v2,2/7] spi: rspi: Clean up Bit Rate Division Setting handling
             [v2,3/7] spi: rspi: Increase bit rate accuracy on RZ/A
             [v2,4/7] spi: rspi: Increase bit rate range for RSPI on SH
             [v2,5/7] spi: rspi: Increase bit rate range for QSPI
             [v2,6/7] spi: rspi: Fill in spi_transfer.effective_speed_hz
             [v2,7/7] spi: rspi: Fill in controller speed limits

Total patches: 7

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/pwbot

^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
@ 2020-08-17 12:27 patchwork-bot+linux-spi
  0 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+linux-spi @ 2020-08-17 12:27 UTC (permalink / raw)
  To: linux-spi, broonie

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Patch: [v2] spi: lantiq-ssc: Fix warning by using WQ_MEM_RECLAIM
  Submitter: Hauke Mehrtens <hauke@hauke-m.de>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=320387
  Link: <20200717215648.20522-1-hauke@hauke-m.de>

Series: QSPI: Add DVFS support
  Submitter: Rajendra Nayak <rnayak@codeaurora.org>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=312471
  Link: <1593769293-6354-1-git-send-email-rnayak@codeaurora.org>
    Patches: [1/3] spi: spi-qcom-qspi: Use OPP API to set clk/perf state
             [2/3] arm64: dts: sdm845: Add qspi opps and power-domains
             [3/3] arm64: dts: sc7180: Add qspi opps and power-domains

Series: spi: spi-qcom-qspi: Avoid some per-transfer overhead
  Submitter: Doug Anderson <dianders@chromium.org>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=315735
  Link: <20200709145145.4055619-1-dianders@chromium.org>
    Patches: [v2,1/2] spi: spi-qcom-qspi: Avoid clock setting if not needed
             [v2,2/2] spi: spi-qcom-qspi: Set an autosuspend delay of 250 ms

Total patches: 6

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/pwbot

^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
@ 2020-07-29 14:00 patchwork-bot+linux-spi
  0 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+linux-spi @ 2020-07-29 14:00 UTC (permalink / raw)
  To: linux-spi, broonie

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Series: Some bug fix for lpspi
  Submitter: Clark Wang <xiaoning.wang@nxp.com>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=324497
  Link: <20200727031448.31661-1-xiaoning.wang@nxp.com>
    Patches: [V2,1/4] spi: lpspi: Fix kernel warning dump when probe fail after calling spi_register
             [V2,2/4] spi: lpspi: remove unused fsl_lpspi->chipselect
             [V2,3/4] spi: lpspi: fix using CS discontinuously on i.MX8DXLEVK
             [V2,4/4] dt-bindings: lpspi: New property in document DT bindings for LPSPI

Total patches: 4

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/pwbot

^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
@ 2020-07-28 16:40 patchwork-bot+linux-spi
  0 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+linux-spi @ 2020-07-28 16:40 UTC (permalink / raw)
  To: linux-spi, broonie

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Patch: [v3] spi: spi-topcliff-pch: drop call to wakeup-disable
  Submitter: Vaibhav Gupta <vaibhavgupta40@gmail.com>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=324891
  Link: <20200727172936.661567-1-vaibhavgupta40@gmail.com>

Series: [v3,1/3] spi: rockchip: Config spi rx dma burst size depend on xfer length
  Submitter: Jon Lin <jon.lin@rock-chips.com>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=322881
  Link: <20200723004356.6390-1-jon.lin@rock-chips.com>
    Patches: [v3,1/3] spi: rockchip: Config spi rx dma burst size depend on xfer length
             [v3,2/3] spi: rockchip: Support 64-location deep FIFOs
             [v3,3/3] spi: rockchip: Fix error in SPI slave pio read

Total patches: 4

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/pwbot

^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
@ 2020-07-27 14:00 patchwork-bot+linux-spi
  0 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+linux-spi @ 2020-07-27 14:00 UTC (permalink / raw)
  To: linux-spi, broonie

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Patch: MAINTAINERS: Change Maintainer for some at91 drivers
  Submitter: Nicolas Ferre <nicolas.ferre@microchip.com>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=311909
  Link: <20200702134224.3750-1-nicolas.ferre@microchip.com>

Total patches: 1

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/pwbot

^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
@ 2020-07-22 11:20 patchwork-bot+linux-spi
  0 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+linux-spi @ 2020-07-22 11:20 UTC (permalink / raw)
  To: linux-spi, broonie

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Patch: spi: spi-cadence: add support for chip select high
  Submitter: Shreyas Joshi <shreyas.joshi@biamp.com>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=321593
  Link: <20200721000850.370-1-shreyas.joshi@biamp.com>

Series: [v2,1/8] spi: lantiq: fix: Rx overflow error in full duplex mode
  Submitter: Dilip Kota <eswara.kota@linux.intel.com>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=319857
  Link: <efb650b0faa49a00788c4e0ca8ef7196bdba851d.1594957019.git.eswara.kota@linux.intel.com>
    Patches: [v2,1/8] spi: lantiq: fix: Rx overflow error in full duplex mode
             [v2,2/8] spi: lantiq: Add SMP support
             [v2,3/8] spi: lantiq: Move interrupt control register offesets to SoC specific data structure
             [v2,4/8] spi: lantiq: Add support to acknowledge interrupt
             [v2,5/8] spi: lantiq: Add fifo size bit mask in SoC specific data structure
             [v2,6/8] spi: lantiq: Move interrupt configuration to SoC specific data structure
             [v2,7/8] dt-bindings: spi: Add support to Lightning Mountain SoC
             [v2,8/8] spi: lantiq: Add support to Lightning Mountain SoC

Total patches: 9

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/pwbot

^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
@ 2020-07-20 11:20 patchwork-bot+linux-spi
  0 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+linux-spi @ 2020-07-20 11:20 UTC (permalink / raw)
  To: linux-spi, broonie

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Series: Rid W=1 warnings in SPI
  Submitter: Lee Jones <lee.jones@linaro.org>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=320171
  Link: <20200717135424.2442271-1-lee.jones@linaro.org>
    Patches: [v2,01/14] spi: spi-loopback-test: Fix formatting issues in function header blocks
             [v2,02/14] spi: spi-bitbang: Demote obvious misuse of kerneldoc to standard comment blocks
             [v2,03/14] spi: spi-davinci: Fix a few kerneldoc misspellings and API slippages
             [v2,04/14] spi: spi-ep93xx: Fix API slippage
             [v2,05/14] spi: spi-meson-spifc: Fix misdocumenting of 'dev' in 'struct meson_spifc'
             [v2,06/14] spi: spi-meson-spicc: Remove set but never used variable 'data' from meson_spicc_reset_fifo()
             [v2,07/14] spi: spi-s3c64xx: Add missing entries for structs 's3c64xx_spi_dma_data' and 's3c64xx_spi_dma_data'
             [v2,08/14] spi: spi-pl022: Provide missing struct attribute/function param docs
             [v2,09/14] spi: spi-zynq-qspi: Add description for 2 missing attributes/parameters
             [v2,10/14] spi: spi-zynqmp-gqspi: Correct a couple of misspellings in kerneldoc
             [v2,11/14] spi: spi-topcliff-pch: Add missing descriptions to 'struct pch_spi_data'
             [v2,12/14] spi: spi-at91-usart: Remove unused OF table 'struct of_device_id'
             [v2,13/14] spi: spi-pxa2xx: Do not define 'struct acpi_device_id' when !CONFIG_ACPI
             [v2,14/14] spi: spi-amd: Do not define 'struct acpi_device_id' when !CONFIG_ACPI

Total patches: 14

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/pwbot

^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
@ 2020-06-23 11:00 patchwork-bot+linux-spi
  0 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+linux-spi @ 2020-06-23 11:00 UTC (permalink / raw)
  To: linux-spi, broonie

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Series: Some small spi geni cleanups
  Submitter: Stephen Boyd <swboyd@chromium.org>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=305923
  Link: <20200620022233.64716-1-swboyd@chromium.org>
    Patches: [v1,1/2] spi: spi-geni-qcom: Simplify setup_fifo_xfer()
             [v1,2/2] spi: spi-geni-qcom: Don't set {tx,rx}_rem_bytes unnecessarily

Total patches: 2

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/pwbot

^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
@ 2020-06-22 15:00 patchwork-bot+linux-spi
  0 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+linux-spi @ 2020-06-22 15:00 UTC (permalink / raw)
  To: linux-spi, broonie

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Series: [v4,1/4] spi: spi-fsl-dspi: Fix lockup if device is removed during SPI transfer
  Submitter: Krzysztof Kozlowski <krzk@kernel.org>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=306461
  Link: <20200622110543.5035-1-krzk@kernel.org>
    Patches: [v4,1/4] spi: spi-fsl-dspi: Fix lockup if device is removed during SPI transfer
             [v4,2/4] spi: spi-fsl-dspi: Fix lockup if device is shutdown during SPI transfer
             [v4,3/4] spi: spi-fsl-dspi: Fix external abort on interrupt in resume or exit paths
             [v4,4/4] spi: spi-fsl-dspi: Initialize completion before possible interrupt

Total patches: 4

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/pwbot

^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
@ 2020-06-19 13:00 patchwork-bot+linux-spi
  0 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+linux-spi @ 2020-06-19 13:00 UTC (permalink / raw)
  To: linux-spi, broonie

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Series: add regmap & indirect access support
  Submitter: Xu Yilun <yilun.xu@intel.com>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=305301
  Link: <1592531021-11412-1-git-send-email-yilun.xu@intel.com>
    Patches: [RESEND,v2,1/3] spi: altera: use regmap-mmio instead of direct mmio register access
             [RESEND,v2,2/3] spi: altera: support indirect access to the registers
             [RESEND,v2,3/3] spi: altera: fix size mismatch on 64 bit processors

Total patches: 3

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/pwbot

^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
@ 2020-06-15 23:40 patchwork-bot+linux-spi
  0 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+linux-spi @ 2020-06-15 23:40 UTC (permalink / raw)
  To: linux-spi, broonie

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Patch: [v4] spi: add Renesas RPC-IF driver
  Submitter: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=302223
  Link: <1ece0e6c-71af-f0f1-709e-571f4b0b4853@cogentembedded.com>

Total patches: 1

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/pwbot

^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
@ 2020-06-15 15:29 patchwork-bot+linux-spi
  0 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+linux-spi @ 2020-06-15 15:29 UTC (permalink / raw)
  To: linux-spi, broonie

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Series: [1/5] spi: dt-bindings: sifive: Add missing 2nd register region
  Submitter: Rob Herring <robh@kernel.org>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=286695
  Link: <20200512204543.22090-1-robh@kernel.org>
    Patches: [1/5] spi: dt-bindings: sifive: Add missing 2nd register region
             [2/5] dt-bindings: usb: ehci: Add missing 2nd register region
             [3/5] dt-bindings: ufs: ti: Fix address properties handling
             [4/5] dt-bindings: ufs: ti: Add missing 'additionalProperties: false'
             [5/5] dt-bindings: Fix incorrect 'reg' property sizes

Total patches: 5

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/pwbot

^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
@ 2020-06-11 15:40 patchwork-bot+linux-spi
  0 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+linux-spi @ 2020-06-11 15:40 UTC (permalink / raw)
  To: linux-spi, broonie

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Series: [v2,1/2] spi: tools: Make default_tx/rx and input_tx static
  Submitter: Qing Zhang <zhangqing@loongson.cn>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=301299
  Link: <1591880212-13479-1-git-send-email-zhangqing@loongson.cn>
    Patches: [v2,1/2] spi: tools: Make default_tx/rx and input_tx static
             [v2,2/2] spi: tools: Add macro definitions to fix build errors

Total patches: 2

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/pwbot

^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
@ 2020-05-29 17:00 patchwork-bot+linux-spi
  0 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+linux-spi @ 2020-05-29 17:00 UTC (permalink / raw)
  To: linux-spi, broonie

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Series: [PATCHv4,1/2] spi: dw: add reset control
  Submitter: Dinh Nguyen <dinguyen@kernel.org>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=295785
  Link: <20200529155806.16758-1-dinguyen@kernel.org>
    Patches: [PATCHv4,1/2] spi: dw: add reset control
             [PATCHv4,2/2] dt-bindings: snps,dw-apb-ssi: add optional reset property

Total patches: 2

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/pwbot

^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
@ 2020-04-22 13:20 patchwork-bot+linux-spi
  0 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+linux-spi @ 2020-04-22 13:20 UTC (permalink / raw)
  To: linux-spi, broonie

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Patch: [-next] spi: spi-fsl-qspi: Fix return value check in fsl_qspi_probe()
  Submitter: Wei Yongjun <weiyongjun1@huawei.com>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=274645
  Link: <20200421093908.48213-1-weiyongjun1@huawei.com>

Patch: [-next,v2] spi: spi-fsl-qspi: Fix return value check of devm_ioremap() in probe
  Submitter: Wei Yongjun <weiyongjun1@huawei.com>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=275061
  Link: <20200422014543.111070-1-weiyongjun1@huawei.com>

Total patches: 2

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/pwbot

^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
@ 2020-04-21 15:20 patchwork-bot+linux-spi
  0 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+linux-spi @ 2020-04-21 15:20 UTC (permalink / raw)
  To: linux-spi, broonie

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Patch: dt-bindings: Fix dtc warnings on reg and ranges in examples
  Submitter: Rob Herring <robh@kernel.org>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=268931
  Link: <20200409202458.24509-1-robh@kernel.org>

Total patches: 1

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/pwbot

^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
@ 2020-04-14 12:06 patchwork-bot+linux-spi
  0 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+linux-spi @ 2020-04-14 12:06 UTC (permalink / raw)
  To: linux-spi, broonie

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Patch: spi: pxa2xx: Enable support for compile-testing
  Submitter: Geert Uytterhoeven <geert@linux-m68k.org>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=238989
  Link: <20200210093027.6672-1-geert@linux-m68k.org>

Series: arm64: dts: sun50i: H6: Enable SPI controller
  Submitter: André Przywara <andre.przywara@arm.com>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=229579
  Link: <20200116231148.1490-1-andre.przywara@arm.com>
    Patches: [v3,1/3] arm64: dts: sun50i: H6: Add SPI controllers nodes and pinmuxes
             [v3,2/3] arm64: dts: allwinner: h6: Pine H64: Add SPI flash node
             [v3,3/3] dt-bindings: spi: sunxi: Document new compatible strings

Total patches: 4

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/pwbot

^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
  2020-03-06  8:50 [PATCH v3 0/2] spi: dt-bindings: spi-controller: Slave mode fixes Geert Uytterhoeven
@ 2020-03-13 17:20 ` patchwork-bot+linux-spi-DgEjT+Ai2ygdnm+yROfE0A
  0 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+linux-spi-DgEjT+Ai2ygdnm+yROfE0A @ 2020-03-13 17:20 UTC (permalink / raw)
  To: linux-spi-u79uwXL29TY76Z2rM5mHXA, broonie-DgEjT+Ai2ygdnm+yROfE0A

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Series: spi: dt-bindings: spi-controller: Slave mode fixes
  Submitter: Geert Uytterhoeven <geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=252285
    Patches: [v3,1/2] spi: dt-bindings: spi-controller: Fix #address-cells for slave mode
             [v3,2/2] spi: dt-bindings: spi-controller: Fix spi-[rt]x-bus-width for slave mode

Total patches: 2

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/pwbot

^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
  2020-02-23  8:59 [PATCH] docs: dt: fix several broken doc references Mauro Carvalho Chehab
@ 2020-03-10 14:40 ` patchwork-bot+linux-spi-DgEjT+Ai2ygdnm+yROfE0A
  0 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+linux-spi-DgEjT+Ai2ygdnm+yROfE0A @ 2020-03-10 14:40 UTC (permalink / raw)
  To: linux-spi-u79uwXL29TY76Z2rM5mHXA, broonie-DgEjT+Ai2ygdnm+yROfE0A

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Patch: docs: dt: fix several broken doc references
  Submitter: Mauro Carvalho Chehab <mchehab+huawei-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=245937

Total patches: 1

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/pwbot

^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
  2020-02-11 22:34 ` (unknown) Rajat Jain
@ 2020-02-26 19:00   ` patchwork-bot+linux-spi-DgEjT+Ai2ygdnm+yROfE0A
  0 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+linux-spi-DgEjT+Ai2ygdnm+yROfE0A @ 2020-02-26 19:00 UTC (permalink / raw)
  To: linux-spi-u79uwXL29TY76Z2rM5mHXA, broonie-DgEjT+Ai2ygdnm+yROfE0A

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Patch: spi: pxa2xx: Add CS control clock quirk
  Submitter: Rajat Jain <rajatja-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=240023

Patch: 
  Submitter: Rajat Jain <rajatja-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=240019

Total patches: 2

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/pwbot

^ permalink raw reply	[flat|nested] 66+ messages in thread

* Patchwork summary for: spi-devel-general
  2019-11-28 12:16 ` [PATCH] powerpc/devicetrees: Change 'gpios' to 'cs-gpios' on fsl,spi nodes Christophe Leroy
@ 2020-02-10 14:25   ` patchwork-bot+linux-spi-DgEjT+Ai2ygdnm+yROfE0A
  0 siblings, 0 replies; 66+ messages in thread
From: patchwork-bot+linux-spi-DgEjT+Ai2ygdnm+yROfE0A @ 2020-02-10 14:25 UTC (permalink / raw)
  To: linux-spi-u79uwXL29TY76Z2rM5mHXA, broonie-DgEjT+Ai2ygdnm+yROfE0A

Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Series: add device tree for SAM9X60 SoC and SAM9X60-EK board
  Submitter: Claudiu Beznea <claudiu.beznea-UWL1GkI3JZL3oGB3hsPCZA@public.gmane.org>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=229897
    Patches: [v5,1/2] dt-bindings: atmel-usart: remove wildcard
             [v5,2/2] dt-bindings: atmel-usart: add microchip,sam9x60-{usart, dbgu}

Patch: powerpc/devicetrees: Change 'gpios' to 'cs-gpios' on fsl,spi nodes
  Submitter: Christophe Leroy <christophe.leroy-GgN8y9CXRhA@public.gmane.org>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=209489

Total patches: 3

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/pwbot

^ permalink raw reply	[flat|nested] 66+ messages in thread

end of thread, back to index

Thread overview: 66+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-06  8:50 [PATCH v3 0/4] rewrite mtk-quadspi spi-nor driver with spi-mem Chuanhong Guo
2020-03-06  8:50 ` [PATCH v3 2/4] spi: add support for mediatek spi-nor controller Chuanhong Guo
     [not found] ` <20200306085052.28258-1-gch981213-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2020-03-06  8:50   ` [PATCH v3 1/4] spi: make spi-max-frequency optional Chuanhong Guo
2020-03-06  8:50   ` [PATCH v3 3/4] dt-bindings: convert mtk-quadspi binding doc for spi-mtk-nor Chuanhong Guo
     [not found]     ` <20200306085052.28258-4-gch981213-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2020-03-11 18:35       ` Applied "dt-bindings: convert mtk-quadspi binding doc for spi-mtk-nor" to the spi tree Mark Brown
2020-03-06  8:50   ` [PATCH v3 4/4] mtd: spi-nor: remove mtk-quadspi driver Chuanhong Guo
     [not found]     ` <20200306085052.28258-5-gch981213-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2020-03-09 12:10       ` Mark Brown
2020-03-10  7:41         ` Tudor.Ambarus
     [not found]           ` <2471214.x7VzW1FXlQ-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2020-03-10  9:11             ` Tudor.Ambarus-UWL1GkI3JZL3oGB3hsPCZA
     [not found]               ` <4427171.IzkiAjLLdB-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2020-03-11 19:57                 ` Mark Brown
2020-03-11 19:00 ` Patchwork summary for: spi-devel-general patchwork-bot+linux-spi-DgEjT+Ai2ygdnm+yROfE0A
  -- strict thread matches above, loose matches on Subject: below --
2021-06-23 16:00 patchwork-bot+spi-devel-general
2021-06-03 18:40 patchwork-bot+spi-devel-general
2021-05-28 16:10 patchwork-bot+spi-devel-general
2021-05-11 18:20 patchwork-bot+spi-devel-general
2021-05-11  8:29 patchwork-bot+spi-devel-general
2021-04-21 18:40 patchwork-bot+spi-devel-general
2021-04-16 16:00 patchwork-bot+spi-devel-general
2021-04-12 19:01 patchwork-bot+spi-devel-general
2021-03-23 22:20 patchwork-bot+spi-devel-general
2021-03-04 15:10 patchwork-bot+spi-devel-general
2021-03-04  1:00 patchwork-bot+spi-devel-general
2021-03-01 23:54 patchwork-bot+spi-devel-general
2021-02-22 16:10 patchwork-bot+spi-devel-general
2021-02-05 20:20 patchwork-bot+spi-devel-general
2021-01-19 19:21 patchwork-bot+spi-devel-general
2021-01-13 15:30 patchwork-bot+spi-devel-general
2021-01-04 17:50 patchwork-bot+spi-devel-general
2020-12-28 16:34 patchwork-bot+spi-devel-general
2020-12-18 18:30 patchwork-bot+spi-devel-general
2020-12-11 17:53 patchwork-bot+spi-devel-general
2020-12-09 15:20 patchwork-bot+spi-devel-general
2020-12-07 17:30 patchwork-bot+spi-devel-general
2020-12-02 17:30 patchwork-bot+spi-devel-general
2020-11-20 21:30 patchwork-bot+spi-devel-general
2020-11-04 20:50 patchwork-bot+spi-devel-general
2020-10-27  0:07 patchwork-bot+spi-devel-general
2020-10-06 15:30 patchwork-bot+spi-devel-general
2020-10-02 21:00 patchwork-bot+spi-devel-general
2020-09-29 16:30 patchwork-bot+spi-devel-general
2020-09-17 19:00 patchwork-bot+linux-spi
2020-09-17 14:00 patchwork-bot+linux-spi
2020-09-14 15:00 patchwork-bot+linux-spi
2020-09-09 14:20 patchwork-bot+linux-spi
2020-09-08 14:40 patchwork-bot+linux-spi
2020-08-20 22:03 patchwork-bot+linux-spi
2020-08-17 12:27 patchwork-bot+linux-spi
2020-07-29 14:00 patchwork-bot+linux-spi
2020-07-28 16:40 patchwork-bot+linux-spi
2020-07-27 14:00 patchwork-bot+linux-spi
2020-07-22 11:20 patchwork-bot+linux-spi
2020-07-20 11:20 patchwork-bot+linux-spi
2020-06-23 11:00 patchwork-bot+linux-spi
2020-06-22 15:00 patchwork-bot+linux-spi
2020-06-19 13:00 patchwork-bot+linux-spi
2020-06-15 23:40 patchwork-bot+linux-spi
2020-06-15 15:29 patchwork-bot+linux-spi
2020-06-11 15:40 patchwork-bot+linux-spi
2020-05-29 17:00 patchwork-bot+linux-spi
2020-04-22 13:20 patchwork-bot+linux-spi
2020-04-21 15:20 patchwork-bot+linux-spi
2020-04-14 12:06 patchwork-bot+linux-spi
2020-03-06  8:50 [PATCH v3 0/2] spi: dt-bindings: spi-controller: Slave mode fixes Geert Uytterhoeven
2020-03-13 17:20 ` Patchwork summary for: spi-devel-general patchwork-bot+linux-spi-DgEjT+Ai2ygdnm+yROfE0A
2020-02-23  8:59 [PATCH] docs: dt: fix several broken doc references Mauro Carvalho Chehab
2020-03-10 14:40 ` Patchwork summary for: spi-devel-general patchwork-bot+linux-spi-DgEjT+Ai2ygdnm+yROfE0A
2020-02-11 22:37 [PATCH] spi: pxa2xx: Add CS control clock quirk Rajat Jain
2020-02-11 22:34 ` (unknown) Rajat Jain
2020-02-26 19:00   ` Patchwork summary for: spi-devel-general patchwork-bot+linux-spi-DgEjT+Ai2ygdnm+yROfE0A
2020-01-17 11:58 [PATCH v5 0/2] add device tree for SAM9X60 SoC and SAM9X60-EK board Claudiu Beznea
2019-11-28 12:16 ` [PATCH] powerpc/devicetrees: Change 'gpios' to 'cs-gpios' on fsl,spi nodes Christophe Leroy
2020-02-10 14:25   ` Patchwork summary for: spi-devel-general patchwork-bot+linux-spi-DgEjT+Ai2ygdnm+yROfE0A

Linux-SPI Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-spi/0 linux-spi/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-spi linux-spi/ https://lore.kernel.org/linux-spi \
		linux-spi@vger.kernel.org
	public-inbox-index linux-spi

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-spi


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git