RE: [PATCH v8 3/5] arm64: dts: lx2160a: add FlexSPI node property

2019-01-31 Thread Yogesh Narayan Gaur
> -Original Message- > From: Shawn Guo [mailto:shawn...@kernel.org] > Sent: Friday, February 1, 2019 8:24 AM > To: Yogesh Narayan Gaur > Cc: linux-...@lists.infradead.org; bbrezil...@kernel.org; > marek.va...@gmail.com; broo...@kernel.org; linux-...@vger.ker

[PATCH v2] spi: spi-mem: spi-nxp-fspi: add module license info

2019-01-29 Thread Yogesh Narayan Gaur
99c 100644 --- a/drivers/spi/spi-nxp-fspi.c +++ b/drivers/spi/spi-nxp-fspi.c @@ -26,7 +26,7 @@ * * Author: * Yogesh Narayan Gaur - * Boris Brezillion + * Boris Brezillon * Frieder Schrempf */ @@ -1101,5 +1101,6 @@ module_platform_driver(nxp_fspi_driver); MODULE_DESCRI

RE: linux-next: build warning after merge of the spi tree

2019-01-29 Thread Yogesh Narayan Gaur
Hi Stephen, > -Original Message- > From: Stephen Rothwell [mailto:s...@canb.auug.org.au] > Sent: Tuesday, January 29, 2019 1:57 PM > To: Yogesh Narayan Gaur > Cc: Mark Brown ; Linux Next Mailing List n...@vger.kernel.org>; Linux Kernel Mailing List > ; >

[PATCH] spi: spi-mem: spi-nxp-fspi: add module license info

2019-01-29 Thread Yogesh Narayan Gaur
Add MODULE_LICENSE info to fix below warning: WARNING: modpost: missing MODULE_LICENSE() in drivers/spi/spi-nxp-fspi.o Signed-off-by: Yogesh Narayan Gaur --- drivers/spi/spi-nxp-fspi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/spi/spi-nxp-fspi.c b/drivers/spi/spi-nxp-fspi.c

RE: linux-next: build warning after merge of the spi tree

2019-01-28 Thread Yogesh Narayan Gaur
Hi, > -Original Message- > From: Stephen Rothwell [mailto:s...@canb.auug.org.au] > Sent: Tuesday, January 29, 2019 7:33 AM > To: Mark Brown > Cc: Linux Next Mailing List ; Linux Kernel Mailing > List ; Yogesh Narayan Gaur > ; Frieder Schrempf > ; Boris Br

RE: [PATCH v8 2/5] dt-bindings: spi: add binding file for NXP FlexSPI controller

2019-01-22 Thread Yogesh Narayan Gaur
Hi Boris, > -Original Message- > From: Boris Brezillon [mailto:bbrezil...@kernel.org] > Sent: Tuesday, January 22, 2019 2:47 PM > To: Yogesh Narayan Gaur > Cc: r...@kernel.org; shawn...@kernel.org; mark.rutl...@arm.com; > devicet...@vger.kernel.org; linux-kern

RE: [PATCH v8 2/5] dt-bindings: spi: add binding file for NXP FlexSPI controller

2019-01-22 Thread Yogesh Narayan Gaur
Hi Rob / Shawn, Can you please apply patches [1] [2]. -- Regards, Yogesh Gaur [1] https://patchwork.ozlabs.org/patch/1025136/ [2] https://patchwork.ozlabs.org/patch/1025137/ > -Original Message- > From: Yogesh Narayan Gaur > Sent: Tuesday, January 15, 2019 5:30 PM &g

RE: [PATCH v8 1/5] spi: spi-mem: Add driver for NXP FlexSPI controller

2019-01-22 Thread Yogesh Narayan Gaur
Hello Mark, Can you please apply below patch in SPI tree? Patch has been reviewed by Boris and Frieder. -- Regards Yogesh Gaur > -Original Message- > From: Yogesh Narayan Gaur > Sent: Tuesday, January 15, 2019 5:30 PM > To: linux-...@lists.infradead.org; bbrezil..

[PATCH v8 1/5] spi: spi-mem: Add driver for NXP FlexSPI controller

2019-01-15 Thread Yogesh Narayan Gaur
). Verified this driver on following SPI NOR flashes: Micron, mt35xu512ab, [Read - 1 bit mode] Cypress, s25fl512s, [Read - 1/2/4 bit mode] Signed-off-by: Yogesh Narayan Gaur Reviewed-by: Frieder Schrempf Reviewed-by: Boris Brezillon --- Changes for v8: - Typo review comments changes - Fix

[PATCH v8 5/5] MAINTAINERS: add maintainers for the NXP FlexSPI driver

2019-01-15 Thread Yogesh Narayan Gaur
Add maintainers for the NXP FlexSPI driver Signed-off-by: Yogesh Narayan Gaur --- Changes for v8: - Update entry for NXP FlexSPI maintainers name Changes for v7: - None Changes for v6: - None Changes for v5: - Add maintainers for binding file Changes for v4: - None Changes for v3: - None Changes

[PATCH v8 4/5] arm64: defconfig: enable NXP FlexSPI driver

2019-01-15 Thread Yogesh Narayan Gaur
Enable driver support of NXP FlexSPI controller. Signed-off-by: Yogesh Narayan Gaur --- Changes for v8: - None Changes for v7: - None Changes for v6: - None Changes for v5: - None Changes for v4: - None Changes for v3: - None Changes for v2: - None arch/arm64/configs/defconfig | 1 + 1 file

[PATCH v8 3/5] arm64: dts: lx2160a: add FlexSPI node property

2019-01-15 Thread Yogesh Narayan Gaur
Add fspi node property for LX2160A SoC for FlexSPI driver. Property added for the FlexSPI controller and for the connected slave device for the LX2160ARDB target. This is having two SPI-NOR flash device, mt35xu512aba, connected at CS0 and CS1. Signed-off-by: Yogesh Narayan Gaur --- Changes for

