[Patch 1/1] Changes to scripts/checkpatch.pl for improving warning messages in case printk usage is detected in a patch

2014-03-04 Thread yogesh
This patch modifies warning message when printk is used in a patch. It mentions to use subsystem_dbg instead of netdev_dbg as the first preffered format of logging debug messages. Signed-off-by: Yogesh Chaudhari --- scripts/checkpatch.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH 1/1] Add documentation for proper usage and order of preference of calls to print diagnostic messages.

2014-03-04 Thread yogesh
This patch adds documentation that clarifies the use of various diagnostic printing messages. It shows the preference of subsystem_dbg calls to dev_dbg (whenever possible), as the first preferred format of logging debug messages. Signed-off-by: Yogesh Chaudhari --- Documentation/CodingStyle

Re: [PATCH 1/1] Add documentation for proper usage and order of preference of calls to print diagnostic messages.

2014-03-04 Thread yogesh
This patch adds documentation that clarifies the use of various diagnostic printing messages. It shows the preference of subsystem_dbg calls to dev_dbg (whenever possible), as they first preferred format of logging debug messages. Signed-off-by: Yogesh Chaudhari --- Documentation/CodingStyle

[PATCH v2 1/1] Change checkpatch.pl for warning message in case of printk usage.

2014-03-04 Thread yogesh
This patch modifies warning message when printk is used in a patch. It mentions to use subsystem_dbg instead of netdev_dbg as the first preferred format of logging debug messages. Signed-off-by: Yogesh Chaudhari --- scripts/checkpatch.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion

Subject: [PATCH v2 1/1] Add documentation for proper usage and order of preference of calls to print diagnostic messages.

2014-03-04 Thread yogesh
This patch adds documentation that clarifies the use of various diagnostic printing messages. It shows the preference of subsystem_dbg calls to dev_dbg (whenever possible), as the first preferred format of logging debug messages. Signed-off-by: Yogesh Chaudhari --- Documentation/CodingStyle | 17

[PATCH] mtd: spi-nor: Support controllers with limited TX FIFO size

2018-06-12 Thread Yogesh Gaur
Some SPI controllers can't write nor->page_size bytes in a single step because their TX FIFO is too small. Allow nor->write() to return a size that is smaller than the requested write size to gracefully handle this case. Signed-off-by: Yogesh Gaur --- drivers/mtd/spi-nor/sp

[PATCH] mtd: devices: m25p80: Make sure WRITE_EN is issued before each write

2018-06-12 Thread Yogesh Gaur
, so all we have to do here is return the actual number of bytes that were written during the spi_mem_exec_op() operation. Signed-off-by: Yogesh Gaur --- drivers/mtd/devices/m25p80.c | 23 --- 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/drivers/mtd/devices/m2

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

2018-10-04 Thread Yogesh Gaur
Add mode flags for octal I/O data transfer support. NXP FlexSPI controller supports octal mode data transfer. Signed-off-by: Yogesh 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/spi/spi-nxp-fspi.c

[PATCH 0/4] spi: add support for octal mode data transfer

2018-10-04 Thread Yogesh Gaur
t@ls1012ardb:~# Flash device MTD0 configured in 1-1-1 protocol. Flash device MTD1 configured in 1-1-8 protocol. [1] https://patchwork.ozlabs.org/project/linux-mtd/list/?series=66317 [2] https://patchwork.ozlabs.org/project/linux-mtd/list/?series=66887 Yogesh Gaur (4): spi: add support for

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

2018-10-04 Thread Yogesh Gaur
Flash mt35xu512aba connected to FlexSPI controller supports 1-1-8 protocol. Added flag spi-rx-bus-width and spi-tx-bus-width with values as 8 and 1 respectively for both flashes connected at CS0 and CS1. Signed-off-by: Yogesh Gaur --- arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts | 4

[PATCH 2/4] mtd: spi-nor: add support for octal mode data transfer

2018-10-04 Thread Yogesh Gaur
using new SPI_NOR_OCTAL_READ flag. Added support of Octal mode parsing for 'm25p80' spi-nor flash interface. Signed-off-by: Vignesh R Signed-off-by: Yogesh Gaur --- drivers/mtd/devices/m25p80.c | 9 - drivers/mtd/spi-nor/spi-nor.c | 14 +- include/linux/mtd/spi-no

[PATCH 1/4] spi: add support for octal I/O data transfer

2018-10-04 Thread Yogesh Gaur
Add flags for Octal 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 --- drivers/spi/spi.c | 6

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

