RE: [EXT] [PATCH] spi: spi-fsl-qspi: Clear TDH bits in FLSHCR register

2019-10-07 Thread Han Xu
> -Original Message- > From: Schrempf Frieder > Sent: Monday, October 7, 2019 2:23 AM > To: Han Xu ; Mark Brown > Cc: Schrempf Frieder ; sta...@vger.kernel.org; > linux-...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: [EXT] [PATCH] spi: spi-fsl-qs

RE: [PATCH] spi: spi-fsl-qspi: Introduce variable to fix different invalid master Id

2019-10-07 Thread Han Xu
> -Original Message- > From: Kuldeep Singh > Sent: Tuesday, October 1, 2019 3:59 AM > To: Han Xu ; broo...@kernel.org; linux-...@vger.kernel.org; > linux-kernel@vger.kernel.org > Cc: Kuldeep Singh ; Suresh Gupta > > Subject: [PATCH] spi: spi-fsl-qspi: I

RE: [EXT] Re: [PATCH 1/3] spi: spi-nxp-fspi: dynamically alloc AHB memory for FSPI

2019-07-11 Thread Han Xu
> -Original Message- > From: Mark Brown > Sent: Thursday, July 11, 2019 7:41 AM > To: Han Xu > Cc: Ashish Kumar ; linux-...@vger.kernel.org; linux- > ker...@vger.kernel.org; dl-linux-imx > Subject: Re: [EXT] Re: [PATCH 1/3] spi: spi-nxp-fspi: dynamically allo

RE: [EXT] Re: [PATCH 1/3] spi: spi-nxp-fspi: dynamically alloc AHB memory for FSPI

2019-07-10 Thread Han Xu
> -Original Message- > From: Mark Brown > Sent: Wednesday, July 10, 2019 10:16 AM > To: Han Xu > Cc: Ashish Kumar ; linux-...@vger.kernel.org; linux- > ker...@vger.kernel.org; dl-linux-imx > Subject: [EXT] Re: [PATCH 1/3] spi: spi-nxp-fspi: dynamically alloc

[PATCH 0/3] dynamically alloc AHB memory

2019-07-09 Thread han . xu
From: Han Xu i.MX platforms reserved 256M memory area for FSPI/QSPI AHB memory, it may failed to alloc all of them at once on some platforms. These patches allow the controller alloc AHB as needed. i.MX7D RX FIFO should be 128B rather than 512B. Han Xu (3): spi: spi-nxp-fspi: dynamically

[PATCH 3/3] spi: spi-fsl-qspi: dynamically alloc AHB memory for QSPI

2019-07-09 Thread han . xu
From: Han Xu dynamically alloc AHB memory for QSPI controller. Signed-off-by: Han Xu --- drivers/spi/spi-fsl-qspi.c | 58 +++--- 1 file changed, 42 insertions(+), 16 deletions(-) diff --git a/drivers/spi/spi-fsl-qspi.c b/drivers/spi/spi-fsl-qspi.c index

[PATCH 1/3] spi: spi-nxp-fspi: dynamically alloc AHB memory for FSPI

2019-07-09 Thread han . xu
From: Han Xu dynamically alloc AHB memory for FSPI controller Signed-off-by: Han Xu --- drivers/spi/spi-nxp-fspi.c | 39 ++ 1 file changed, 31 insertions(+), 8 deletions(-) diff --git a/drivers/spi/spi-nxp-fspi.c b/drivers/spi/spi-nxp-fspi.c index

[PATCH 2/3] spi: spi-fsl-qspi: change i.MX7D RX FIFO size

2019-07-09 Thread han . xu
From: Han Xu The RX FIFO should be 128 byte rather than 512 byte. It's a typo on reference manual. Signed-off-by: Han Xu --- drivers/spi/spi-fsl-qspi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spi-fsl-qspi.c b/drivers/spi/spi-fsl-qspi.c

RE: [EXT] Re: [PATCH] mtd: spi-nor: Add prep/unprep for spi_nor_resume

2019-06-06 Thread Han Xu
> -Original Message- > From: tudor.amba...@microchip.com > Sent: Thursday, June 6, 2019 12:46 AM > To: Han Xu ; cyrille.pitc...@wedev4u.fr; > marek.va...@gmail.com > Cc: boris.brezil...@free-electrons.com; f.faine...@gmail.com; > kdasu.k...@gmail.com; rich...

[PATCH] mtd: spi-nor: Add prep/unprep for spi_nor_resume

2019-04-24 Thread Han Xu
In the new implemented spi_nor_resume function, the spi_nor_init() should be braced by prep/unprep functions._ Signed-off-by: Han Xu --- drivers/mtd/spi-nor/spi-nor.c | 8 include/linux/mtd/spi-nor.h | 1 + 2 files changed, 9 insertions(+) diff --git a/drivers/mtd/spi-nor/spi-nor.c

RE: [PATCH v2] mtd: rawnand: gpmi: fix MX28 bus master lockup problem

2019-02-05 Thread Han Xu
> -Original Message- > From: Martin Kepplinger > Sent: Tuesday, February 5, 2019 9:53 AM > To: Han Xu ; bbrezil...@kernel.org; > miquel.ray...@bootlin.com; rich...@nod.at; dw...@infradead.org; > computersforpe...@gmail.com; marek.va...@gmail.com; linux- > m...@lis

RE: [PATCH v7 3/9] spi: Add a driver for the Freescale/NXP QuadSPI controller

2018-12-17 Thread Han Xu
> -Original Message- > From: Schrempf Frieder > Sent: Tuesday, December 4, 2018 8:15 AM > To: linux-...@lists.infradead.org; boris.brezil...@bootlin.com; linux- > s...@vger.kernel.org; Marek Vasut ; Mark Brown > ; Han Xu > Cc: dw...@infradead.org; computersforpe

RE: [PATCH v7 6/9] mtd: fsl-quadspi: Remove the driver as it was replaced by spi-fsl-qspi.c