[PATCH v8 2/5] dt-bindings: spi: add binding file for NXP FlexSPI controller

2019-01-15 Thread Yogesh Narayan Gaur
Add binding file for NXP FlexSPI controller Signed-off-by: Yogesh Narayan Gaur Reviewed-by: Rob Herring --- Changes for v8: - None Changes for v7: - None Changes for v6: - None Changes for v5: - None Changes for v4: - Incorporated Rob review comments. Changes for v3: - Removed node property

[PATCH v8 0/5] spi: spi-mem: Add driver for NXP FlexSPI controller

2019-01-15 Thread Yogesh Narayan Gaur
- 1/2/4 bit mode] [1] https://www.nxp.com/docs/en/reference-manual/IMXRT1050RM.pdf [2] https://patchwork.kernel.org/project/linux-arm-kernel/list/?submitter=182097 Yogesh Narayan Gaur (5): spi: spi-mem: Add driver for NXP FlexSPI controller dt-bindings: spi: add binding file for NXP FlexSPI

[PATCH v7 2/5] mtd: spi-nor: add octal read flag for flash mt35xu512aba

2019-01-15 Thread Yogesh Narayan Gaur
SPI_NOR_OCTAL_READ flag. Signed-off-by: Vignesh R Signed-off-by: Yogesh Narayan Gaur --- drivers/mtd/spi-nor/spi-nor.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c index 872d70722672..53a3bcc6a55b 100644 --- a/drivers/mtd/spi

[PATCH v7 3/5] mtd: m25p80: add support of octal mode I/O transfer

2019-01-15 Thread Yogesh Narayan Gaur
Add support for octal mode I/O data transfer based on the controller (spi) mode. Assign hw-capability mask bits for octal transfer. Signed-off-by: Yogesh Narayan Gaur --- drivers/mtd/devices/m25p80.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/devices

[PATCH v7 1/5] mtd: spi-nor: add opcodes for octal Read/Write commands

2019-01-15 Thread Yogesh Narayan Gaur
required for flashes which didn't provides support for auto detection of Octal mode capabilities i.e. not seems to support newer JESD216C standard. Signed-off-by: Vignesh R Signed-off-by: Yogesh Narayan Gaur Reviewed-by: Tudor Ambarus --- drivers/mtd/spi-nor/spi-nor.c

[PATCH v7 5/5] arm64: dts: lx2160a: update fspi node

2019-01-15 Thread Yogesh Narayan Gaur
Flash mt35xu512aba connected to FlexSPI controller supports 1-1-8/1-8-8 protocol. Added flag spi-rx-bus-width and spi-tx-bus-width with values as 8 and 8 respectively for both flashes connected at CS0 and CS1. Signed-off-by: Yogesh Narayan Gaur --- Changes for v6: - Correct S-o-b tag with full

[PATCH v7 4/5] spi: nxp-fspi: add octal mode flag bit for octal support

2019-01-15 Thread Yogesh Narayan Gaur
Add octal mode flags for octal I/O data transfer support. NXP FlexSPI controller supports 8 lines Rx/Tx data transfer. Signed-off-by: Yogesh Narayan Gaur --- drivers/spi/spi-nxp-fspi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/spi/spi-nxp-fspi.c b/drivers

[PATCH v7 0/5] spi: add support for octal mode

2019-01-15 Thread Yogesh Narayan Gaur
atch 'mtd-spi-nor-add-opcodes-for-octal-Read-Write-command.patch' Changes for v6: - Correct S-o-b tag with full author name as 'Yogesh Narayan Gaur'. - Rebase on top of v4.20-rc5. Changes for v5: - Modified string 'octo' as 'octal' in all patches. Changes for v

RE: [PATCH v6 1/5] spi: spi-mem: Add driver for NXP FlexSPI controller

2019-01-15 Thread Yogesh Narayan Gaur
Hi Boris, > -Original Message- > From: Boris Brezillon [mailto:bbrezil...@kernel.org] > Sent: Monday, January 14, 2019 2:08 PM > To: Schrempf Frieder > Cc: Yogesh Narayan Gaur ; linux- > m...@lists.infradead.org; boris.brezil...@bootlin.com; marek.va...@gmail.com; &g

[PATCH v7 3/5] arm64: dts: lx2160a: add FlexSPI node property

2019-01-15 Thread Yogesh Narayan Gaur
Add fspi node property for LX2160A SoC for FlexSPI driver. Property added for the FlexSPI controller and for the connected slave device for the LX2160ARDB target. This is having two SPI-NOR flash device, mt35xu512aba, connected at CS0 and CS1. Signed-off-by: Yogesh Narayan Gaur --- Changes for

[PATCH v7 4/5] arm64: defconfig: enable NXP FlexSPI driver

2019-01-15 Thread Yogesh Narayan Gaur
Enable driver support of NXP FlexSPI controller. Signed-off-by: Yogesh Narayan Gaur --- Changes for v7: - None Changes for v6: - None Changes for v5: - None Changes for v4: - None Changes for v3: - None Changes for v2: - None arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion

[PATCH v7 5/5] MAINTAINERS: add maintainers for the NXP FlexSPI driver

2019-01-15 Thread Yogesh Narayan Gaur
Add maintainers for the NXP FlexSPI driver Signed-off-by: Yogesh Narayan Gaur --- Changes for v7: - None Changes for v6: - None Changes for v5: - Add maintainers for binding file Changes for v4: - None Changes for v3: - None Changes for v2: - None MAINTAINERS | 7 +++ 1 file changed, 7

[PATCH v7 2/5] dt-bindings: spi: add binding file for NXP FlexSPI controller

