[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 mr.yog...@gmail.com --- scripts/checkpatch.pl | 2 +- 1 file changed, 1 insertion

[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 mr.yog...@gmail.com

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 mr.yog...@gmail.com

[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 mr.yog...@gmail.com --- scripts/checkpatch.pl | 2 +- 1 file changed, 1 insertion

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 mr.yog...@gmail.com

[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

scripts/checkpatch.pl

2014-03-02 Thread Yogesh Chaudhari
. 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 mr.yog...@gmail.com --- scripts/checkpatch.pl | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 464dcef

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
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 the documentation modifications. -- Regards, Levente Kurusa Regards Yogesh -- DREAM IT, CODE IT -- To unsubscribe from

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

2014-02-10 Thread yogesh tillu
...@goodmis.org wrote: On Fri, 7 Feb 2014 19:38:35 +0530 yogesh tillu tillu.yog...@gmail.com 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. Patient

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

2014-02-07 Thread yogesh tillu
this issue ? -- 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/

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 umgwanakikb...@gmail.com wrote: On Thu, 2015-01-08 at 10:00 -0500, Yogesh Ahire wrote: Thank you Mike. But I can see

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

2015-01-08 Thread Yogesh Ahire
Yogesh On Thu, Jan 8, 2015 at 12:26 AM, Mike Galbraith umgwanakikb...@gmail.com 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 main thread calls sched_yield

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
() is , 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

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

2018-06-13 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/spi-nor

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

2018-06-13 Thread Yogesh Gaur
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/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.

[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 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
of 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 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
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 drivers/spi/spi-nxp-fspi.c

[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
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/devices/m25p80.c

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

[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 0/4] spi: add support for octal mode data transfer

2018-10-04 Thread Yogesh Gaur
db:~# 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 octal I/O

[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-nor.h | 8

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

[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

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

2018-09-18 Thread Yogesh Gaur
of 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

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

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 fi

[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

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

[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
db:~# 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 octal I/O

[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-nor.h | 8

[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 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
of 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
of 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
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 drivers/spi/spi-nxp-fspi.c

[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
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/devices/m25p80.c

[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 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] mtd: spi-nor: Support controllers with limited TX FIFO size

2018-06-13 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/spi-nor

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

2018-06-13 Thread Yogesh Gaur
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/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.

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

  1   2   3   4   5   >