2018-12-14 Thread Han Xu
..@nod.at; miquel.ray...@bootlin.com; broo...@kernel.org; David > Wolfe ; Fabio Estevam ; > Prabhakar Kushwaha ; Yogesh Narayan > Gaur ; Han Xu ; > shawn...@kernel.org; Schrempf Frieder ; > linux-kernel@vger.kernel.org > Subject: [PATCH v7 6/9] mtd: fsl-quadspi: Remove the driver

RE: [PATCH v6 3/9] spi: Add a driver for the Freescale/NXP QuadSPI controller

2018-12-03 Thread Han Xu
> -Original Message- > From: Schrempf Frieder > Sent: Thursday, November 29, 2018 11:36 AM > To: Han Xu ; Yogesh Narayan Gaur > ; linux-...@lists.infradead.org; > boris.brezil...@bootlin.com; linux-...@vger.kernel.org; Marek Vasut > ; Mark Brown >

RE: [PATCH v6 3/9] spi: Add a driver for the Freescale/NXP QuadSPI controller

2018-11-29 Thread Han Xu
> -Original Message- > From: Schrempf Frieder > Sent: Thursday, November 29, 2018 5:54 AM > To: Yogesh Narayan Gaur ; linux- > m...@lists.infradead.org; boris.brezil...@bootlin.com; linux- > s...@vger.kernel.org; Marek Vasut ; Mark Brown > ; Han Xu >

Re: [PATCH v2 2/2] dt-bindings: mtd: rawnand: gpmi: document specific ECC strength

2018-04-13 Thread Han Xu
supports 512 and 1024. > > The device tree may optionally contain sub-nodes describing partitions of > the > address space. See partition.txt for more detail. > Acked-by: Han Xu

Re: [PATCH v2 1/2] mtd: rawnand: gpmi: add support for specific ECC strength

2018-04-13 Thread Han Xu
> + || legacy_set_geometry(this)) { > + if (!(chip->ecc_strength_ds > 0 && chip->ecc_step_ds > 0)) > + return -EINVAL; > + > + return set_geometry_by_ecc_info(this, chip->ecc_strength_ds, > + chip->ecc_step_ds); > + } > > return 0; > } > Acked-by: Han Xu

Re: [PATCH 2/2] mtd: nand: gpmi: add support for specific ECC strength

2018-02-14 Thread Han Xu
On 02/06/2018 11:40 AM, Stefan Agner wrote: > Add support for specified ECC strength/size using device tree > properties nand-ecc-strength/nand-ecc-step-size. > > Signed-off-by: Stefan Agner > --- > .../devicetree/bindings/mtd/gpmi-nand.txt | 5 > drivers/mtd/nand/gpmi-nand/gpm

Re: [PATCH] mtd: nand: gpmi: replace _manual_ swap with swap macro

2017-11-03 Thread Han Xu
From: Gustavo A. R. Silva Sent: Friday, November 3, 2017 3:31 PM To: Han Xu; Boris Brezillon; Richard Weinberger; David Woodhouse; Brian Norris; Marek Vasut; Cyrille Pitchen Cc: linux-...@lists.infradead.org; linux-kernel@vger.kernel.org; Gustavo A. R

Re: [PATCH] mtd: gpmi-nand: do not fail setting ONFI timing mode if available

2017-07-14 Thread Han Xu
On 07/13/2017 03:15 PM, Boris Brezillon wrote: > Hi Miquel, > > Le Thu, 13 Jul 2017 21:20:30 +0200, > Miquel Raynal a écrit : > >> GPMI NFC driver fails to apply timing mode if the ->onfi_get_features() >> does not return the mode that was previously applied. >> >> We can assume that a nand chip

Re: [PATCH v6 3/3] ARM: dts: imx7-colibri: add NAND support

2017-06-09 Thread Han Xu
On 06/08/2017 05:34 PM, Stefan Agner wrote: > The Colibri iMX7 modules come with 512MB on-module SLC NAND flash > populated. Make use of it by enabling the GPMI controller. > > Signed-off-by: Stefan Agner > Tested-by: Fabio Estevam Acked-by: Han Xu > --- > a

Re: [PATCH v6 2/3] ARM: dts: imx7: add GPMI NAND and APBH DMA

2017-06-09 Thread Han Xu
On 06/08/2017 05:34 PM, Stefan Agner wrote: > Add i.MX 7 APBH DMA and GPMI NAND modules. > > Signed-off-by: Stefan Agner > Tested-by: Fabio Estevam Acked-by: Han Xu > --- > arch/arm/boot/dts/imx7s.dtsi | 31 +++ > 1 file changed, 31 inserti

Re: [PATCH v6 1/3] clk: imx7d: create clocks behind rawnand clock gate

2017-06-09 Thread Han Xu
H-Bridge-DMA. > > Add new clocks which represent the clock after the gate, and use a > shared clock gate to correctly model the hardware. > > Signed-off-by: Stefan Agner > Tested-by: Fabio Estevam Acked-by: Han Xu > --- > drivers/clk/imx/clk-imx7d.c | 6 --

Re: [PATCH v5 2/3] ARM: dts: imx7: add GPMI NAND and APBH DMA

2017-06-07 Thread Han Xu
On 06/06/2017 01:30 AM, Stefan Agner wrote: > Add i.MX 7 APBH DMA and GPMI NAND modules. > > Signed-off-by: Stefan Agner > --- > arch/arm/boot/dts/imx7s.dtsi | 32 > 1 file changed, 32 insertions(+) > > diff --git a/arch/arm/boot/dts/imx7s.dtsi b/arch/arm/boot

Re: [PATCH v3 0/2] ARM: dts: imx7: add NAND support

2017-06-02 Thread Han Xu
On 06/01/2017 08:48 PM, Stefan Agner wrote: > Hi Han, > > On 2017-06-01 14:14, Han Xu wrote: >> On 06/01/2017 02:20 PM, Stefan Agner wrote: >>> This are the missing device tree parts to add NAND support for i.MX 7. >>> See previous patchset: >>> https

Re: [PATCH v3 0/2] ARM: dts: imx7: add NAND support

2017-06-01 Thread Han Xu
On 06/01/2017 02:20 PM, Stefan Agner wrote: > This are the missing device tree parts to add NAND support for i.MX 7. > See previous patchset: > https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flkml.org%2Flkml%2F2017%2F4%2F21%2F832&data=01%7C01%7Chan.xu%40nxp.com%7C3b9081a68c9447