2019-01-15 Thread Yogesh Narayan Gaur
Add binding file for NXP FlexSPI controller Signed-off-by: Yogesh Narayan Gaur Reviewed-by: Rob Herring --- Changes for v7: - None Changes for v6: - None Changes for v5: - None Changes for v4: - Incorporated Rob review comments. Changes for v3: - Removed node property 'big-endian'. C

[PATCH v7 1/5] spi: spi-mem: Add driver for NXP FlexSPI controller

2019-01-15 Thread Yogesh Narayan Gaur
). Verified this driver on following SPI NOR flashes: Micron, mt35xu512ab, [Read - 1 bit mode] Cypress, s25fl512s, [Read - 1/2/4 bit mode] Signed-off-by: Yogesh Narayan Gaur --- Changes for v7: - Add func pointer for '.get_name' for struct spi_controller_mem_ops - Add input address r

[PATCH v7 0/5] spi: spi-mem: Add driver for NXP FlexSPI controller

2019-01-15 Thread Yogesh Narayan Gaur
- 1/2/4 bit mode] [1] https://www.nxp.com/docs/en/reference-manual/IMXRT1050RM.pdf [2] https://patchwork.kernel.org/project/linux-arm-kernel/list/?submitter=182097 Yogesh Narayan Gaur (5): spi: spi-mem: Add driver for NXP FlexSPI controller dt-bindings: spi: add binding file for NXP FlexSPI

RE: [PATCH v6 0/5] spi: spi-mem: Add driver for NXP FlexSPI controller

2019-01-09 Thread Yogesh Narayan Gaur
Hi Frieder, > -Original Message- > From: Schrempf Frieder [mailto:frieder.schre...@kontron.de] > Sent: Wednesday, January 9, 2019 7:49 PM > To: Yogesh Narayan Gaur ; linux- > m...@lists.infradead.org; boris.brezil...@bootlin.com; marek.va...@gmail.com; > broo...

[PATCH v6 1/5] spi: spi-mem: Add driver for NXP FlexSPI controller

2019-01-08 Thread Yogesh Narayan Gaur
). Verified this driver on following SPI NOR flashes: Micron, mt35xu512ab, [Read - 1 bit mode] Cypress, s25fl512s, [Read - 1/2/4 bit mode] Signed-off-by: Yogesh Narayan Gaur --- Changes for v6: - Rebase on top of v5.0-rc1 - Updated as per Frieder review comments and perform code cleanup

[PATCH v6 4/5] arm64: defconfig: enable NXP FlexSPI driver

2019-01-08 Thread Yogesh Narayan Gaur
Enable driver support of NXP FlexSPI controller. Signed-off-by: Yogesh Narayan Gaur --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 3ef443cfbab6..fe7f35824a79 100644 --- a/arch/arm64/configs

[PATCH v6 2/5] dt-bindings: spi: add binding file for NXP FlexSPI controller

2019-01-08 Thread Yogesh Narayan Gaur
Add binding file for NXP FlexSPI controller Signed-off-by: Yogesh Narayan Gaur Reviewed-by: Rob Herring --- Changes for v6: - None Changes for v5: - None Changes for v4: - Incorporated Rob review comments. Changes for v3: - Removed node property 'big-endian'. Changes for v2: - Incorp

[PATCH v6 3/5] arm64: dts: lx2160a: add FlexSPI node property

2019-01-08 Thread Yogesh Narayan Gaur
Add fspi node property for LX2160A SoC for FlexSPI driver. Property added for the FlexSPI controller and for the connected slave device for the LX2160ARDB target. This is having two SPI-NOR flash device, mt35xu512aba, connected at CS0 and CS1. Signed-off-by: Yogesh Narayan Gaur --- Changes for

[PATCH v6 0/5] spi: spi-mem: Add driver for NXP FlexSPI controller

2019-01-08 Thread Yogesh Narayan Gaur
- 1/2/4 bit mode] [1] https://www.nxp.com/docs/en/reference-manual/IMXRT1050RM.pdf [2] https://patchwork.kernel.org/project/linux-arm-kernel/list/?submitter=182097 Yogesh Narayan Gaur (5): spi: spi-mem: Add driver for NXP FlexSPI controller dt-bindings: spi: add binding file for NXP FlexSPI

[PATCH v6 5/5] MAINTAINERS: add maintainers for the NXP FlexSPI driver

2019-01-08 Thread Yogesh Narayan Gaur
Add maintainers for the NXP FlexSPI driver Signed-off-by: Yogesh Narayan Gaur --- Changes for v6: - None Changes for v5: - Add maintainers for binding file Changes for v4: - None Changes for v3: - None Changes for v2: - None --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff

RE: [PATCH v6 0/7] spi: add support for octal mode

2018-12-20 Thread Yogesh Narayan Gaur
Hi All, > -Original Message- > From: Vignesh R [mailto:vigne...@ti.com] > Sent: Thursday, December 20, 2018 12:03 PM > To: Yogesh Narayan Gaur ; linux- > m...@lists.infradead.org; boris.brezil...@bootlin.com; broo...@kernel.org; > marek.va...@gmail.com; linux-.

RE: [PATCH v6 0/7] spi: add support for octal mode

2018-12-19 Thread Yogesh Narayan Gaur
Hi Vignesh, > -Original Message- > From: Vignesh R [mailto:vigne...@ti.com] > Sent: Wednesday, December 19, 2018 6:14 PM > To: Yogesh Narayan Gaur ; linux- > m...@lists.infradead.org; boris.brezil...@bootlin.com; broo...@kernel.org; > marek.va...@gmail.com; linux-.

RE: [PATCH v5 3/7] mtd: spi-nor: add opcodes for octal Read/Write commands

2018-12-19 Thread Yogesh Narayan Gaur
Hi Tudor, > -Original Message- > From: tudor.amba...@microchip.com [mailto:tudor.amba...@microchip.com] > Sent: Tuesday, December 11, 2018 1:40 PM > To: Yogesh Narayan Gaur ; linux- > m...@lists.infradead.org; boris.brezil...@bootlin.com; broo...@kernel.org; > marek.va..

