mtd: spi-nor: winbond: Add support for w25q01jv-iq
Subsystems (2)
PATCH 1/1 mtd: spi-nor: winbond: Add support for w25q01jv-iq
Add support for winbond w25q01jv-iq chip
--- drivers/mtd/spi-nor/winbond.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/mtd/spi-nor/winbond.c +2 -0
@@ -104,6 +104,8 @@ static const struct flash_info winbond_parts[] = { SECT_4K | SPI_NOR_QUAD_READ | SPI_NOR_DUAL_READ) }, {"w25q512jvq" ,INFO (0xef4020 ,0 ,64 *1024 ,1024 , SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, + { "w25q01jv-iq", INFO(0xef4021, 0, 64 * 1024, 2048, + SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, };/**
Signature · 1 line
2.17.1
Quoted 12 lines · Potin Lai
Add support for winbond w25q01jv-iq chip
Signed-off-by Potin Lai <[email protected]>--- drivers/mtd/spi-nor/winbond.c | 2 ++ 1 file changed, 2 insertions(+)drivers/mtd/spi-nor/winbond.c +0
-0
drivers/mtd/spi-nor/winbond.c static const struct flash_info winbond_parts[] = { · line 108
Quoted 5 lines
drivers/mtd/spi-nor/winbond.c +2
-0@@ -104,6 +104,8 @@ static const struct flash_info winbond_parts[] = { SECT_4K | SPI_NOR_QUAD_READ | SPI_NOR_DUAL_READ) }, {"w25q512jvq" ,INFO (0xef4020 ,0 ,64 *1024 ,1024 , SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, + { "w25q01jv-iq", INFO(0xef4021, 0, 64 * 1024, 2048, + SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
We recently reworked how flags are set. Please use the new flags variants. See [0] If the flash supports SFDP then we prefer you only set the PARSE_SFDP flag. See [1].
You also need to show the dumps of the SFDP and other flash parameters. See [2].
[0] https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git/commit/?h=spi-nor/next&id=ec1c0e996035c8f93eca7bb64ccf0411b57fddea
[1] https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git/commit/?h=spi-nor/next&id=1c513c986b0a4c7151cb4571e568136f16c9dc58
[2] https://patchwork.ozlabs.org/project/linux-mtd/patch/[email protected]/
Quoted 6 lines
drivers/mtd/spi-nor/winbond.c +0
-0};/** Signature · 1 line
2.17.1
Signature · 3 lines
Regards, Pratyush Yadav Texas Instruments Inc.
Quoted 25 lines · Pratyush Yadav
EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
Quoted 12 lines · Potin Lai
Add support for winbond w25q01jv-iq chip
Signed-off-by Potin Lai <[email protected]>--- drivers/mtd/spi-nor/winbond.c | 2 ++ 1 file changed, 2 insertions(+)drivers/mtd/spi-nor/winbond.c +0
-0drivers/mtd/spi-nor/winbond.c static const struct flash_info winbond_parts[] = { · line 108
Quoted 5 lines
drivers/mtd/spi-nor/winbond.c +2
-0@@ -104,6 +104,8 @@ static const struct flash_info winbond_parts[] = { SECT_4K | SPI_NOR_QUAD_READ | SPI_NOR_DUAL_READ) }, {"w25q512jvq" ,INFO (0xef4020 ,0 ,64 *1024 ,1024 , SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, + { "w25q01jv-iq", INFO(0xef4021, 0, 64 * 1024, 2048, + SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },We recently reworked how flags are set. Please use the new flags variants. See [0] If the flash supports SFDP then we prefer you only set the
PARSE_SFDPflag. See [1].
Quoted 6 lines
You also need to show the dumps of the SFDP and other flash parameters. See [2].
[0] https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git/commit/?h=spi-nor/next&id=ec1c0e996035c8f93eca7bb64ccf0411b57fddea
[1] https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git/commit/?h=spi-nor/next&id=1c513c986b0a4c7151cb4571e568136f16c9dc58
[2] https://patchwork.ozlabs.org/project/linux-mtd/patch/[email protected]/
Thanks for the guidance, Pratyush, your hints are correct.
I'm in the process of updating the documentation where I'm adding some guidelines on how to submit a new flash proposal or how to update an existing flash_info entry. We'll be able to guide contributors to the SPI NOR documentation soon.
Cheers,
ta