Re: [PATCH v2 4/5] ARM: dts: imx7: add GPMI NAND

2017-05-04 Thread Han Xu
On 05/04/2017 04:50 PM, Stefan Agner wrote: > On 2017-05-04 12:13, Han Xu wrote: >> On 04/21/2017 08:23 PM, Stefan Agner wrote: >>> Add i.MX 7 GPMI NAND module. >>> >>> Signed-off-by: Stefan Agner >>> --- >>>arch/arm/boot/dts/imx7s.d

Re: [PATCH v2 4/5] ARM: dts: imx7: add GPMI NAND

2017-05-04 Thread Han Xu
On 04/21/2017 08:23 PM, Stefan Agner wrote: > Add i.MX 7 GPMI NAND module. > > Signed-off-by: Stefan Agner > --- > arch/arm/boot/dts/imx7s.dtsi | 31 +++ > 1 file changed, 31 insertions(+) > > diff --git a/arch/arm/boot/dts/imx7s.dtsi b/arch/arm/boot/dts/imx7s.dtsi

Re: [PATCH 2/5] mtd: nand: gpmi: add i.MX 7 SoC support

2017-04-21 Thread Han Xu
ecc_strength = 62, >>> .max_chain_delay = 12, >>> .clks = gpmi_clks_for_mx7d, >>> diff --git a/drivers/mtd/nand/gpmi-nand/gpmi-nand.h >>> b/drivers/mtd/nand/gpmi-nand/gpmi-nand.h >>> index 2e584e18d980..f2cc13abc896 100644 >>> --- a/drivers/mtd/nand/gpmi-nand/gpmi-nand.h >>> +++ b/drivers/mtd/nand/gpmi-nand/gpmi-nand.h >>> @@ -123,7 +123,8 @@ enum gpmi_type { >>> IS_MX23, >>> IS_MX28, >>> IS_MX6Q, >>> - IS_MX6SX >>> + IS_MX6SX, >>> + IS_MX7D, >>> }; >>> >>> struct gpmi_devdata { >>> @@ -307,6 +308,8 @@ void gpmi_copy_bits(u8 *dst, size_t dst_bit_off, >>> #define GPMI_IS_MX28(x)((x)->devdata->type == IS_MX28) >>> #define GPMI_IS_MX6Q(x)((x)->devdata->type == IS_MX6Q) >>> #define GPMI_IS_MX6SX(x) ((x)->devdata->type == IS_MX6SX) >>> +#define GPMI_IS_MX7D(x)((x)->devdata->type == IS_MX7D) >>> >>> -#define GPMI_IS_MX6(x) (GPMI_IS_MX6Q(x) || GPMI_IS_MX6SX(x)) >>> +#define GPMI_IS_MX6(x) (GPMI_IS_MX6Q(x) || GPMI_IS_MX6SX(x) || >>> \ >>> +GPMI_IS_MX7D(x)) >>> #endif >>> >>> -- >>> Stefan >>> > > __ > Linux MTD discussion mailing list > http://lists.infradead.org/mailman/listinfo/linux-mtd/ -- Sincerely, Han XU

Re: [PATCH v3 6/9] mtd: spi-nor: Support R/W for S25FS-S family flash

2016-11-17 Thread Han Xu
rn ret; >> > > > > + if (cr3v & CR3V_4KB_ERASE_UNABLE) >> > > > > + return 0; >> > > > > + ret = nor->write_reg(nor, SPINOR_OP_WREN, NULL, 0); >> > > > > + if (ret) >> > > > > +

Re: [PATCH v3 6/9] mtd: spi-nor: Support R/W for S25FS-S family flash

2016-11-16 Thread Han Xu
On Thu, Sep 15, 2016 at 06:50:55AM +, Krzeminski, Marcin (Nokia - PL/Wroclaw) wrote: > Hello, > > > -Original Message- > > From: linux-mtd [mailto:linux-mtd-boun...@lists.infradead.org] On Behalf > > Of Han Xu > > Sent: Wednesday, September 14, 2016 9:49

[PATCH] mtd: fsl-quadspi: QSPI support dynamic LUT change

2016-09-30 Thread Han Xu
- WR EVCR typo in header file - RD EVCR command in lut This patch depends on Yunhui's patch set https://patchwork.ozlabs.org/patch/660356/ Signed-off-by: Han Xu --- drivers/mtd/spi-nor/fsl-quadspi.c | 111 +++--- include/linux/mtd/spi-nor.h | 6 +

Re: [PATCH v3 9/9] mtd: fsl-quadspi: add multi flash chip R/W on ls2080a

2016-09-14 Thread Han Xu
t; + else > + mem_base = q->memmap_phy; > + > + qspi_writel(q, nor_size + mem_base, base + QUADSPI_SFA1AD); > + qspi_writel(q, nor_size * 2 + mem_base, base + QUADSPI_SFA2AD); > + qspi_writel(q, nor_size * 3 + mem_base, base + QUADSPI_SFB1AD);

Re: [PATCH v3 8/9] mtd: fsl-quadspi: disable AHB buffer prefetch

2016-09-14 Thread Han Xu
*/ > + qspi_writel(q, QUADSPI_BUF3CR_ALLMST_MASK | > + ((q->devtype_data->ahb_buf_size / 8) > + << QUADSPI_BUF3CR_ADATSZ_SHIFT), > + base + QUADSPI_BUF3CR); > + } > > /* We only use the buffer3 */ > qspi_writel(q, 0, base + QUADSPI_BUF0IND); > -- > 2.1.0.27.g96db324 > > Acked-by: Han xu > __ > Linux MTD discussion mailing list > http://lists.infradead.org/mailman/listinfo/linux-mtd/ -- Sincerely, Han XU

Re: [PATCH v3 6/9] mtd: spi-nor: Support R/W for S25FS-S family flash

2016-09-14 Thread Han Xu
struct spi_nor *nor, const char > *name, enum read_mode mode) > spi_nor_wait_till_ready(nor); > } > > + if (EXT_JEDEC(info) == SPINOR_S25FS_FAMILY_EXT_JEDEC) { > + ret = spansion_s25fs_disable_4kb_erase(nor); > + if (

Re: [PATCH v3 7/9] mtd: fsl-quadspi: Solve Micron Spansion flash command conflict

2016-09-14 Thread Han Xu
WRAR; > case SPINOR_OP_WREN: > @@ -550,6 +573,8 @@ static int fsl_qspi_get_seqid(struct fsl_qspi *q, u8 cmd) > return SEQID_EN4B; > case SPINOR_OP_BRWR: > return SEQID_BRWR; > + case SPINOR_OP_WD_EVCR: > + return SEQID_WD_EVCR; > default: > if (cmd == q->nor[0].erase_opcode) > return SEQID_SE; > -- > 2.1.0.27.g96db324 > > Acked-by: Han xu > __ > Linux MTD discussion mailing list > http://lists.infradead.org/mailman/listinfo/linux-mtd/ -- Sincerely, Han XU

Re: [PATCH v3 5/9] mtd: spi-nor: fsl-quadspi:Support qspi for ls2080a

2016-09-14 Thread Han Xu
ot;, .data = (void *)&imx7d_data, }, > { .compatible = "fsl,imx6ul-qspi", .data = (void *)&imx6ul_data, }, > { .compatible = "fsl,ls1021a-qspi", .data = (void *)&ls1021a_data, }, > + { .compatible = "fsl,ls2080a-qspi", .data = (void *)&ls2080a_data, }, > { /* sentinel */ } > }; > MODULE_DEVICE_TABLE(of, fsl_qspi_dt_ids); > -- > 2.1.0.27.g96db324 > > Acked-by: Han xu > __ > Linux MTD discussion mailing list > http://lists.infradead.org/mailman/listinfo/linux-mtd/ -- Sincerely, Han XU