2018-10-08 Thread Yogesh Gaur
Add binding file for NXP FlexSPI controller Signed-off-by: Yogesh Gaur --- Changes for v4: - Incorporated Rob review comments. Changes for v3: - Removed node property 'big-endian'. Changes for v2: - Incorporated Rob review comments. .../devicetree/bindings/spi/spi-nxp-fspi.txt

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

2018-10-08 Thread Yogesh Gaur
Enable driver support of NXP FlexSPI controller. Signed-off-by: Yogesh Gaur --- 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/arm64/configs/defconfig

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

2018-10-08 Thread Yogesh 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 Gaur --- Changes for v4: - Incorporate Boris review comments * Use readl_poll_timeout() instead of busy looping. * Re-define

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

2018-10-08 Thread Yogesh Gaur
Add maintainers for the NXP FlexSPI driver Signed-off-by: Yogesh Gaur --- Changes for v4: - None Changes for v3: - None Changes for v2: - None MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 9d5eeff..2696898 100644 --- a/MAINTAINERS +++ b

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

2018-10-08 Thread Yogesh 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/?series=9721 [3] https://patchwork.ozlabs.org/project/linux-mtd/list/?series=63445 Yogesh Gaur (5): spi: spi-mem: Add driver for NXP FlexSPI

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

2018-10-08 Thread Yogesh 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 v4

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

2018-09-17 Thread Yogesh Gaur
Add binding file for NXP FlexSPI controller Signed-off-by: Yogesh Gaur --- Changes for v2: - Incorporated Rob review comments. .../devicetree/bindings/spi/spi-nxp-fspi.txt | 42 ++ 1 file changed, 42 insertions(+) create mode 100644 Documentation/devicetree/bindings

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

2018-09-17 Thread Yogesh 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 v2

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

2018-09-17 Thread Yogesh Gaur
://patchwork.ozlabs.org/project/linux-mtd/list/?series=63445 Yogesh Gaur (5): spi: spi-mem: Add driver for NXP FlexSPI controller dt-bindings: spi: add binding file for NXP FlexSPI controller arm64: dts: lx2160a: add FlexSPI node property arm64: defconfig: enable NXP FlexSPI driver MAINTAINERS: add

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

2018-09-17 Thread Yogesh Gaur
Enable driver support of NXP FlexSPI controller. Signed-off-by: Yogesh Gaur --- Changes for v2: - None. arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 3cfa8ca..75ceddf 100644 --- a/arch/arm64

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

2018-09-17 Thread Yogesh Gaur
Add maintainers for the NXP FlexSPI driver Signed-off-by: Yogesh Gaur --- Changes for v2: - None. MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 9d5eeff..2696898 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -10228,6 +10228,12 @@ L

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

2018-09-17 Thread Yogesh 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 Gaur --- Changes for v2: - Incorporated Boris review comments. - Remove dependency of driver over connected flash device size. - Modified

[RESEND PATCH 0/2] mtd: spi-nor: add entry for mt35xu512aba flash

2018-09-18 Thread Yogesh Gaur
mt35xu512aba flash in spi_nor_ids table. Yogesh Gaur (2): mtd: spi-nor: add macros related to MICRON flash mtd: spi-nor: add entry for mt35xu512aba flash drivers/mtd/spi-nor/spi-nor.c | 12 +--- include/linux/mtd/cfi.h | 1 + include/linux/mtd/spi-nor.h | 3 ++- 3 files

[RESEND PATCH 2/2] mtd: spi-nor: add entry for mt35xu512aba flash

2018-09-18 Thread Yogesh Gaur
Add entry for mt35xu512aba Micron NOR flash. This flash is having uniform sector erase size of 128KB, have support of FSR(flag status register), flash size is 64MB and supports 4-byte commands. Signed-off-by: Yogesh Gaur --- drivers/mtd/spi-nor/spi-nor.c | 3 +++ 1 file changed, 3 insertions

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

2018-09-18 Thread Yogesh Gaur
Some MICRON related macros in spi-nor domain were ST. Rename entries related to STMicroelectronics under macro SNOR_MFR_ST. Added entry of MFR Id for Micron flashes, 0x002C. Signed-off-by: Yogesh Gaur --- drivers/mtd/spi-nor/spi-nor.c | 9 ++--- include/linux/mtd/cfi.h | 1 + include

sched_yield() call on Linux Kernel 2.6.39 is not behaving correct

