* [PATCH v2 1/2] mtd: spi-nor: Add support for EN25Q80A
@ 2019-02-18 12:04 Schrempf Frieder
2019-02-18 12:04 ` [PATCH v2 2/2] mtd: spi-nor: Add support for MX25V8035F Schrempf Frieder
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Schrempf Frieder @ 2019-02-18 12:04 UTC (permalink / raw)
To: Tudor.Ambarus, Marek Vasut
Cc: Boris Brezillon, Richard Weinberger, linux-kernel,
Schrempf Frieder, linux-mtd, Brian Norris, David Woodhouse
From: Frieder Schrempf <frieder.schrempf@kontron.de>
This adds support for the EON EN25Q80A, a 8Mb SPI NOR chip.
It is used on i.MX6 boards by Kontron Electronics GmbH
(N60xx, N61xx).
It was only tested with a single data line connected, by writing and
reading random data with dd.
Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
---
Changes in v2:
==============
* Add information about boards using the chip and testing to the commit
message
* Remove SPI_NOR_QUAD_READ as the chip does not support 1_1_4 read
command (0x6b)
* Move the entry after en25q64 for alphabetical order
---
drivers/mtd/spi-nor/spi-nor.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
index 6e13bbd1aaa5..7d7436facc57 100644
--- a/drivers/mtd/spi-nor/spi-nor.c
+++ b/drivers/mtd/spi-nor/spi-nor.c
@@ -1740,6 +1740,8 @@ static const struct flash_info spi_nor_ids[] = {
{ "en25q32b", INFO(0x1c3016, 0, 64 * 1024, 64, 0) },
{ "en25p64", INFO(0x1c2017, 0, 64 * 1024, 128, 0) },
{ "en25q64", INFO(0x1c3017, 0, 64 * 1024, 128, SECT_4K) },
+ { "en25q80a", INFO(0x1c3014, 0, 64 * 1024, 16,
+ SECT_4K | SPI_NOR_DUAL_READ) },
{ "en25qh32", INFO(0x1c7016, 0, 64 * 1024, 64, 0) },
{ "en25qh128", INFO(0x1c7018, 0, 64 * 1024, 256, 0) },
{ "en25qh256", INFO(0x1c7019, 0, 64 * 1024, 512, 0) },
--
2.17.1
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH v2 2/2] mtd: spi-nor: Add support for MX25V8035F
2019-02-18 12:04 [PATCH v2 1/2] mtd: spi-nor: Add support for EN25Q80A Schrempf Frieder
@ 2019-02-18 12:04 ` Schrempf Frieder
2019-02-20 20:49 ` Tudor.Ambarus
2019-02-21 7:59 ` [v2,2/2] " Boris Brezillon
2019-02-20 20:44 ` [PATCH v2 1/2] mtd: spi-nor: Add support for EN25Q80A Tudor.Ambarus
2019-02-21 7:59 ` [v2,1/2] " Boris Brezillon
2 siblings, 2 replies; 6+ messages in thread
From: Schrempf Frieder @ 2019-02-18 12:04 UTC (permalink / raw)
To: Tudor.Ambarus, Marek Vasut
Cc: Boris Brezillon, Richard Weinberger, linux-kernel,
Schrempf Frieder, linux-mtd, Brian Norris, David Woodhouse
From: Frieder Schrempf <frieder.schrempf@kontron.de>
This adds support for the Macronix MX25V8035F, a 8Mb SPI NOR chip.
It is used on i.MX6UL/ULL SoMs by Kontron Electronics GmbH (N631x).
It was only tested with a single data line connected, by writing and
reading random data with dd.
Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
---
Changes in v2:
==============
* Add information about boards using the chip and testing to the commit
message
---
drivers/mtd/spi-nor/spi-nor.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
index 7d7436facc57..44be34c1d2c3 100644
--- a/drivers/mtd/spi-nor/spi-nor.c
+++ b/drivers/mtd/spi-nor/spi-nor.c
@@ -1849,6 +1849,8 @@ static const struct flash_info spi_nor_ids[] = {
SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ)
.fixups = &mx25l25635_fixups },
{ "mx25u25635f", INFO(0xc22539, 0, 64 * 1024, 512, SECT_4K | SPI_NOR_4B_OPCODES) },
+ { "mx25v8035f", INFO(0xc22314, 0, 64 * 1024, 16,
+ SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
{ "mx25l25655e", INFO(0xc22619, 0, 64 * 1024, 512, 0) },
{ "mx66l51235l", INFO(0xc2201a, 0, 64 * 1024, 1024, SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) },
{ "mx66u51235f", INFO(0xc2253a, 0, 64 * 1024, 1024, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) },
--
2.17.1
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH v2 1/2] mtd: spi-nor: Add support for EN25Q80A
2019-02-18 12:04 [PATCH v2 1/2] mtd: spi-nor: Add support for EN25Q80A Schrempf Frieder
2019-02-18 12:04 ` [PATCH v2 2/2] mtd: spi-nor: Add support for MX25V8035F Schrempf Frieder
@ 2019-02-20 20:44 ` Tudor.Ambarus
2019-02-21 7:59 ` [v2,1/2] " Boris Brezillon
2 siblings, 0 replies; 6+ messages in thread
From: Tudor.Ambarus @ 2019-02-20 20:44 UTC (permalink / raw)
To: frieder.schrempf, marek.vasut
Cc: bbrezillon, richard, linux-kernel, linux-mtd, computersforpeace, dwmw2
On 02/18/2019 02:04 PM, Schrempf Frieder wrote:
> From: Frieder Schrempf <frieder.schrempf@kontron.de>
>
> This adds support for the EON EN25Q80A, a 8Mb SPI NOR chip.
> It is used on i.MX6 boards by Kontron Electronics GmbH
> (N60xx, N61xx).
> It was only tested with a single data line connected, by writing and
> reading random data with dd.
>
> Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Reviewed-by: Tudor Ambarus <tudor.ambarus@microchip.com>
> ---
> Changes in v2:
> ==============
> * Add information about boards using the chip and testing to the commit
> message
> * Remove SPI_NOR_QUAD_READ as the chip does not support 1_1_4 read
> command (0x6b)
> * Move the entry after en25q64 for alphabetical order
> ---
> drivers/mtd/spi-nor/spi-nor.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
> index 6e13bbd1aaa5..7d7436facc57 100644
> --- a/drivers/mtd/spi-nor/spi-nor.c
> +++ b/drivers/mtd/spi-nor/spi-nor.c
> @@ -1740,6 +1740,8 @@ static const struct flash_info spi_nor_ids[] = {
> { "en25q32b", INFO(0x1c3016, 0, 64 * 1024, 64, 0) },
> { "en25p64", INFO(0x1c2017, 0, 64 * 1024, 128, 0) },
> { "en25q64", INFO(0x1c3017, 0, 64 * 1024, 128, SECT_4K) },
> + { "en25q80a", INFO(0x1c3014, 0, 64 * 1024, 16,
> + SECT_4K | SPI_NOR_DUAL_READ) },
> { "en25qh32", INFO(0x1c7016, 0, 64 * 1024, 64, 0) },
> { "en25qh128", INFO(0x1c7018, 0, 64 * 1024, 256, 0) },
> { "en25qh256", INFO(0x1c7019, 0, 64 * 1024, 512, 0) },
>
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v2 2/2] mtd: spi-nor: Add support for MX25V8035F
2019-02-18 12:04 ` [PATCH v2 2/2] mtd: spi-nor: Add support for MX25V8035F Schrempf Frieder
@ 2019-02-20 20:49 ` Tudor.Ambarus
2019-02-21 7:59 ` [v2,2/2] " Boris Brezillon
1 sibling, 0 replies; 6+ messages in thread
From: Tudor.Ambarus @ 2019-02-20 20:49 UTC (permalink / raw)
To: frieder.schrempf, marek.vasut
Cc: bbrezillon, richard, linux-kernel, linux-mtd, computersforpeace, dwmw2
On 02/18/2019 02:04 PM, Schrempf Frieder wrote:
> From: Frieder Schrempf <frieder.schrempf@kontron.de>
>
> This adds support for the Macronix MX25V8035F, a 8Mb SPI NOR chip.
> It is used on i.MX6UL/ULL SoMs by Kontron Electronics GmbH (N631x).
> It was only tested with a single data line connected, by writing and
> reading random data with dd.
>
> Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Reviewed-by: Tudor Ambarus <tudor.ambarus@microchip.com>
> ---
> Changes in v2:
> ==============
> * Add information about boards using the chip and testing to the commit
> message
> ---
> drivers/mtd/spi-nor/spi-nor.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
> index 7d7436facc57..44be34c1d2c3 100644
> --- a/drivers/mtd/spi-nor/spi-nor.c
> +++ b/drivers/mtd/spi-nor/spi-nor.c
> @@ -1849,6 +1849,8 @@ static const struct flash_info spi_nor_ids[] = {
> SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ)
> .fixups = &mx25l25635_fixups },
> { "mx25u25635f", INFO(0xc22539, 0, 64 * 1024, 512, SECT_4K | SPI_NOR_4B_OPCODES) },
> + { "mx25v8035f", INFO(0xc22314, 0, 64 * 1024, 16,
> + SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
> { "mx25l25655e", INFO(0xc22619, 0, 64 * 1024, 512, 0) },
> { "mx66l51235l", INFO(0xc2201a, 0, 64 * 1024, 1024, SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) },
> { "mx66u51235f", INFO(0xc2253a, 0, 64 * 1024, 1024, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) },
>
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [v2,2/2] mtd: spi-nor: Add support for MX25V8035F
2019-02-18 12:04 ` [PATCH v2 2/2] mtd: spi-nor: Add support for MX25V8035F Schrempf Frieder
2019-02-20 20:49 ` Tudor.Ambarus
@ 2019-02-21 7:59 ` Boris Brezillon
1 sibling, 0 replies; 6+ messages in thread
From: Boris Brezillon @ 2019-02-21 7:59 UTC (permalink / raw)
To: Schrempf Frieder, Tudor.Ambarus, Marek Vasut
Cc: Boris Brezillon, Richard Weinberger, linux-kernel, linux-mtd,
Brian Norris, David Woodhouse
From: Boris Brezillon <bbrezillon@kernel.org>
On Mon, 2019-02-18 at 12:04:43 UTC, Schrempf Frieder wrote:
> From: Frieder Schrempf <frieder.schrempf@kontron.de>
>
> This adds support for the Macronix MX25V8035F, a 8Mb SPI NOR chip.
> It is used on i.MX6UL/ULL SoMs by Kontron Electronics GmbH (N631x).
> It was only tested with a single data line connected, by writing and
> reading random data with dd.
>
> Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
> Reviewed-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Applied to http://git.infradead.org/linux-mtd.git spi-nor/next, thanks.
Boris
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [v2,1/2] mtd: spi-nor: Add support for EN25Q80A
2019-02-18 12:04 [PATCH v2 1/2] mtd: spi-nor: Add support for EN25Q80A Schrempf Frieder
2019-02-18 12:04 ` [PATCH v2 2/2] mtd: spi-nor: Add support for MX25V8035F Schrempf Frieder
2019-02-20 20:44 ` [PATCH v2 1/2] mtd: spi-nor: Add support for EN25Q80A Tudor.Ambarus
@ 2019-02-21 7:59 ` Boris Brezillon
2 siblings, 0 replies; 6+ messages in thread
From: Boris Brezillon @ 2019-02-21 7:59 UTC (permalink / raw)
To: Schrempf Frieder, Tudor.Ambarus, Marek Vasut
Cc: Boris Brezillon, Richard Weinberger, linux-kernel, linux-mtd,
Brian Norris, David Woodhouse
From: Boris Brezillon <bbrezillon@kernel.org>
On Mon, 2019-02-18 at 12:04:43 UTC, Schrempf Frieder wrote:
> From: Frieder Schrempf <frieder.schrempf@kontron.de>
>
> This adds support for the EON EN25Q80A, a 8Mb SPI NOR chip.
> It is used on i.MX6 boards by Kontron Electronics GmbH
> (N60xx, N61xx).
> It was only tested with a single data line connected, by writing and
> reading random data with dd.
>
> Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
> Reviewed-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Applied to http://git.infradead.org/linux-mtd.git spi-nor/next, thanks.
Boris
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2019-02-21 7:59 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-18 12:04 [PATCH v2 1/2] mtd: spi-nor: Add support for EN25Q80A Schrempf Frieder
2019-02-18 12:04 ` [PATCH v2 2/2] mtd: spi-nor: Add support for MX25V8035F Schrempf Frieder
2019-02-20 20:49 ` Tudor.Ambarus
2019-02-21 7:59 ` [v2,2/2] " Boris Brezillon
2019-02-20 20:44 ` [PATCH v2 1/2] mtd: spi-nor: Add support for EN25Q80A Tudor.Ambarus
2019-02-21 7:59 ` [v2,1/2] " Boris Brezillon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).