7172 f800 7172 9900 7172 f900
0f0 1501 d001 7172 d806 5086
100 0106 0002 0301 0200
110 0106 0672 0200
120 ee00 69c0 7272 7171 d800 f6f7 0a00
130 4514 8098 0643 000f dc21
140
te command extension types.
replace CONFIG_SPI_FLASH_MACRONIX with SPI_FLASH_MACRONIX_OCTAL for
spi_nor_macronix_octal_dtr_enable function.
v2:
add ret checking for write enable in spi_nor_macronix_octal_dtr_enable
function.
JaimeLiao (1):
mtd: spi-nor-core: Add support for Macronix Octal
7172 f800 7172 9900 7172 f900
0f0 1501 d001 7172 d806 5086
100 0106 0002 0301 0200
110 0106 0672 0200
120 ee00 69c0 7272 7171 d800 f6f7 0a00
130 4514 8098 0643 000f dc21
140
Parse SCCR 22nd dword and check DTR Octal Mode Enable
Volatile bit for Octal DTR enable
Signed-off-by: JaimeLiao
---
drivers/mtd/spi/spi-nor-core.c | 52 ++
include/linux/mtd/spi-nor.h| 1 +
2 files changed, 53 insertions(+)
diff --git a/drivers/mtd/spi/spi
: JaimeLiao
---
drivers/mtd/spi/Kconfig| 7 +++
drivers/mtd/spi/spi-nor-core.c | 7 ++-
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/drivers/mtd/spi/Kconfig b/drivers/mtd/spi/Kconfig
index f350c7e5dc..5bb1baa019 100644
--- a/drivers/mtd/spi/Kconfig
+++ b/drivers
,%20v1.1.pdf
Signed-off-by: JaimeLiao
---
drivers/mtd/spi/spi-nor-core.c | 82 ++
include/linux/mtd/spi-nor.h| 10 +
2 files changed, 92 insertions(+)
diff --git a/drivers/mtd/spi/spi-nor-core.c b/drivers/mtd/spi/spi-nor-core.c
index 3b7c817c02..5d319e4c0f
_OCTAL for
spi_nor_macronix_octal_dtr_enable function.
v2:
add ret checking for write enable in spi_nor_macronix_octal_dtr_enable
function.
JaimeLiao (4):
mtd: spi-nor: add support for Macronix Octal flash
mtd: spi-nor-core: Adding different type of command extension in Soft
Reset
mtd: spi-nor:
Parcing table of SFDP Command Sequence to change to Octal
DDR(8D-8D-8D) mode(CSODDR) and following SPI protocol to
judge opcode, address, dummy and data.
Enabling Octal DDR mode when nor->octal_dtr_enable didn't
hook.
Signed-off-by: JaimeLiao
---
drivers/mtd/spi/spi-nor-core
7172 f800 7172 9900 7172 f900
0f0 1501 d001 7172 d806 5086
100 0106 0002 0301 0200
110 0106 0672 0200
120 ee00 69c0 7272 7171 d800 f6f7 0a00
130 4514 8098 0643 000f dc21
140
Parse SCCR 22nd dword and check DTR Octal Mode Enable
Volatile bit for Octal DTR enable
Signed-off-by: JaimeLiao
---
drivers/mtd/spi/spi-nor-core.c | 52 ++
include/linux/mtd/spi-nor.h| 1 +
2 files changed, 53 insertions(+)
diff --git a/drivers/mtd/spi/spi
: JaimeLiao
---
drivers/mtd/spi/Kconfig| 7 +++
drivers/mtd/spi/spi-nor-core.c | 7 ++-
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/drivers/mtd/spi/Kconfig b/drivers/mtd/spi/Kconfig
index 1b2ef37e92..9b7d195770 100644
--- a/drivers/mtd/spi/Kconfig
+++ b/drivers
,%20v1.1.pdf
Signed-off-by: JaimeLiao
---
drivers/mtd/spi/spi-nor-core.c | 82 ++
include/linux/mtd/spi-nor.h| 12 -
2 files changed, 92 insertions(+), 2 deletions(-)
diff --git a/drivers/mtd/spi/spi-nor-core.c b/drivers/mtd/spi/spi-nor-core.c
index
t checking for write enable in spi_nor_macronix_octal_dtr_enable
function.
JaimeLiao (4):
mtd: spi-nor: add support for Macronix Octal flash
mtd: spi-nor-core: Adding different type of command extension in Soft
Reset
mtd: spi-nor: Parse SFDP SCCR Map
mtd: spi-nor-core: Add support fo
Parse SCCR 22nd dword and check DTR Octal Mode Enable
Volatile bit for Octal DTR enable
Signed-off-by: JaimeLiao
---
drivers/mtd/spi/spi-nor-core.c | 52 ++
include/linux/mtd/spi-nor.h| 1 +
2 files changed, 53 insertions(+)
diff --git a/drivers/mtd/spi/spi
-Write and stack die
MX66UW : 1.8V Octal I/O with Read-while-Write and stack die
About LW/UW series, please contact us freely if you have any
questions. For adding Octal NOR Flash IDs, we have validated
each Flash on plateform zynq-picozed.
Signed-off-by: JaimeLiao
---
drivers/mtd/spi/spi-nor
: JaimeLiao
---
drivers/mtd/spi/Kconfig| 7 +++
drivers/mtd/spi/spi-nor-core.c | 7 ++-
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/drivers/mtd/spi/Kconfig b/drivers/mtd/spi/Kconfig
index 1b2ef37e92..9b7d195770 100644
--- a/drivers/mtd/spi/Kconfig
+++ b/drivers
20v1.1.pdf
Signed-off-by: JaimeLiao
---
drivers/mtd/spi/spi-nor-core.c | 83 ++
include/linux/mtd/spi-nor.h| 12 -
2 files changed, 93 insertions(+), 2 deletions(-)
diff --git a/drivers/mtd/spi/spi-nor-core.c b/drivers/mtd/spi/spi-nor-core.c
index
sion types.
replace CONFIG_SPI_FLASH_MACRONIX with SPI_FLASH_MACRONIX_OCTAL for
spi_nor_macronix_octal_dtr_enable function.
v2:
add ret checking for write enable in spi_nor_macronix_octal_dtr_enable
function.
JaimeLiao (4):
mtd: spi-nor: macronix: add support for Macronix Octal
mtd: spi-nor-co
-Write and stack die
MX66UW : 1.8V Octal I/O with Read-while-Write and stack die
About LW/UW series, please contact us freely if you have any
questions. For adding Octal NOR Flash IDs, we have validated
each Flash on plateform zynq-picozed.
Signed-off-by: JaimeLiao
---
drivers/mtd/spi/spi-nor
: JaimeLiao
---
drivers/mtd/spi/Kconfig| 7 +++
drivers/mtd/spi/spi-nor-core.c | 7 ++-
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/drivers/mtd/spi/Kconfig b/drivers/mtd/spi/Kconfig
index 1b2ef37e92..9b7d195770 100644
--- a/drivers/mtd/spi/Kconfig
+++ b/drivers
20v1.1.pdf
Signed-off-by: JaimeLiao
---
drivers/mtd/spi/spi-nor-core.c | 83 ++
include/linux/mtd/spi-nor.h| 12 -
2 files changed, 93 insertions(+), 2 deletions(-)
diff --git a/drivers/mtd/spi/spi-nor-core.c b/drivers/mtd/spi/spi-nor-core.c
index
_OCTAL for
spi_nor_macronix_octal_dtr_enable function.
v2:
add ret checking for write enable in spi_nor_macronix_octal_dtr_enable
function.
JaimeLiao (3):
mtd: spi-nor: macronix: add support for Macronix Octal
mtd: spi-nor-core: Adding different type of command extension in Soft
Reset
-Write and stack die
MX66UW : 1.8V Octal I/O with Read-while-Write and stack die
About LW/UW series, please contact us freely if you have any
questions. For adding Octal NOR Flash IDs, we have validated
each Flash on plateform zynq-picozed.
Signed-off-by: JaimeLiao
---
drivers/mtd/spi/spi-nor
Following linux kernel to check address width and 4byte flag to enable
4byte opcode setting.
Signed-off-by: JaimeLiao
---
drivers/mtd/spi/spi-nor-core.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/mtd/spi/spi-nor-core.c b/drivers/mtd/spi/spi-nor-core.c
index 87a7de7d60
: JaimeLiao
---
drivers/mtd/spi/Kconfig| 7 +++
drivers/mtd/spi/spi-nor-core.c | 7 ++-
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/drivers/mtd/spi/Kconfig b/drivers/mtd/spi/Kconfig
index 67599b32c9..8304d6c973 100644
--- a/drivers/mtd/spi/Kconfig
+++ b/drivers
20v1.1.pdf
Signed-off-by: JaimeLiao
---
drivers/mtd/spi/Kconfig| 7 +++
drivers/mtd/spi/spi-nor-core.c | 83 ++
include/linux/mtd/spi-nor.h| 13 +-
3 files changed, 101 insertions(+), 2 deletions(-)
diff --git a/drivers/mtd/spi/Kconfig b/drive
enable in spi_nor_macronix_octal_dtr_enable
function.
JaimeLiao (4):
mtd: spi-nor: macronix: add support for Macronix Octal
mtd: spi-nor-core: Adding different type of command extension in Soft
Reset
mtd: spi-nor-core: set 4byte opcode when possible
mtd: spi-nor-core: Add support for Macronix O
-Write and stack die
MX66UW : 1.8V Octal I/O with Read-while-Write and stack die
About LW/UW series, please contact us freely if you have any
questions. For adding Octal NOR Flash IDs, we have validated
each Flash on plateform zynq-picozed.
Signed-off-by: JaimeLiao
---
drivers/mtd/spi/spi-nor
Following linux kernel to check address width and 4byte flag to enable
4byte opcode setting.
Signed-off-by: JaimeLiao
---
drivers/mtd/spi/spi-nor-core.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/mtd/spi/spi-nor-core.c b/drivers/mtd/spi/spi-nor-core.c
index 4bcd58d839
onfigure from SFDP.
Signed-off-by: JaimeLiao
---
drivers/mtd/spi/Kconfig| 6 ++
drivers/mtd/spi/spi-nor-core.c | 7 ++-
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/drivers/mtd/spi/Kconfig b/drivers/mtd/spi/Kconfig
index 67599b32c9..d850480401 100644
--- a/drivers
20v1.1.pdf
Signed-off-by: JaimeLiao
---
drivers/mtd/spi/Kconfig| 7 +++
drivers/mtd/spi/spi-nor-core.c | 83 ++
include/linux/mtd/spi-nor.h| 13 +-
3 files changed, 101 insertions(+), 2 deletions(-)
diff --git a/drivers/mtd/spi/Kconfig b/drive
RONIX with SPI_FLASH_MACRONIX_OCTAL for
spi_nor_macronix_octal_dtr_enable function.
v2:
add ret checking for write enable in spi_nor_macronix_octal_dtr_enable
function.
JaimeLiao (4):
mtd: spi-nor: macronix: add support for Macronix Octal
mtd: spi-nor-core: Adding different type of command
-Write and stack die
MX66UW : 1.8V Octal I/O with Read-while-Write and stack die
About LW/UW series, please contact us freely if you have any
questions. For adding Octal NOR Flash IDs, we have validated
each Flash on plateform zynq-picozed.
Signed-off-by: JaimeLiao
---
drivers/mtd/spi/spi-nor
Following linux kernel to check address width and 4byte flag to enable
4byte opcode setting.
Signed-off-by: JaimeLiao
---
drivers/mtd/spi/spi-nor-core.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/mtd/spi/spi-nor-core.c b/drivers/mtd/spi/spi-nor-core.c
index 707eb9c1d2
useful in the begging of probe.
Signed-off-by: JaimeLiao
---
drivers/mtd/spi/spi-nor-core.c | 30 ++
1 file changed, 30 insertions(+)
diff --git a/drivers/mtd/spi/spi-nor-core.c b/drivers/mtd/spi/spi-nor-core.c
index 351ca9c3a8..707eb9c1d2 100644
--- a/drivers/mtd/spi/spi
20v1.1.pdf
Signed-off-by: JaimeLiao
---
drivers/mtd/spi/spi-nor-core.c | 83 ++
include/linux/mtd/spi-nor.h| 13 +-
2 files changed, 94 insertions(+), 2 deletions(-)
diff --git a/drivers/mtd/spi/spi-nor-core.c b/drivers/mtd/spi/spi-nor-core.c
index
This series add support for Macronix octal DTR flash, add second time
Softreset with "INVERT" command extension type and follow linux kernel
to enable 4byte opcode when possible.
JaimeLiao (4):
mtd: spi-nor: macronix: add support for Macronix Octal flash
mtd: spi-nor-core: Adding
-Write and stack die
MX66UW : 1.8V Octal I/O with Read-while-Write and stack die
About LW/UW series, please contact us freely if you have any
questions. For adding Octal NOR Flash IDs, we have validated
each Flash on plateform zynq-picozed.
Signed-off-by: JaimeLiao
---
drivers/mtd/spi/spi-nor
Following linux kernel to check address width and 4byte flag to enable
4byte opcode setting.
Signed-off-by: JaimeLiao
---
drivers/mtd/spi/spi-nor-core.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/mtd/spi/spi-nor-core.c b/drivers/mtd/spi/spi-nor-core.c
index be6c58ad40
useful in the begging of probe.
Signed-off-by: JaimeLiao
---
drivers/mtd/spi/spi-nor-core.c | 30 ++
1 file changed, 30 insertions(+)
diff --git a/drivers/mtd/spi/spi-nor-core.c b/drivers/mtd/spi/spi-nor-core.c
index 6b195b1fd3..be6c58ad40 100644
--- a/drivers/mtd/spi/spi
Follow patch "f6adec1af4b2f5d3012480c6cdce7743b74a6156" for adding
Macronix flash in Octal DTR mode.
Enable Octal DTR mode with 20 dummy cycles to allow running at the
maximum supported frequency.
Signed-off-by: JaimeLiao
---
drivers/mtd/spi/spi-nor-c
This series add support for Macronix octal DTR flash, add second time
Softreset with "INVERT" command extension type and follow linux kernel
to enable 4byte opcode when possible.
JaimeLiao (4):
mtd: spi-nor: macronix: add support for Macronix octaflash
mtd: spi-nor-core: Adding diff
Hi Pratyush
In the [v10,14/27]
@@ -2767,7 +2858,10 @@ int spi_nor_scan(struct spi_nor *nor)
if (ret)
return ret;
-if (nor->addr_width) {
+if (spi_nor_protocol_is_dtr(nor->read_proto)) {
+
Jaime Liao/TAIWAN/MXIC 已在 2021/06/21 上午 09:59:29 上寫入:
> JaimeLiao 廖俊明/台灣/旺宏
> 2021/06/21 上午 09:59
>
> 收件人
>
> "Pratyush Yadav" ,
>
> 副本抄送
>
> chris.pack...@alliedtelesis.co.nz, chunfeng@mediatek.com,
> gss_mtk_uboot_upstr...@mediate
Hi Pratyush
> Hi,
>
> On 18/06/21 04:55PM, jaimel...@mxic.com.tw wrote:
> >
> > Hi Pratyush
> >
> >
> > +#ifdef CONFIG_SPI_FLASH_SOFT_RESET
> > +/**
> > + * spi_nor_soft_reset() - perform the JEDEC Software Reset sequence
> > + * @nor:the spi_nor structure
> > + *
> > + * Thi
Hi Pratyush
+#ifdef CONFIG_SPI_FLASH_SOFT_RESET
+/**
+ * spi_nor_soft_reset() - perform the JEDEC Software Reset sequence
+ * @nor:the spi_nor structure
+ *
+ * This function can be used to switch from Octal DTR mode to legacy mode
on a
+ * flash that supports it. The soft rese
Hi Miquel
> "Miquel Raynal"
> 2021/06/07 下午 02:13
>
> 收件人
>
> zhengxu...@mxic.com.tw,
>
> 副本抄送
>
> ja...@amarulasolutions.com, "Jaime Liao" , u-
> b...@lists.denx.de, vigne...@ti.com, ycl...@mxic.com.tw
>
> 主旨
>
> Re: [PATCH] mtd: spinand: macronix: Add support for serial NAND flash
>
>
47 matches
Mail list logo