2015-01-07 Thread Yogesh Ahire
Hi All, I have a system with multiple CPU cores. I have multiple threads assigned to particular CPU. Among these threads the main thread calls sched_yield() if it has nothing to do, I am hoping that doing so will give chance to other threads to run. But the strange behavior of sched_yield() is ,

sched_yield() call on Linux Kernel 2.6.39 is not behaving correctly

2015-01-07 Thread Yogesh Ahire
, even if there are ready-to-runs tasks on this CPU waiting for their turn, the task which calls sched_yield() is always running ( get scheduled) and not giving chance to any other task to run. It is consuming 100% of CPU. Is sched_yield() is broken on 2.6 Kernel? Thanks Yogesh -- To unsubscribe

Re: sched_yield() call on Linux Kernel 2.6.39 is not behaving correct

2015-01-08 Thread Yogesh Ahire
0000 Thanks Yogesh On Thu, Jan 8, 2015 at 12:26 AM, Mike Galbraith wrote: > On Wed, 2015-01-07 at 16:30 -0500, Yogesh Ahire wrote: >> Hi All, >> >> I have a system with multiple CPU cores. I have multiple threads >> assigned to particular CPU. Among these threads the

Re: sched_yield() call on Linux Kernel 2.6.39 is not behaving correct

2015-01-09 Thread Yogesh Ahire
Thank you Mike. I didn't get what you mean by saying "its gona try to yield for one hell of a long time before it succeeds". On Thu, Jan 8, 2015 at 7:14 PM, Mike Galbraith wrote: > On Thu, 2015-01-08 at 10:00 -0500, Yogesh Ahire wrote: >> Thank you Mike. But I can see t

[PATCH] driver core: Use unbound workqueue for deferred probes

2021-02-24 Thread Yogesh Lal
Queue deferred driver probes on unbounded workqueue, to allow scheduler better manage scheduling of long running probes. Signed-off-by: Yogesh Lal --- drivers/base/dd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/base/dd.c b/drivers/base/dd.c index 9179825f

Re: [PATCH] driver core: Use unbound workqueue for deferred probes

2021-02-25 Thread Yogesh Lal
Hi Greg, On 2/24/2021 6:13 PM, Greg KH wrote: On Wed, Feb 24, 2021 at 05:25:49PM +0530, Yogesh Lal wrote: Queue deferred driver probes on unbounded workqueue, to allow scheduler better manage scheduling of long running probes. Really? What does this change and help? What is the visable

[PATCH V2] driver core: Use unbound workqueue for deferred probes

2021-03-24 Thread Yogesh Lal
. scheduling behavior. Signed-off-by: Yogesh Lal --- Changes in v2: Updating the Changelog with issue description. drivers/base/dd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/base/dd.c b/drivers/base/dd.c index 9179825f..c9c174a 100644 --- a/drivers/base/dd.c +++ b

Re: [PATCH] driver core: Use unbound workqueue for deferred probes

2021-03-15 Thread Yogesh Lal
On 2/25/2021 5:14 PM, Greg KH wrote: On Thu, Feb 25, 2021 at 04:03:50PM +0530, Yogesh Lal wrote: Hi Greg, On 2/24/2021 6:13 PM, Greg KH wrote: On Wed, Feb 24, 2021 at 05:25:49PM +0530, Yogesh Lal wrote: Queue deferred driver probes on unbounded workqueue, to allow scheduler better manage

scripts/checkpatch.pl

2014-03-02 Thread Yogesh Chaudhari
comments/suggestions/explanations before starting anything. Thanks Yogesh -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH 1/1] scripts/checkpatch.pl: to give more detailed warning message in case printk is used in any patch

2014-03-02 Thread Yogesh Chaudhari
/checkpatch.pl to give more detailed warning message in case printk is used in any patch. Signed-off-by: Yogesh Chaudhari --- scripts/checkpatch.pl | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 464dcef..526f33aa 100755

Re: [PATCH 1/1] scripts/checkpatch.pl: to give more detailed warning message in case printk is used in any patch

2014-03-02 Thread Yogesh Chaudhari
>> or reference the stackoverflow link >> > > And what if that disappears? Might as well write this to > Documentation/CodingStyle > as I have previously mentioned. Yogesh, you want to do this or should I? I will send in a new patch with both the script file and th

Re: [Ftrace][Bug] Failed on adding breakpoints, when used with kgdboc