[PATCH v6 5/7] mtd: m25p80: add support of octal mode I/O transfer

2018-12-19 Thread Yogesh Narayan Gaur
Add support for octal mode I/O data transfer based on the controller (spi) mode. Assign hw-capability mask bits for octal transfer. Signed-off-by: Yogesh Narayan Gaur --- Changes for v6: - Correct S-o-b tag with full author name as 'Yogesh Narayan Gaur'. Changes for v5: - Modified st

[PATCH 7/7] arm64: dts: lx2160a: update fspi node

2018-12-19 Thread Yogesh Narayan Gaur
Flash mt35xu512aba connected to FlexSPI controller supports 1-1-8/1-8-8 protocol. Added flag spi-rx-bus-width and spi-tx-bus-width with values as 8 and 8 respectively for both flashes connected at CS0 and CS1. Signed-off-by: Yogesh Narayan Gaur --- Changes for v6: - Correct S-o-b tag with full

[PATCH v6 4/7] mtd: spi-nor: add octal read flag for flash mt35xu512aba

2018-12-19 Thread Yogesh Narayan Gaur
SPI_NOR_OCTAL_READ flag. Signed-off-by: Vignesh R Signed-off-by: Yogesh Narayan Gaur --- Changes for v6: - Correct S-o-b tag with full author name as 'Yogesh Narayan Gaur'. Changes for v5: - Modified string 'octo' with 'octal'. Changes for v4: - None Changes for v3: - Modified strin

[PATCH v6 0/7] spi: add support for octal mode

2018-12-19 Thread Yogesh Narayan Gaur
l read flag for flash mt35xu512aba mtd: m25p80: add support of octal mode I/O transfer spi: nxp-fspi: add octal mode flag bit for octal support arm64: dts: lx2160a: update fspi node Changes for v6: - Correct S-o-b tag with full author name as 'Yogesh Narayan Gaur'. - Rebase on

[PATCH v6 2/7] spi: spi-mem: add support for octal mode I/O data transfer

2018-12-19 Thread Yogesh Narayan Gaur
Add support for octal mode I/O data transfer in spi-mem framework. Signed-off-by: Yogesh Narayan Gaur Reviewed-by: Boris Brezillon --- Changes for v6: - Correct S-o-b tag with full author name as 'Yogesh Narayan Gaur'. Changes for v5: - Modified string 'octo' with &#x

[PATCH v6 3/7] mtd: spi-nor: add opcodes for octal Read/Write commands

2018-12-19 Thread Yogesh Narayan Gaur
-off-by: Yogesh Narayan Gaur --- Changes for v6: - Correct S-o-b tag with full author name as 'Yogesh Narayan Gaur'. Changes for v5: - Modified string 'octo' with 'octal'. Changes for v4: - None Changes for v3: - Modified string 'octal' with 'octo'.

[PATCH v6 6/7] spi: nxp-fspi: add octal mode flag bit for octal support

2018-12-19 Thread Yogesh Narayan Gaur
Add octal mode flags for octal I/O data transfer support. NXP FlexSPI controller supports 8 lines Rx/Tx data transfer. Signed-off-by: Yogesh Narayan Gaur --- Changes for v6: - Correct S-o-b tag with full author name as 'Yogesh Narayan Gaur'. Changes for v5: - Modified string 'oc

[PATCH v6 1/7] spi: add support for octal mode I/O data transfer

2018-12-19 Thread Yogesh Narayan Gaur
Add flags for Octal mode I/O data transfer Required for the SPI controller which can do the data transfer (TX/RX) on 8 data lines e.g. NXP FlexSPI controller. SPI_TX_OCTAL: transmit with 8 wires SPI_RX_OCTAL: receive with 8 wires Signed-off-by: Yogesh Narayan Gaur Reviewed-by: Boris Brezillon

RE: [PATCH v5 3/7] mtd: spi-nor: add opcodes for octal Read/Write commands

2018-12-10 Thread Yogesh Narayan Gaur
Hi Tudor, > -Original Message- > From: tudor.amba...@microchip.com [mailto:tudor.amba...@microchip.com] > Sent: Monday, December 10, 2018 4:15 PM > To: Yogesh Narayan Gaur ; linux- > m...@lists.infradead.org; boris.brezil...@bootlin.com; broo...@kernel.org; > marek.va..

RE: [PATCH v5 3/7] mtd: spi-nor: add opcodes for octal Read/Write commands

2018-12-10 Thread Yogesh Narayan Gaur
Hi, > -Original Message- > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > Sent: Monday, December 10, 2018 4:57 PM > To: Yogesh Narayan Gaur > Cc: linux-...@lists.infradead.org; broo...@kernel.org; > marek.va...@gmail.com; vigne...@ti.com; linux-.

RE: [PATCH v5 1/5] spi: spi-mem: Add driver for NXP FlexSPI controller

2018-12-10 Thread Yogesh Narayan Gaur
Hi Boris, > -Original Message- > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > Sent: Monday, December 10, 2018 4:39 PM > To: Yogesh Narayan Gaur > Cc: Schrempf Frieder ; linux- > m...@lists.infradead.org; marek.va...@gmail.com; broo...@kern

RE: [PATCH v5 3/7] mtd: spi-nor: add opcodes for octal Read/Write commands

2018-12-10 Thread Yogesh Narayan Gaur
Hi Boris, > -Original Message- > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > Sent: Monday, December 10, 2018 4:27 PM > To: Yogesh Narayan Gaur > Cc: linux-...@lists.infradead.org; broo...@kernel.org; > marek.va...@gmail.com; vigne...@ti.com; linux-.

RE: [PATCH v5 1/5] spi: spi-mem: Add driver for NXP FlexSPI controller

