* [PATCH] mtd: spi-nor: atmel: add at25dn011
@ 2025-10-17 6:05 Simon Richter
2025-10-17 6:44 ` Michael Walle
0 siblings, 1 reply; 2+ messages in thread
From: Simon Richter @ 2025-10-17 6:05 UTC (permalink / raw)
To: Tudor Ambarus, Pratyush Yadav, Michael Walle, Miquel Raynal,
Richard Weinberger, Vignesh Raghavendra, Nicolas Ferre,
Alexandre Belloni, Claudiu Beznea, linux-mtd, linux-arm-kernel,
linux-kernel
Cc: Marcus Folkesson, Simon Richter
Add AT25DN011 with 1Mbit.
Used on multiple custom boards and tested with this patch.
Link: https://www.renesas.com/en/document/dst/at25dn011-datasheet?r=1608506
Signed-off-by: Simon Richter <simon@sinic.eu>
---
drivers/mtd/spi-nor/atmel.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/mtd/spi-nor/atmel.c b/drivers/mtd/spi-nor/atmel.c
index 82c592f0a1e1..0c2908bce0bc 100644
--- a/drivers/mtd/spi-nor/atmel.c
+++ b/drivers/mtd/spi-nor/atmel.c
@@ -171,6 +171,11 @@ static const struct flash_info atmel_nor_parts[] = {
.name = "at45db081d",
.size = SZ_1M,
.no_sfdp_flags = SECT_4K,
+ }, {
+ .id = SNOR_ID(0x1f, 0x42, 0x00),
+ .name = "at25dn011",
+ .size = SZ_128K,
+ .no_sfdp_flags = SECT_4K | SPI_NOR_DUAL_READ
}, {
.id = SNOR_ID(0x1f, 0x42, 0x16),
.name = "at25sl321",
--
2.51.0
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] mtd: spi-nor: atmel: add at25dn011
2025-10-17 6:05 [PATCH] mtd: spi-nor: atmel: add at25dn011 Simon Richter
@ 2025-10-17 6:44 ` Michael Walle
0 siblings, 0 replies; 2+ messages in thread
From: Michael Walle @ 2025-10-17 6:44 UTC (permalink / raw)
To: Simon Richter, Tudor Ambarus, Pratyush Yadav, Miquel Raynal,
Richard Weinberger, Vignesh Raghavendra, Nicolas Ferre,
Alexandre Belloni, Claudiu Beznea, linux-mtd, linux-arm-kernel,
linux-kernel
Cc: Marcus Folkesson
[-- Attachment #1.1: Type: text/plain, Size: 1269 bytes --]
Hi Simon,
On Fri Oct 17, 2025 at 8:05 AM CEST, Simon Richter wrote:
> Add AT25DN011 with 1Mbit.
> Used on multiple custom boards and tested with this patch.
Could you add your testing to the next version of your patch (below
a "---" line). See also [1].
>
> Link: https://www.renesas.com/en/document/dst/at25dn011-datasheet?r=1608506
Newer flash and no SFDP :|
> Signed-off-by: Simon Richter <simon@sinic.eu>
> ---
> drivers/mtd/spi-nor/atmel.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/drivers/mtd/spi-nor/atmel.c b/drivers/mtd/spi-nor/atmel.c
> index 82c592f0a1e1..0c2908bce0bc 100644
> --- a/drivers/mtd/spi-nor/atmel.c
> +++ b/drivers/mtd/spi-nor/atmel.c
> @@ -171,6 +171,11 @@ static const struct flash_info atmel_nor_parts[] = {
> .name = "at45db081d",
> .size = SZ_1M,
> .no_sfdp_flags = SECT_4K,
> + }, {
> + .id = SNOR_ID(0x1f, 0x42, 0x00),
> + .name = "at25dn011",
No .name please, the ID is enough. We've deprecated the use of a
name.
> + .size = SZ_128K,
> + .no_sfdp_flags = SECT_4K | SPI_NOR_DUAL_READ
missing trailing comma.
-michael
> }, {
> .id = SNOR_ID(0x1f, 0x42, 0x16),
> .name = "at25sl321",
[1] https://docs.kernel.org/driver-api/mtd/spi-nor.html
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 297 bytes --]
[-- Attachment #2: Type: text/plain, Size: 144 bytes --]
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-10-17 6:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-17 6:05 [PATCH] mtd: spi-nor: atmel: add at25dn011 Simon Richter
2025-10-17 6:44 ` Michael Walle
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).