2014-02-10 Thread yogesh tillu
: > On Fri, 7 Feb 2014 19:38:35 +0530 > yogesh tillu wrote: > >> Issue: [On x86 64 bit setup] If we enable CONFIG_FTRACE_STARTUP_TEST, >> and set software breakpoint(from kgdboc) result into below mentioned >> oops and non working of kgdb software breakpoint. > > Patie

[Ftrace][Bug] Failed on adding breakpoints, when used with kgdboc

2014-02-07 Thread yogesh tillu
inue. Kernel will boot with above mentions oops, resulting gdb to wait forever for breakpoint. d) Observation: If we disable CONFIG_FTRACE_STARTUP_TEST, breakpoint(kgdboc) is working fine. Could you please let me know if anyone came accross this issue ? -- Thanks, Yogesh -- To unsubscribe from this

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

2018-09-21 Thread Yogesh Gaur
Enable driver support of NXP FlexSPI controller. Signed-off-by: Yogesh Gaur --- 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/arm64/configs/defconfig index 3cfa8ca..75ceddf

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

2018-09-21 Thread Yogesh 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 v3

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

2018-09-21 Thread Yogesh 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 Gaur --- Changes for v3: - Added endianness flag in platform specific structure instead of DTS. - Modified nxp_fspi_read_ahb

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

2018-09-21 Thread Yogesh Gaur
Add binding file for NXP FlexSPI controller Signed-off-by: Yogesh Gaur --- Changes for v3: - None Changes for v2: - Incorporated Rob review comments. .../devicetree/bindings/spi/spi-nxp-fspi.txt | 42 ++ 1 file changed, 42 insertions(+) create mode 100644

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

2018-09-21 Thread Yogesh Gaur
://patchwork.ozlabs.org/project/linux-mtd/list/?series=63445 Yogesh Gaur (5): spi: spi-mem: Add driver for NXP FlexSPI controller dt-bindings: spi: add binding file for NXP FlexSPI controller arm64: dts: lx2160a: add FlexSPI node property arm64: defconfig: enable NXP FlexSPI driver MAINTAINERS: add

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

2018-09-21 Thread Yogesh Gaur
Add maintainers for the NXP FlexSPI driver Signed-off-by: Yogesh Gaur --- Changes for v3: - None Changes for v2: - None MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 9d5eeff..2696898 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -10228,6

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

2018-08-31 Thread Yogesh Gaur
Some MICRON related macros in spi-nor domain were ST. Rename entries related to STMicroelectronics under macro SNOR_MFR_ST. Added entry of MFR Id for Micron flashes, 0x002C. Signed-off-by: Yogesh Gaur --- drivers/mtd/spi-nor/spi-nor.c | 9 ++--- include/linux/mtd/cfi.h | 1 + include

[PATCH 2/2] mtd: spi-nor: add entry for mt35xu512aba flash

2018-08-31 Thread Yogesh Gaur
Add entry for mt35xu512aba Micron NOR flash. This flash is having uniform sector erase size of 128KB, have support of FSR(flag status register), flash size is 64MB and supports 4-byte commands. Signed-off-by: Yogesh Gaur --- drivers/mtd/spi-nor/spi-nor.c | 3 +++ 1 file changed, 3 insertions

[PATCH 0/2] mtd: spi-nor: add entry for mt35xu512aba flash

2018-08-31 Thread Yogesh Gaur
mt35xu512aba flash in spi_nor_ids table. Yogesh Gaur (2): mtd: spi-nor: add macros related to MICRON flash mtd: spi-nor: add entry for mt35xu512aba flash drivers/mtd/spi-nor/spi-nor.c | 12 +--- include/linux/mtd/cfi.h | 1 + include/linux/mtd/spi-nor.h | 3 ++- 3 files

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

2018-08-31 Thread Yogesh Gaur
Some MICRON related macros in spi-nor domain were ST. Rename entries related to STMicroelectronics under macro SNOR_MFR_ST. Added entry of MFR Id for Micron flashes, 0x002C. Signed-off-by: Yogesh Gaur --- drivers/mtd/spi-nor/spi-nor.c | 9 ++--- include/linux/mtd/cfi.h | 1 + include

[PATCH 2/2] mtd: spi-nor: add entry for mt35xu512aba flash

2018-08-31 Thread Yogesh Gaur
Add entry for mt35xu512aba Micron NOR flash. This flash is having uniform sector erase size of 128KB, have support of FSR(flag status register), flash size is 64MB and supports 4-byte commands. Signed-off-by: Yogesh Gaur --- drivers/mtd/spi-nor/spi-nor.c | 3 +++ 1 file changed, 3 insertions