2018-12-10 Thread Yogesh Narayan Gaur
Hi Boris, > -Original Message- > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > Sent: Monday, December 10, 2018 4:20 PM > To: Yogesh Narayan Gaur > Cc: Schrempf Frieder ; linux- > m...@lists.infradead.org; marek.va...@gmail.com; broo...@kern

RE: [PATCH v5 1/5] spi: spi-mem: Add driver for NXP FlexSPI controller

2018-12-10 Thread Yogesh Narayan Gaur
Hi Boris, Frieder, > -Original Message- > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > Sent: Monday, December 10, 2018 3:49 PM > To: Yogesh Narayan Gaur > Cc: Schrempf Frieder ; linux- > m...@lists.infradead.org; marek.va...@gmail.com; broo...@kern

RE: [PATCH v5 1/5] spi: spi-mem: Add driver for NXP FlexSPI controller

2018-12-10 Thread Yogesh Narayan Gaur
Hi Frieder, Thanks for the review. Please find my comments inline. > -Original Message- > From: Schrempf Frieder [mailto:frieder.schre...@kontron.de] > Sent: Thursday, December 6, 2018 2:53 PM > To: Yogesh Narayan Gaur ; linux- > m...@lists.infradead.org; boris.brezil

RE: [PATCH v5 0/7] spi: add support for octal mode

2018-12-10 Thread Yogesh Narayan Gaur
Boris Brezillon [mailto:boris.brezil...@bootlin.com] > Sent: Monday, December 10, 2018 1:52 PM > To: Yogesh Narayan Gaur > Cc: Mark Brown ; Vignesh R ; linux- > m...@lists.infradead.org; marek.va...@gmail.com; linux-...@vger.kernel.org; > devicet...@vger.kernel.org; r...@kernel.org;

RE: [PATCH v5 0/7] spi: add support for octal mode

2018-12-09 Thread Yogesh Narayan Gaur
Gaur > -Original Message- > From: Mark Brown [mailto:broo...@kernel.org] > Sent: Friday, December 7, 2018 2:00 AM > To: Yogesh Narayan Gaur > Cc: Boris Brezillon ; Vignesh R > ; > linux-...@lists.infradead.org; marek.va...@gmail.com; linux- > s...@vger.kernel.org; d

[RESEND PATCH v5 5/7] mtd: m25p80: add support of octal mode I/O transfer

2018-12-09 Thread Yogesh Narayan Gaur
Add support for octal mode I/O data transfer based on the controller (spi) mode. Assign hw-capability mask bits for octal transfer. Signed-off-by: Yogesh Gaur --- Changes for v5: - Modified string 'octo' with 'octal'. Changes for v4: - None Changes for v3: - Modified string 'octal' with 'octo'. C

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

2018-12-06 Thread Yogesh Narayan Gaur
; Han Xu > Cc: dw...@infradead.org; computersforpe...@gmail.com; rich...@nod.at; > miquel.ray...@bootlin.com; David Wolfe ; Fabio > Estevam ; Prabhakar Kushwaha > ; Yogesh Narayan Gaur > ; shawn...@kernel.org; Schrempf Frieder > ; linux-kernel@vger.kernel.org > Subject: [PATCH v7 3/9]

RE: [PATCH v5 0/7] spi: add support for octal mode

2018-12-05 Thread Yogesh Narayan Gaur
Hi Boris, > -Original Message- > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > Sent: Thursday, December 6, 2018 12:16 PM > To: Yogesh Narayan Gaur > Cc: Vignesh R ; broo...@kernel.org; linux- > m...@lists.infradead.org; marek.va...@gmail.com; linux-.

RE: [PATCH v5 0/7] spi: add support for octal mode

2018-12-05 Thread Yogesh Narayan Gaur
Hi Boris, > -Original Message- > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > Sent: Wednesday, December 5, 2018 6:16 PM > To: Vignesh R ; broo...@kernel.org > Cc: Yogesh Narayan Gaur ; linux- > m...@lists.infradead.org; marek.va...@gmail.com; linux-.

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

2018-12-04 Thread Yogesh Narayan Gaur
@nod.at; > miquel.ray...@bootlin.com; David Wolfe ; Fabio > Estevam ; Prabhakar Kushwaha > ; Yogesh Narayan Gaur > ; shawn...@kernel.org; Schrempf Frieder > ; linux-kernel@vger.kernel.org > Subject: [PATCH v7 3/9] spi: Add a driver for the Freescale/NXP QuadSPI > controller >

RE: [PATCH v4 1/7] spi: add support for octo mode I/O data transfer

2018-12-03 Thread Yogesh Narayan Gaur
Hi Boris, > -Original Message- > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > Sent: Monday, December 3, 2018 1:35 PM > To: Yogesh Narayan Gaur ; > broo...@kernel.org > Cc: linux-...@lists.infradead.org; marek.va...@gmail.com; vigne...@ti.com; > linu

[PATCH v5 3/7] mtd: spi-nor: add opcodes for octal Read/Write commands

2018-12-03 Thread Yogesh Narayan Gaur
- Add opcodes for octal I/O commands * Read : 1-1-8 and 1-8-8 protocol * Write : 1-1-8 and 1-8-8 protocol * opcodes for 4-byte address mode command - Entry of macros in _convert_3to4_xxx function - Add flag specifying flash support octal read commands. Signed-off-by: Vignesh R Signed-off

[PATCH v5 5/7] mtd: m25p80: add support of octal mode I/O transfer

2018-12-03 Thread Yogesh Narayan Gaur
Add support for octal mode I/O data transfer based on the controller (spi) mode. Assign hw-capability mask bits for octal transfer. Signed-off-by: Yogesh Gaur --- Changes for v5: - Modified string 'octo' with 'octal'. Changes for v4: - None Changes for v3: - Modified string 'octal' with 'octo'. C

