[PATCH] mtd: spi-nor: atmel: add at25dn011

Michael Walle mwalle at kernel.org
Thu Oct 16 23:44:18 PDT 2025


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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 297 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20251017/cf9b603b/attachment.sig>


More information about the linux-mtd mailing list