Re: [PATCH v3 4/9] mtd: spi-nor: fsl-quadspi: extend support for some special requerment.

2016-09-14 Thread Han Xu
gt; /* Used for Spansion flashes only. */ > #define SPINOR_OP_BRWR 0x17/* Bank register write */ > > +/* Used for Spansion S25FS-S family flash only. */ > +#define SPINOR_OP_SPANSION_RDAR0x65/* Read any device register */ > +#define SPINOR_OP_SP

Re: [PATCH v3 3/9] mtd: spi-nor: fsl-quadspi: add fast-read mode support

2016-09-14 Thread Han Xu
_WREN * 4; > @@ -468,6 +478,7 @@ static int fsl_qspi_get_seqid(struct fsl_qspi *q, u8 cmd) > { > switch (cmd) { > case SPINOR_OP_READ_1_1_4: > + case SPINOR_OP_READ_FAST: > return SEQID_READ; > case SPINOR_OP_WREN: >

Re: [PATCH v3 2/9] mtd: fsl-quadspi: Rename SEQID_QUAD_READ to SEQID_READ

2016-09-14 Thread Han Xu
468,7 @@ static int fsl_qspi_get_seqid(struct fsl_qspi *q, u8 cmd) > { > switch (cmd) { > case SPINOR_OP_READ_1_1_4: > - return SEQID_QUAD_READ; > + return SEQID_READ; > case SPINOR_OP_WREN: > return SEQID_WREN; >

Re: [PATCH v3 1/9] mtd:fsl-quadspi:use the property fields of SPI-NOR

2016-09-14 Thread Han Xu
*/ > lut_base = SEQID_SE * 4; > > - cmd = q->nor[0].erase_opcode; > - addrlen = q->nor_size <= SZ_16M ? ADDR24BIT : ADDR32BIT; > - > - qspi_writel(q, LUT0(CMD, PAD1, cmd) | LUT1(ADDR, PAD1, addrlen), > + qspi_writel(q, LUT0(CMD, PAD1, nor-

Re: [PATCH] mtd: spi-nor: constify fsl_qspi_devtype_data

2016-08-19 Thread Han Xu
tic const struct fsl_qspi_devtype_data imx6ul_data = { > .devtype = FSL_QUADSPI_IMX6UL, > .rxfifo = 128, > .txfifo = 512, > -- > 2.7.3 > Acked-by: Han Xu > > __ > Linux MTD discussion mailing list > http://lists.infradead.org/mailman/listinfo/linux-mtd/

Re: [PATCH v2 6/9] mtd: spi-nor: Support R/W for S25FS-S family flash

2016-07-21 Thread Han Xu
spi_nor_wait_till_ready(nor); > } > > + if (EXT_ID(info) == SPINOR_S25FS_FAMILY_ID) { > + ret = spansion_s25fs_disable_4kb_erase(nor); > + if (ret) > + return ret; > + } > + > if (!mtd->name) > mtd->name = dev_name(dev); > mtd->priv = nor; > -- > 2.1.0.27.g96db324 > > > __ > Linux MTD discussion mailing list > http://lists.infradead.org/mailman/listinfo/linux-mtd/ -- Sincerely, Han XU

Re: [PATCH v2 1/9] mtd:fsl-quadspi:use the property fields of SPI-NOR

2016-07-21 Thread Han Xu
comment, but since you're pinging > again... > > Your patchset doesn't build on the latest. You need to refresh. > > Also, has Han Xu reviewed this? I sent comments for v1 in [PATCH 6/9] mtd: spi-nor: Support R/W for S25FS-S family flash, but nothing changed in v2. Brian, could y

Re: [PATCH v3 2/6] Documentation: dt: mtd: gpmi: document the clocks and clock-names in DT property

2016-06-28 Thread Han Xu
On Tue, Jun 28, 2016 at 3:55 PM, Rob Herring wrote: > On Fri, Jun 24, 2016 at 04:40:07PM -0500, Han Xu wrote: >> add the clocks and clock-names in DT property, gpmi-io clock is >> mandatory for all platforms, but some platforms, such as i.MX6Q may >> need more extra clocks

[PATCH v3 1/6] mtd: nand: gpmi: add GPMI NAND support for i.MX7D

2016-06-24 Thread Han Xu
support GPMI NAND on i.MX7D Signed-off-by: Han Xu --- drivers/mtd/nand/gpmi-nand/bch-regs.h | 14 +++--- drivers/mtd/nand/gpmi-nand/gpmi-lib.c | 10 ++ drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 30 -- drivers/mtd/nand/gpmi-nand/gpmi-nand.h | 7

[PATCH v3 6/6] Documentation: dt: mtd: gpmi: document the new supported chip in DT

2016-06-24 Thread Han Xu
listed all supported chips in DT. Signed-off-by: Han Xu --- Documentation/devicetree/bindings/mtd/gpmi-nand.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mtd/gpmi-nand.txt b/Documentation/devicetree/bindings/mtd/gpmi-nand.txt index

[PATCH v3 4/6] mtd: nand: gpmi: correct bitflip for erased NAND page

2016-06-24 Thread Han Xu
i.MX6QP and i.MX7D BCH module integrated a new feature to detect the bitflip number for erased NAND page. So for these two platform, set the erase threshold to ecc_strength and if bitflip detected, GPMI driver will correct the data to all 0xFF. Signed-off-by: Han Xu --- drivers/mtd/nand/gpmi

[PATCH v3 3/6] mtd: nand: gpmi: add GPMI NAND support for i.MX6QP

2016-06-24 Thread Han Xu
support GPMI NAND on i.MX6QP Signed-off-by: Han Xu --- drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 9 + drivers/mtd/nand/gpmi-nand/gpmi-nand.h | 5 - 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/nand/gpmi-nand/gpmi-nand.c b/drivers/mtd/nand/gpmi-nand/gpmi

[PATCH v3 5/6] mtd: nand: gpmi: support NAND on i.MX6UL

2016-06-24 Thread Han Xu
support GPMI NAND on i.MX6UL Signed-off-by: Han Xu --- drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 9 + drivers/mtd/nand/gpmi-nand/gpmi-nand.h | 5 - 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/nand/gpmi-nand/gpmi-nand.c b/drivers/mtd/nand/gpmi-nand/gpmi

[PATCH v3 2/6] Documentation: dt: mtd: gpmi: document the clocks and clock-names in DT property

2016-06-24 Thread Han Xu
add the clocks and clock-names in DT property, gpmi-io clock is mandatory for all platforms, but some platforms, such as i.MX6Q may need more extra clocks for submodules. More details please refer to the SoC reference manual. Signed-off-by: Han Xu --- Documentation/devicetree/bindings/mtd/gpmi

[PATCH v3 0/6] support gpmi on i.MX6UL/7D and HW bitflip on i.MX6QP/7D

2016-06-24 Thread Han Xu
lit bitflip and i.MX6QP code v2 ---> v3: calculate erased chunks and fix bitflip after loop add more details for i.MX7 clock name fix the patch name for documentation Han Xu (6): mtd: nand: gpmi: add GPMI NAND support for i.MX7D Documentation: dt: mtd: gpmi: document the clocks and clock-na

Re: [PATCH v2 4/6] mtd: nand: gpmi: correct bitflip for erased NAND page

2016-06-21 Thread Han Xu
On Tue, Jun 14, 2016 at 2:14 PM, Boris Brezillon wrote: > On Fri, 10 Jun 2016 12:01:32 -0500 > Han Xu wrote: > >> i.MX6QP and i.MX7D BCH module integrated a new feature to detect the >> bitflip number for erased NAND page. So for these two platform, set the >> erase th

[PATCH v2 5/6] mtd: nand: gpmi: support NAND on i.MX6UL

2016-06-10 Thread Han Xu
support GPMI NAND on i.MX6UL Signed-off-by: Han Xu --- drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 9 + drivers/mtd/nand/gpmi-nand/gpmi-nand.h | 5 - 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/nand/gpmi-nand/gpmi-nand.c b/drivers/mtd/nand/gpmi-nand/gpmi

[PATCH v2 6/6] mtd: nand: gpmi: document the new supported chip in DT

2016-06-10 Thread Han Xu
listed all supported chips in DT. Signed-off-by: Han Xu --- Documentation/devicetree/bindings/mtd/gpmi-nand.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mtd/gpmi-nand.txt b/Documentation/devicetree/bindings/mtd/gpmi-nand.txt index

[PATCH v2 4/6] mtd: nand: gpmi: correct bitflip for erased NAND page

2016-06-10 Thread Han Xu
i.MX6QP and i.MX7D BCH module integrated a new feature to detect the bitflip number for erased NAND page. So for these two platform, set the erase threshold to ecc_strength and if bitflip detected, GPMI driver will correct the data to all 0xFF. Signed-off-by: Han Xu --- drivers/mtd/nand/gpmi

[PATCH v2 2/6] mtd: nand: gpmi: document the clocks and clock-names in DT property

2016-06-10 Thread Han Xu
add the clocks and clock-names in DT property, gpmi-io clock is mandatory for all platforms, but some platforms, such as i.MX6Q may need more extra clocks for submodules. More details please refer to the SoC reference manual. Signed-off-by: Han Xu --- Documentation/devicetree/bindings/mtd/gpmi

[PATCH v2 1/6] mtd: nand: gpmi: add GPMI NAND support for i.MX7D

2016-06-10 Thread Han Xu
support GPMI NAND on i.MX7D Signed-off-by: Han Xu --- drivers/mtd/nand/gpmi-nand/bch-regs.h | 14 +++--- drivers/mtd/nand/gpmi-nand/gpmi-lib.c | 10 ++ drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 30 -- drivers/mtd/nand/gpmi-nand/gpmi-nand.h | 7

[PATCH v2 0/6] support gpmi on i.MX6UL/7D and HW bitflip on i.MX6QP/7D

2016-06-10 Thread Han Xu
lit bitflip and i.MX6QP code Han Xu (6): mtd: nand: gpmi: add GPMI NAND support for i.MX7D mtd: nand: gpmi: document the clocks and clock-names in DT property mtd: nand: gpmi: add GPMI NAND support for i.MX6QP mtd: nand: gpmi: correct bitflip for erased NAND page mtd: nand: gpmi: supp

[PATCH v2 3/6] mtd: nand: gpmi: add GPMI NAND support for i.MX6QP

2016-06-10 Thread Han Xu
support GPMI NAND on i.MX6QP Signed-off-by: Han Xu --- drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 9 + drivers/mtd/nand/gpmi-nand/gpmi-nand.h | 5 - 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/nand/gpmi-nand/gpmi-nand.c b/drivers/mtd/nand/gpmi-nand/gpmi

Re: [PATCH 6/9] mtd: spi-nor: Support R/W for S25FS-S family flash

2016-05-02 Thread Han Xu
On Wed, Apr 20, 2016 at 5:34 PM, Han Xu wrote: > > > > From: Yunhui Cui > Sent: Wednesday, April 13, 2016 9:50 PM > To: dw...@infradead.org; computersforpe...@gmail.com; han...@freescale.com > Cc: linux-kernel@v

Re: [PATCH] mtd: nand: gpmi: get correct free oob space

2016-04-29 Thread Han Xu
From: Boris Brezillon Sent: Friday, April 29, 2016 2:31 AM To: Han Xu Cc: rich...@nod.at; dw...@infradead.org; computersforpe...@gmail.com; linux-...@lists.infradead.org; linux-kernel@vger.kernel.org Subject: Re: [PATCH] mtd: nand: gpmi: get correct

Re: [PATCH 8/9] mtd: fsl-quadspi: disable AHB buffer prefetch

2016-04-21 Thread Han Xu
From: Yunhui Cui Sent: Thursday, April 21, 2016 9:52 PM To: Han Xu; Yunhui Cui; dw...@infradead.org; computersforpe...@gmail.com; han...@freescale.com Cc: linux-kernel@vger.kernel.org; linux-...@lists.infradead.org; linux-arm-ker...@lists.infradead.org

Re: [PATCH 8/9] mtd: fsl-quadspi: disable AHB buffer prefetch

2016-04-21 Thread Han Xu
From: Yunhui Cui Sent: Thursday, April 21, 2016 3:41 AM To: Han Xu; Yunhui Cui; dw...@infradead.org; computersforpe...@gmail.com; han...@freescale.com Cc: linux-kernel@vger.kernel.org; linux-...@lists.infradead.org; linux-arm-ker...@lists.infradead.org

Re: [PATCH 8/9] mtd: fsl-quadspi: disable AHB buffer prefetch

2016-04-20 Thread Han Xu
From: Yunhui Cui Sent: Wednesday, April 13, 2016 9:50 PM To: dw...@infradead.org; computersforpe...@gmail.com; han...@freescale.com Cc: linux-kernel@vger.kernel.org; linux-...@lists.infradead.org; linux-arm-ker...@lists.infradead.org; Yao Yuan; Yunhui Cu

Re: [PATCH 6/9] mtd: spi-nor: Support R/W for S25FS-S family flash

2016-04-20 Thread Han Xu
From: Yunhui Cui Sent: Wednesday, April 13, 2016 9:50 PM To: dw...@infradead.org; computersforpe...@gmail.com; han...@freescale.com Cc: linux-kernel@vger.kernel.org; linux-...@lists.infradead.org; linux-arm-ker...@lists.infradead.org; Yao Yuan; Yunhui Cu

[PATCH] mtd: nand: gpmi: get correct free oob space

2016-04-12 Thread Han Xu
change the way to calculate pagesize to get correct free oob space for legacy_set_geometry function. Signed-off-by: Han Xu --- drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/nand/gpmi-nand/gpmi-nand.c b/drivers/mtd/nand

[PATCH] mtd: gpmi: fix raw_buffer pointer double free issue

2016-04-04 Thread Han Xu
fix the raw_buffer pointer double free issue found by coverify. CID 18344 (#2 of 2): Double free (USE_AFTER_FREE) 3. double_free: Calling gpmi_alloc_dma_buffer frees pointer this->raw_buffer which has already been freed Signed-off-by: Han Xu --- changes in v2: - add coverity check

[PATCH] mtd: gpmi: fix raw_buffer pointer double free issue

2016-04-04 Thread Han Xu
fix the raw_buffer pointer double free issue found by coverify. Signed-off-by: Han Xu --- drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/nand/gpmi-nand/gpmi-nand.c b/drivers/mtd/nand/gpmi-nand/gpmi-nand.c index 8122c69..dcb60b0 100644

Re: [PATCH v2 3/4] mtd:spi-nor:fsl-quadspi:Add fast-read mode support

2016-02-29 Thread Han Xu
1427 nor->flash_read = SPI_NOR_DUAL; > 1428 } > > > Thanks > Yunhui > -Original Message- > From: Han Xu [mailto:xhnj...@gmail.com] > Sent: Saturday, February 27, 2016 12:32 AM > To: Yunhui Cui > Cc: Yunhui Cui; dw...@infradead.org; com

Re: [PATCH v2 3/4] mtd:spi-nor:fsl-quadspi:Add fast-read mode support

2016-02-26 Thread Han Xu
#x27;t think QuadSPI driver need to check the m25p,fast-read property again since spi-nor layer has already done that. Adding the property in flash node should work in the same way. > > Thanks > Yunhui > > -Original Message- > From: Han Xu [mailto:xhnj...@gmail

[PATCH 5/5] mtd: nand: gpmi: document the new supported chip in DT

2016-02-23 Thread Han Xu
listed all supported chips in DT. Signed-off-by: Han Xu --- Documentation/devicetree/bindings/mtd/gpmi-nand.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mtd/gpmi-nand.txt b/Documentation/devicetree/bindings/mtd/gpmi-nand.txt index

[PATCH 3/5] mtd: nand: gpmi: correct bitflip for erased NAND page

2016-02-23 Thread Han Xu
i.MX6QP and i.MX7D BCH module integrated a new feature to detect the bitflip number for erased NAND page. So for these two platform, set the erase threshold to ecc_strength and if bitflip detected, GPMI driver will correct the data to all 0xFF. Signed-off-by: Han Xu --- drivers/mtd/nand/gpmi

[PATCH 0/5] support gpmi on i.MX6UL/7D and HW bitflip on i.MX6QP/7D

2016-02-23 Thread Han Xu
add support for gpmi nand on i.MX6UL and i.MX7D, document the related properties in DT and add the HW bitflip detection and correction for i.MX6QP and i.MX7D. The two document related patch are new and other three patches have no code change. Han Xu (5): mtd: nand: gpmi: add GPMI NAND support

[PATCH 2/5] mtd: nand: gpmi: document the clocks and clock-names in DT property

2016-02-23 Thread Han Xu
add the clocks and clock-names in DT property, gpmi-io clock is mandatory for all platforms, but some platforms, such as i.MX6Q may need more extra clocks for submodules. More details please refer to the SoC reference manual. Signed-off-by: Han Xu --- Documentation/devicetree/bindings/mtd/gpmi

[PATCH 4/5] mtd: nand: gpmi: support NAND on i.MX6UL

2016-02-23 Thread Han Xu
From: Han Xu support GPMI NAND on i.MX6UL Signed-off-by: Han Xu --- drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 9 + drivers/mtd/nand/gpmi-nand/gpmi-nand.h | 4 +++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/nand/gpmi-nand/gpmi-nand.c b/drivers/mtd/nand

[PATCH 1/5] mtd: nand: gpmi: add GPMI NAND support for i.MX7D

2016-02-23 Thread Han Xu
From: Han Xu support GPMI NAND on i.MX7D Signed-off-by: Han Xu --- drivers/mtd/nand/gpmi-nand/bch-regs.h | 14 +++--- drivers/mtd/nand/gpmi-nand/gpmi-lib.c | 10 ++ drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 27 ++- drivers/mtd/nand/gpmi-nand/gpmi

Re: [PATCH v8 6/7] mtd: nand: gpmi: correct bitflip for erased NAND page

2016-02-17 Thread Han Xu
On Tue, Feb 2, 2016 at 7:28 AM, Markus Pargmann wrote: > Hi, > > On Saturday, January 23, 2016 03:01:47 PM Brian Norris wrote: >> + Markus Pargmann >> >> On Wed, Dec 02, 2015 at 04:47:45PM -0600, Han Xu wrote: >> > i.MX6QP and i.MX7D BCH module integrated a ne

Re: [PATCH v2 3/4] mtd:spi-nor:fsl-quadspi:Add fast-read mode support

2016-02-17 Thread Han Xu
On Mon, Feb 01, 2016 at 07:30:07PM +0800, Yunhui Cui wrote: > The qspi driver add generic fast-read mode for different > flash venders. There are some different board flash work on > different mode, such fast-read, quad-mode. > So we have to modify the third entrace parameter of spi_nor_scan(). >

Re: [PATCH v4 7/7] Documentation: fsl-quadspi: Add optional properties

2016-02-17 Thread Han Xu
hes connected to the > bus, you should enable this property. > (Please check the board's schematic.) > + - big-endian : That means the IP register is big endian > > Example: > > -- > 2.1.0.27.g96db324 > >

Re: [PATCH v4 6/7] dts/ls2080a: update the DTS for QSPI and DSPI support

2016-02-17 Thread Han Xu
qspi: quadspi@20c { > status = "disabled"; > - compatible = "fsl,vf610-qspi"; > + compatible = "fsl,ls2080a-qspi", "fsl,ls1021a-qspi"; > #address-cells = <1>; > #size-cells = <0>; > reg = <0x0 0x20c 0x0 0x1>, > -- > 2.1.0.27.g96db324 > > Acked-by: Han xu > __ > Linux MTD discussion mailing list > http://lists.infradead.org/mailman/listinfo/linux-mtd/

Re: [PATCH v4 5/7] Documentation: fsl-quadspi: Add fsl, ls2080a-qspi compatible string

2016-02-17 Thread Han Xu
or > + "fsl,ls2080a-qspi" followed by "fsl,ls1021a-qspi" >- reg : the first contains the register location and length, >the second contains the memory mapping address and length >- reg-names: Should contain the reg names "Q

Re: [PATCH v4 3/7] mtd: spi-nor: fsl-quadspi: add support for layerscape

2016-02-17 Thread Han Xu
depends on ARCH_MXC || SOC_LS1021A || ARCH_LAYERSCAPE || COMPILE_TEST > depends on HAS_IOMEM > help > This enables support for the Quad SPI controller in master mode. > -- > 2.1.0.27.g96db324 > > Acked-by: Han xu > __ > Linux MTD discussion mailing list > http://lists.infradead.org/mailman/listinfo/linux-mtd/

Re: [PATCH v4 4/7] Documentation: fsl-quadspi: Add fsl, ls2080a-dspi compatible string

2016-02-17 Thread Han Xu
085a-dspi" > + or > + "fsl,ls2080a-dspi" followed by "fsl,ls2085a-dspi" > - reg : Offset and length of the register set for the device > - interrupts : Should contain SPI controller interrupt > - clocks: from common clock binding: handle to dspi clock. > -- > 2.1.0.27.g96db324 > > Acked-by: Han xu > __ > Linux MTD discussion mailing list > http://lists.infradead.org/mailman/listinfo/linux-mtd/

Re: [PATCH v4 2/7] mtd: spi-nor: fsl-quadspi: add support for ls1021a

2016-02-17 Thread Han Xu
On Tue, Jan 26, 2016 at 03:23:56PM +0800, Yuan Yao wrote: > LS1021a also support Freescale Quad SPI controller. > Add fsl-quadspi support for ls1021a chip and make SPI_FSL_QUADSPI > selectable for LS1021A SOC hardwares. > > Signed-off-by: Yuan Yao > Acked-by: Han xu > ---

Re: [PATCH v4 1/7] mtd: spi-nor: fsl-quadspi: add big-endian support

2016-02-17 Thread Han Xu
-by: Yuan Yao > Acked-by: Han xu > --- > Changed in v4: > No changes. > > Changed in v3: > Update my email to > > Changed in v2: > Rebase to the lastest code. > --- > drivers/mtd/spi-nor/fsl-quadspi.c | 157 > +++--- >

Re: mtd: spi-nor: fsl-quadspi: add support for ls1021a

2016-01-22 Thread Han Xu
On Fri, Jan 22, 2016 at 3:01 AM, Yao Yuan wrote: > On Thu, Jan 21, 2016 at 11:42 PM, Han Xu < xhnj...@gmail.com > wrote: >> On Thu, Jan 21, 2016 at 1:53 AM, Yuan Yao wrote: >> > This patch set is used for add the fsl-quadspi support for ls1021a and >> > ls104

Re: mtd: spi-nor: fsl-quadspi: add support for ls1021a

2016-01-21 Thread Han Xu
On Thu, Jan 21, 2016 at 1:53 AM, Yuan Yao wrote: > This patch set is used for add the fsl-quadspi support for ls1021a and > ls1043a, so remove the patch: > mtd: spi-nor: fsl-quadspi: extend support for some special requerment. Please use --cover-letter to generate cover letter. > > This patch wi

Re: [PATCH v2 4/4] mtd: spi-nor: fsl-quadspi: extend support for some special requerment.

2016-01-04 Thread Han Xu
On Thu, Dec 24, 2015 at 07:00:21PM +0800, Yuan Yao wrote: > Add extra info in LUT table to support some special requerments. > Spansion S25FS-S family flash need some special operations. What's the special requirement, detail it. > > Signed-off-by: Yuan Yao > --- > Changed in v2: > Update my em

Re: [PATCH v3 1/4] mtd: spi-nor: fsl-quadspi: add big-endian support

2016-01-04 Thread Han Xu
On Thu, Dec 24, 2015 at 07:00:18PM +0800, Yuan Yao wrote: > Add R/W functions for big- or little-endian registers: > The qSPI controller's endian is independent of the CPU core's endian. > So far, the qSPI have two versions for big-endian and little-endian. > > Signed-off-by: Yuan Yao > --- > Cha

Re: [PATCH v6 06/10] mtd: spi-nor: simplify write loop

2015-12-15 Thread Han Xu
On Wed, Dec 02, 2015 at 10:38:20AM +, Michal Suchanek wrote: > The spi-nor write loop assumes that what is passed to the hardware > driver write() is what gets written. > > When write() writes less than page size at once data is dropped on the > floor. Check the amount of data writen and exit

[PATCH v8 2/7] dmaengine: mxs: APBH DMA supports deep sleep mode

2015-12-02 Thread Han Xu
From: Huang Shijie Deep Sleep Mode(dsm) turns off the power for APBH DMA module, DMA need to be re-initialized when system resumed back. Signed-off-by: Huang Shijie Signed-off-by: Han Xu --- drivers/dma/mxs-dma.c | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) diff

[PATCH v8 3/7] dmaengine: mxs: add i.MX7D APBH DMA support

2015-12-02 Thread Han Xu
From: Adrian Alonso supports APBH DMA on i.MX7D by add extra clock clk_io Signed-off-by: Fugang Duan Signed-off-by: Adrian Alonso Signed-off-by: Han Xu --- drivers/dma/mxs-dma.c | 52 --- 1 file changed, 45 insertions(+), 7 deletions(-) diff

[PATCH v8 0/7] mtd: nand: gpmi: gpmi-nand DSM and bitflip support

2015-12-02 Thread Han Xu
e empty line simplify mxs_dma_init return check Adrian Alonso (1): dmaengine: mxs: add i.MX7D APBH DMA support Han Xu (4): mtd: nand: gpmi: may use minimum required ecc for 744 oobsize NAND mtd: nand: gpmi: add GPMI NAND support for i.MX7D mtd: nand: gpmi: correct bitflip for erased NAND p

[PATCH v8 6/7] mtd: nand: gpmi: correct bitflip for erased NAND page

2015-12-02 Thread Han Xu
i.MX6QP and i.MX7D BCH module integrated a new feature to detect the bitflip number for erased NAND page. So for these two platform, set the erase threshold to ecc_strength and if bitflip detected, GPMI driver will correct the data to all 0xFF. Signed-off-by: Han Xu --- drivers/mtd/nand/gpmi

[PATCH v8 5/7] mtd: nand: gpmi: add GPMI NAND support for i.MX7D

2015-12-02 Thread Han Xu
support GPMI NAND on i.MX7D Signed-off-by: Han Xu --- drivers/mtd/nand/gpmi-nand/bch-regs.h | 14 +++--- drivers/mtd/nand/gpmi-nand/gpmi-lib.c | 10 ++ drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 27 ++- drivers/mtd/nand/gpmi-nand/gpmi-nand.h | 7

[PATCH v8 1/7] mtd: nand: gpmi: add gpmi dsm supend/resume support

2015-12-02 Thread Han Xu
registers value for i.MX6QDL, the code doesn't distinguish different platforms to keep the code simple. Signed-off-by: Huang Shijie Signed-off-by: Han Xu --- drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 47 +- 1 file changed, 46 insertions(+), 1 deletion(-) diff --

[PATCH v8 4/7] mtd: nand: gpmi: may use minimum required ecc for 744 oobsize NAND

2015-12-02 Thread Han Xu
failed to use the highest ecc, even without explicitly claiming "fsl,use-minimum-ecc" in dts. Signed-off-by: Han Xu --- drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 26 ++ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/drivers/mtd/nand/gpmi-nand/gpmi

[PATCH v8 7/7] mtd: nand: gpmi: support NAND on i.MX6UL

2015-12-02 Thread Han Xu
support GPMI NAND on i.MX6UL Signed-off-by: Han Xu --- drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 9 + drivers/mtd/nand/gpmi-nand/gpmi-nand.h | 4 +++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/nand/gpmi-nand/gpmi-nand.c b/drivers/mtd/nand/gpmi-nand/gpmi

Re: [PATCH v6 03/10] mtd: fsl-quadspi: return amount of data read/written or error

2015-12-02 Thread Han Xu
On Wed, Dec 02, 2015 at 10:38:19AM +, Michal Suchanek wrote: > Return amount of data read/written or error as read(2)/write(2) does. > > Signed-off-by: Michal Suchanek > --- > drivers/mtd/spi-nor/fsl-quadspi.c | 18 +++--- > 1 file changed, 11 insertions(+), 7 deletions(-) > > d

  1   2   >