[PATCH v5 4/7] mtd: spi-nor: add octal read flag for flash mt35xu512aba

2018-12-03 Thread Yogesh Narayan Gaur
Add octal read flag for flash mt35xu512aba. This flash, mt35xu512aba, is only complaint to SFDP JESD216B and does not seem to support newer JESD216C standard that provides auto detection of Octal mode capabilities and opcodes. Therefore, this capability is manually added using new SPI_NOR_OCTAL_REA

[PATCH v5 7/7] arm64: dts: lx2160a: update fspi node

2018-12-03 Thread Yogesh Narayan Gaur
Flash mt35xu512aba connected to FlexSPI controller supports 1-1-8/1-8-8 protocol. Added flag spi-rx-bus-width and spi-tx-bus-width with values as 8 and 8 respectively for both flashes connected at CS0 and CS1. Signed-off-by: Yogesh Gaur --- Changes for v5: - None Changes for v4: - None Changes fo

[PATCH v5 2/7] spi: spi-mem: add support for octal mode I/O data transfer

2018-12-03 Thread Yogesh Narayan Gaur
Add support for octal mode I/O data transfer in spi-mem framework. Signed-off-by: Yogesh Gaur Reviewed-by: Boris Brezillon --- Changes for v5: - Modified string 'octo' with 'octal'. Changes for v4: - None Changes for v3: - Modified string 'octal' with 'octo'. Changes for v2: - Patch added in v2

[PATCH v5 1/7] spi: add support for octal mode I/O data transfer

2018-12-03 Thread Yogesh Narayan Gaur
Add flags for Octal mode I/O data transfer Required for the SPI controller which can do the data transfer (TX/RX) on 8 data lines e.g. NXP FlexSPI controller. SPI_TX_OCTAL: transmit with 8 wires SPI_RX_OCTAL: receive with 8 wires Signed-off-by: Yogesh Gaur Reviewed-by: Boris Brezillon --- Chan

[PATCH v5 6/7] spi: nxp-fspi: add octal mode flag bit for octal support

2018-12-03 Thread Yogesh Narayan Gaur
Add octal mode flags for octal I/O data transfer support. NXP FlexSPI controller supports 8 lines Rx/Tx data transfer. Signed-off-by: Yogesh Gaur --- Changes for v5: - Modified string 'octo' with 'octal'. Changes for v4: - None Changes for v3: - Modified string 'octal' with 'octo'. Changes for v2

[PATCH v5 0/7] spi: add support for octal mode

2018-12-03 Thread Yogesh Narayan Gaur
Add support for octal mode IO data transfer. Micron flash, mt35xu512aba, supports octal mode data transfer and NXP FlexSPI controller supports 8 data lines for data transfer (Rx/Tx). Patch series * Add support for octal mode flags and parsing of same in spi driver. * Add parsing logic for spi-mem

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

2018-11-29 Thread Yogesh Narayan Gaur
Hi Frieder, > -Original Message- > From: Schrempf Frieder [mailto:frieder.schre...@kontron.de] > Sent: Thursday, November 29, 2018 5:24 PM > To: Yogesh Narayan Gaur ; linux- > m...@lists.infradead.org; boris.brezil...@bootlin.com; linux- > s...@vger.kernel.org; Marek

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

2018-11-29 Thread Yogesh Narayan Gaur
; Han Xu > Cc: dw...@infradead.org; computersforpe...@gmail.com; rich...@nod.at; > miquel.ray...@bootlin.com; David Wolfe ; Fabio > Estevam ; Prabhakar Kushwaha > ; Yogesh Narayan Gaur > ; shawn...@kernel.org; linux- > ker...@vger.kernel.org > Subject: Re: [PATCH v6 3/9] spi: Add

RE: [PATCH v3 0/7] spi: add support for octo mode

2018-11-21 Thread Yogesh Narayan Gaur
Hi Vignesh, > -Original Message- > From: Vignesh R [mailto:vigne...@ti.com] > Sent: Tuesday, November 13, 2018 1:30 PM > To: Yogesh Narayan Gaur ; linux- > m...@lists.infradead.org; boris.brezil...@bootlin.com; broo...@kernel.org; > marek.va...@gmail.com; linux-.

[PATCH v4 5/7] mtd: m25p80: add support of octo mode I/O transfer

2018-11-21 Thread Yogesh Narayan Gaur
Add support for octo mode I/O data transfer based on the controller (spi) mode. Assign hw-capability mask bits for octo transfer. Signed-off-by: Yogesh Gaur --- Changes for v4: - None Changes for v3: - Modified string 'octal' with 'octo'. Changes for v2: - Incorporated review comments of Boris.

[PATCH v4 6/7] spi: nxp-fspi: add octo mode flag bit for octal support

2018-11-21 Thread Yogesh Narayan Gaur
Add octo mode flags for octal I/O data transfer support. NXP FlexSPI controller supports 8 lines Rx/Tx data transfer. Signed-off-by: Yogesh Gaur --- Changes for v4: - None Changes for v3: - Modified string 'octal' with 'octo'. Changes for v2: - None drivers/spi/spi-nxp-fspi.c | 4 ++-- 1 file c

[PATCH v4 7/7] arm64: dts: lx2160a: update fspi node

2018-11-21 Thread Yogesh Narayan Gaur
Flash mt35xu512aba connected to FlexSPI controller supports 1-1-8/1-8-8 protocol. Added flag spi-rx-bus-width and spi-tx-bus-width with values as 8 and 8 respectively for both flashes connected at CS0 and CS1. Signed-off-by: Yogesh Gaur --- Changes for v4: - None Changes for v3: - None Changes fo

[PATCH v4 3/7] mtd: spi-nor: add opcodes for octo Read/Write commands

