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
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
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
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
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
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
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
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
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
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
.
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/
/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
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
...@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
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/
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
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
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 ,
() 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
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
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.
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.
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.
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
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
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
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
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
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
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
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
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
:
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
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
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
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
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
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
).
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
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
- 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
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
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
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
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
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
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
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
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
).
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
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
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
://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
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
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
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
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
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
://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
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
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
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
).
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
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/
/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
>> 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
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
:
> 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
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
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
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
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
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
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
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
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
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
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
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
:
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
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
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
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
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
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
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
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
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
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
).
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
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
://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
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
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
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.
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.
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.
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
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
://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 - 100 of 463 matches
Mail list logo