[PATCH 0/2] mtd: spi-nor: add entry for mt35xu512aba flash

2018-08-31 Thread Yogesh Gaur
mt35xu512aba flash in spi_nor_ids table. Yogesh Gaur (2): mtd: spi-nor: add macros related to MICRON flash mtd: spi-nor: add entry for mt35xu512aba flash drivers/mtd/spi-nor/spi-nor.c | 12 +--- include/linux/mtd/cfi.h | 1 + include/linux/mtd/spi-nor.h | 3 ++- 3 files

[PATCH 0/7] spi: spi-mem: Add a driver for NXP FlexSPI controller

2018-08-31 Thread Yogesh Gaur
: Yogesh Gaur (7): spi: add slave device size in spi_device struct spi: add flags for octal I/O data transfer spi: spi-mem: Add a driver for NXP FlexSPI controller dt-bindings: spi: add binding file for NXP FlexSPI driver arm64: dts: lx2160a: add fspi node property arm64: defconfig: enable NXP

[PATCH 2/7] spi: add flags for octal I/O data transfer

2018-08-31 Thread Yogesh Gaur
Add flags for Octal I/O data transfer Required for the SPI controller which can do 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 --- include/linux/spi/spi.h | 2 ++ 1 file

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

2018-08-31 Thread Yogesh Gaur
Add maintainers for the NXP FlexSPI driver Signed-off-by: Yogesh Gaur --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 9d5eeff..2696898 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -10228,6 +10228,12 @@ L: linux-...@lists.01.org

[PATCH 3/7] spi: spi-mem: Add a driver for NXP FlexSPI controller

2018-08-31 Thread Yogesh Gaur
Add entry in the 'spi-nor/Makefile'. Signed-off-by: Yogesh Gaur --- drivers/spi/Kconfig| 10 + drivers/spi/Makefile |1 + drivers/spi/spi-nxp-fspi.c | 1242 3 files changed, 1253 insertions(+) create mode 100644 driver

[PATCH 5/7] arm64: dts: lx2160a: add fspi node property

2018-08-31 Thread Yogesh 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 --- arch/arm64/boot/dts

[PATCH 1/7] spi: add slave device size in spi_device struct

2018-08-31 Thread Yogesh Gaur
ize before making read request to the SPI controller. Signed-off-by: Yogesh Gaur --- drivers/mtd/devices/m25p80.c | 6 ++ drivers/mtd/spi-nor/spi-nor.c | 2 ++ include/linux/spi/spi.h | 2 ++ 3 files changed, 10 insertions(+) diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/device

[PATCH 4/7] dt-bindings: spi: add binding file for NXP FlexSPI driver

2018-08-31 Thread Yogesh Gaur
Add binding file for NXP FlexSPI driver. Signed-off-by: Yogesh Gaur --- .../devicetree/bindings/spi/spi-nxp-fspi.txt | 42 ++ 1 file changed, 42 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/spi-nxp-fspi.txt diff --git a/Documentation

[PATCH 6/7] arm64: defconfig: enable NXP FlexSPI driver

2018-08-31 Thread Yogesh Gaur
Enable driver support of NXP FlexSPI controller. Signed-off-by: Yogesh Gaur --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 3cfa8ca..75ceddf 100644 --- a/arch/arm64/configs/defconfig +++ b

[PATCH] mtd: spi-nor: honour max_data_size for spi-nor writes

2018-06-11 Thread Yogesh Gaur
ize and write, max, only supported data size. Signed-off-by: NeilBrown Signed-off-by: Yogesh Gaur --- drivers/mtd/devices/m25p80.c | 23 --- drivers/mtd/spi-nor/spi-nor.c | 7 --- 2 files changed, 8 insertions(+), 22 deletions(-) diff --git a/drivers/mtd/devices/m25p80.

[PATCH] mtd: spi-nor: honour max_data_size for spi-nor writes

2018-06-11 Thread Yogesh Gaur
ize and write, max, only supported data size. Signed-off-by: NeilBrown Signed-off-by: Yogesh Gaur --- drivers/mtd/devices/m25p80.c | 23 --- drivers/mtd/spi-nor/spi-nor.c | 7 --- 2 files changed, 8 insertions(+), 22 deletions(-) diff --git a/drivers/mtd/devices/m25p80.

[Linux 3.5] kernel BUG at mm/slub.c:3474!