2018-11-21 Thread Yogesh Narayan Gaur
- Add opcodes for octo I/O commands * Read : 1-1-8 and 1-8-8 protocol * Write : 1-1-8 and 1-8-8 protocol * opcodes for 4-byte address mode command - Entry of macros in _convert_3to4_xxx function - Add flag specifying flash support octo read commands. Signed-off-by: Vignesh R Signed-off-b

[PATCH v4 0/7] spi: add support for octo mode

2018-11-21 Thread Yogesh Narayan Gaur
Add support for octo mode IO data transfer. Micron flash, mt35xu512aba, supports octal mode data transfer and NXP FlexSPI controller supports 8 data lines for data transfer (Rx/Tx). Patch series * Add support for octo mode flags and parsing of same in spi driver. * Add parsing logic for spi-mem fr

[PATCH v4 2/7] spi: spi-mem: add support for octo mode I/O data transfer

2018-11-21 Thread Yogesh Narayan Gaur
Add support for octo mode I/O data transfer in spi-mem framework. Signed-off-by: Yogesh Gaur Reviewed-by: Boris Brezillon --- Changes for v4: - None Changes for v3: - Modified string 'octal' with 'octo'. Changes for v2: - Patch added in v2 version. drivers/spi/spi-mem.c | 9 - 1 file c

[PATCH v4 4/7] mtd: spi-nor: add octo read flag for flash mt35xu512aba

2018-11-21 Thread Yogesh Narayan Gaur
Add octo read flag for flash mt35xu512aba. This flash, mt35xu512aba, is only complaint to SFDP JESD216B and does not seem to support newer JESD216C standard that provides auto detection of Octal mode capabilities and opcodes. Therefore, this capability is manually added using new SPI_NOR_OCTO_READ

[PATCH v4 1/7] spi: add support for octo mode I/O data transfer

2018-11-21 Thread Yogesh Narayan Gaur
Add flags for Octo mode I/O data transfer Required for the SPI controller which can do the data transfer (TX/RX) on 8 data lines e.g. NXP FlexSPI controller. SPI_TX_OCTO: transmit with 8 wires SPI_RX_OCTO: receive with 8 wires Signed-off-by: Yogesh Gaur Reviewed-by: Boris Brezillon --- Changes

[PATCH v5 2/5] dt-bindings: spi: add binding file for NXP FlexSPI controller

2018-11-16 Thread Yogesh Narayan Gaur
Add binding file for NXP FlexSPI controller Signed-off-by: Yogesh Gaur Reviewed-by: Rob Herring --- Changes for v5: - None Changes for v4: - Incorporated Rob review comments. Changes for v3: - Removed node property 'big-endian'. Changes for v2: - Incorporated Rob review comments. .../devicetree

[PATCH v5 3/5] arm64: dts: lx2160a: add FlexSPI node property

2018-11-16 Thread Yogesh Narayan Gaur
Add fspi node property for LX2160A SoC for FlexSPI driver. Property added for the FlexSPI controller and for the connected slave device for the LX2160ARDB target. This is having two SPI-NOR flash device, mt35xu512aba, connected at CS0 and CS1. Signed-off-by: Yogesh Gaur --- Changes for v5: - None

[PATCH v5 0/5] spi: spi-mem: Add driver for NXP FlexSPI controller

2018-11-16 Thread Yogesh Narayan Gaur
- Add driver for NXP FlexSPI host controller FlexSPI is a flexsible SPI host controller [1], Chapter 30 page 1475, which supports two SPI channels and up to 4 external devices. Each channel supports Single/Dual/Quad/Octal mode data transfer (1/2/4/8 bidirectional data lines) i.e. FlexSPI acts

[PATCH v5 5/5] MAINTAINERS: add maintainers for the NXP FlexSPI driver

2018-11-16 Thread Yogesh Narayan Gaur
Add maintainers for the NXP FlexSPI driver Signed-off-by: Yogesh Gaur --- Changes for v5: - Add maintainers for binding file Changes for v4: - None Changes for v3: - None Changes for v2: - None MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS inde

[PATCH v5 4/5] arm64: defconfig: enable NXP FlexSPI driver

2018-11-16 Thread Yogesh Narayan Gaur
Enable driver support of NXP FlexSPI controller. Signed-off-by: Yogesh Gaur --- Changes for v5: - None Changes for v4: - None Changes for v3: - None Changes for v2: - None --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm

[PATCH v5 1/5] spi: spi-mem: Add driver for NXP FlexSPI controller

2018-11-16 Thread Yogesh Narayan Gaur
- Add driver for NXP FlexSPI host controller (0) What is the FlexSPI controller? FlexSPI is a flexsible SPI host controller which supports two SPI channels and up to 4 external devices. Each channel supports Single/Dual/Quad/Octal mode data transfer (1/2/4/8 bidirectional data lines) i.e. Flex

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

2018-11-16 Thread Yogesh Narayan Gaur
Hi Frieder, > -Original Message- > From: Schrempf Frieder [mailto:frieder.schre...@kontron.de] > Sent: Friday, November 16, 2018 3:12 PM > To: Yogesh Narayan Gaur > Cc: Boris Brezillon ; > linux-...@lists.infradead.org; > linux-...@vger.kernel.org; Marek Vasut ;

RE: [PATCH v3 1/2] mtd: spi-nor: add macros related to MICRON flash

2018-11-15 Thread Yogesh Narayan Gaur
Hi Boris, Please apply this patch series [1] in the coming release. -- Regards Yogesh Gaur [1] https://patchwork.ozlabs.org/project/linux-mtd/list/?series=70384 > -Original Message- > From: Yogesh Narayan Gaur > Sent: Tuesday, October 23, 2018 3:31 PM > To: 'Boris

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

2018-11-15 Thread Yogesh Narayan Gaur
Hi Frieder, > -Original Message- > From: Schrempf Frieder [mailto:frieder.schre...@kontron.de] > Sent: Thursday, November 15, 2018 7:32 PM > To: Yogesh Narayan Gaur > Cc: Boris Brezillon ; > linux-...@lists.infradead.org; > linux-...@vger.kernel.org; Marek Vasut ;

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

2018-11-14 Thread Yogesh Narayan Gaur
Hi Frieder, With below patch on top of your v5, Read/Write/Erase on CS1 is working fine for me. I have tested with JFFS2 mounting and booting also for both CS0 and CS1. diff --git a/drivers/spi/spi-fsl-qspi.c b/drivers/spi/spi-fsl-qspi.c index ce45e8e..4467983 100644 --- a/drivers/spi/spi-fsl-q

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

2018-11-14 Thread Yogesh Narayan Gaur
Hi Frieder, [..] > > > > Ok, I will have a look at what could make the chip selection fail in > > case of AHB read. > > Could you try with this change applied: > > @@ -503,7 +503,7 @@ static void fsl_qspi_select_mem(struct fsl_qspi *q, struct > spi_device *spi) > map_add

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

2018-11-14 Thread Yogesh Narayan Gaur
d.at; > miquel.ray...@bootlin.com; David Wolfe ; Fabio > Estevam ; Prabhakar Kushwaha > ; Yogesh Narayan Gaur > ; shawn...@kernel.org; Schrempf Frieder > ; linux-kernel@vger.kernel.org > Subject: [PATCH v5 3/9] spi: Add a driver for the Freescale/NXP QuadSPI > controller > &g

RE: [PATCH v4 01/10] spi: Add a driver for the Freescale/NXP QuadSPI controller

2018-11-13 Thread Yogesh Narayan Gaur
Hi, > -Original Message- > From: Yogesh Narayan Gaur > Sent: Tuesday, November 13, 2018 1:53 PM > To: 'Frieder Schrempf' ; linux- > m...@lists.infradead.org; boris.brezil...@bootlin.com; linux- > s...@vger.kernel.org > Cc: dw...@infradead.org; computer

RE: [PATCH v4 01/10] spi: Add a driver for the Freescale/NXP QuadSPI controller

2018-11-13 Thread Yogesh Narayan Gaur
forpe...@gmail.com; > marek.va...@gmail.com; rich...@nod.at; miquel.ray...@bootlin.com; > broo...@kernel.org; David Wolfe ; Fabio Estevam > ; Prabhakar Kushwaha > ; Yogesh Narayan Gaur > ; Han Xu ; > shawn...@kernel.org; Frieder Schrempf ; linux- > ker...@vger.kernel.org > Subject:

RE: [PATCH RESEND v4 1/5] spi: spi-mem: Add driver for NXP FlexSPI controller

2018-11-12 Thread Yogesh Narayan Gaur
Hi Frieder, Thanks for review. > -Original Message- > From: Schrempf Frieder [mailto:frieder.schre...@kontron.de] > Sent: Wednesday, November 7, 2018 9:52 PM > To: Yogesh Narayan Gaur ; linux- > m...@lists.infradead.org; boris.brezil...@bootlin.com; marek.va...@gm

RE: [PATCH] mtd: spi-nor: cast to u64 to avoid uint overflows

2018-11-12 Thread Yogesh Narayan Gaur
Hi Huijin, I guess this is the v2 of previously send patch [1], please follow version information in patch submission. -- Regards Yogesh Gaur [1] https://patchwork.ozlabs.org/patch/961197/ > -Original Message- > From: linux-mtd [mailto:linux-mtd-boun...@lists.infradead.org] On Behalf O

RE: [PATCH v2 1/5] mtd: spi-nor: don't drop sfdp data if optional parsers fail

2018-11-12 Thread Yogesh Narayan Gaur
.at > Cc: linux-...@lists.infradead.org; linux-kernel@vger.kernel.org; Yogesh > Narayan Gaur ; cyrille.pitc...@wedev4u.fr; > tudor.amba...@microchip.com > Subject: [PATCH v2 1/5] mtd: spi-nor: don't drop sfdp data if optional > parsers fail > > JESD216C states that just the Basic Flas

RE: [PATCH v3 1/2] mtd: spi-nor: add macros related to MICRON flash

2018-10-23 Thread Yogesh Narayan Gaur
Hi Boris, > -Original Message- > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > Sent: Tuesday, October 23, 2018 3:27 PM > To: Yogesh Narayan Gaur > Cc: Mark Brown ; Tudor Ambarus > ; linux-...@lists.infradead.org; linux- > s...@vger.kernel.org;

RE: [PATCH v3 1/2] mtd: spi-nor: add macros related to MICRON flash

2018-10-23 Thread Yogesh Narayan Gaur
Hi, Did we have have any comments or remarks about this patch-series, if not please apply. Both patches in the series been reviewed by Tudor. -- Regards Yogesh Gaur > -Original Message- > From: Yogesh Narayan Gaur > Sent: Friday, October 12, 2018 12:02 PM > To: 

[PATCH v3 0/7] spi: add support for octo mode

2018-10-23 Thread Yogesh Narayan Gaur
Add support for octo mode IO data transfer. Micron flash, mt35xu512aba, supports octal mode data transfer and NXP FlexSPI controller supports 8 data lines for data transfer (Rx/Tx). Patch series * Add support for octo mode flags and parsing of same in spi driver. * Add parsing logic for spi-mem fr

[PATCH v3 6/7] spi: nxp-fspi: add octo mode flag bit for octal support

2018-10-23 Thread Yogesh Narayan Gaur
Add octo mode flags for octal I/O data transfer support. NXP FlexSPI controller supports 8 lines Rx/Tx data transfer. Signed-off-by: Yogesh Gaur --- Changes for v3: - Modified string 'octal' with 'octo'. Changes for v2: - None drivers/spi/spi-nxp-fspi.c | 4 ++-- 1 file changed, 2 insertions(+)

  1   2   >