2012-07-24 Thread Yogesh Ashok Powar
Hello All, I am seeing the bug_on being hit on ARM Kirkwood based board. I am on Linux 3.5 stable tree. Please see oops at the bottom of the mail. The kernel's .config is shared at http://nopaste.info/37d9019bf5.html Thanks Yogesh ~ # [ cut here ] kernel BUG

Re: [Linux 3.5] kernel BUG at mm/slub.c:3474!

2012-10-12 Thread Yogesh Ashok Powar
On Tue, Jul 24, 2012 at 05:20:37AM -0700, Yogesh Ashok Powar wrote: > Hello All, > > I am seeing the bug_on being hit on ARM Kirkwood based board. > I am on Linux 3.5 stable tree. Also seeing similar on 3.6.1 with default kirkwood_defconfig on 6281 board. New crash is as follo

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

2018-11-21 Thread Yogesh Narayan Gaur
-by: Yogesh Gaur --- Changes for v4: - None Changes for v3: - Modified string 'octal' with 'octo'. Changes for v2: - Incorporated review comments of Boris and Vignesh drivers/mtd/spi-nor/spi-nor.c | 12 include/linux/mtd/spi-nor.h | 8 2 files ch

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

2018-11-21 Thread Yogesh Narayan Gaur
series=70384&state=* [2] https://patchwork.ozlabs.org/project/linux-mtd/list/?series=76402 Yogesh Gaur (7): spi: add support for octo mode I/O data transfer spi: spi-mem: add support for octo mode I/O data transfer mtd: spi-nor: add opcodes for octo Read/Write commands mtd: spi-nor: add octo read

[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 |

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

2018-11-21 Thread Yogesh Narayan Gaur
flag. Signed-off-by: Vignesh R 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 and Vignesh drivers/mtd/spi-nor/spi-nor.c | 3 ++- 1 file changed, 2 inser

[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

[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 revi

[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-fsp

[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

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-.

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 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 v5 3/9] spi: Add a driver for the Freescale/NXP QuadSPI controller

2018-11-14 Thread Yogesh Narayan Gaur
1AD); + qspi_writel(q, q->devtype_data->ahb_buf_size * 2 , base + QUADSPI_SFA2AD); + qspi_writel(q, q->devtype_data->ahb_buf_size * 3 , base + QUADSPI_SFB1AD); + qspi_writel(q, q->devtype_data->ahb_buf_size * 4 , base + QUADSPI_SFB2AD); + q->selected = -1; -- Regards Yogesh Gaur [..]

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 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-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 ;

[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

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

2018-11-16 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 Gaur --- Changes for v5: - Rebase on top of v4.20-rc2 - Modified fspi_readl_poll_tout() as per review comments - Arrange header file

[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 revie

[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

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

2018-11-16 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 [3] https://patchwork.ozlabs.org/project/linux-mtd/list/?series=70384 Yogesh Gaur (5): spi: spi-mem: Add driver for NXP FlexSPI

[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

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] 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

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 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 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 v5 3/9] spi: Add a driver for the Freescale/NXP QuadSPI controller

2018-11-14 Thread Yogesh Narayan Gaur
-correct and data content are of the address 0xf0 of CS0 connected flash device. On the setup where you have done testing, did AHB mode read is being verified for CS1? I am doing further debugging of this issue. -- Regards Yogesh Gaur > -Original Message- > From

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

2018-11-14 Thread Yogesh Narayan Gaur
as was being done in previous driver implementation. Would try this and update you. [1] https://patchwork.ozlabs.org/patch/503655/ -- Regards Yogesh Gaur [..]

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 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 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 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]

[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 strin

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

2018-12-09 Thread Yogesh Narayan Gaur
Hi Mark, Patch has been resend [1], this patch is depends on the series of patch[2] and this series has been applied by Boris already. [1] https://patchwork.ozlabs.org/patch/1010253/ [2] https://patchwork.ozlabs.org/project/linux-mtd/list/?series=70384&state=* -- Regards Yogesh

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

2018-12-03 Thread Yogesh Narayan Gaur
series=70384&state=* [2] https://patchwork.ozlabs.org/project/linux-mtd/list/?series=76402 Yogesh Gaur (7): spi: add support for octal mode I/O data transfer spi: spi-mem: add support for octal mode I/O data transfer mtd: spi-nor: add opcodes for octal Read/Write commands mtd: spi-nor: add octa

[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&#x

  1   2   3   >