[PATCH] mtd: spi-nor: infineon: add Cypress (Ramtron) CY15B102QN F-RAM support

Sverdlin, Alexander alexander.sverdlin at siemens.com
Thu Sep 26 01:24:45 PDT 2024


Hi Michael,

On Wed, 2024-09-25 at 21:19 +0200, Michael Walle wrote:
> > > > Similar sad story as with "cy15x104q" where JEDEC ID comes last-byte-first.
> > > 
> > > Please have a look at
> > > https://lore.kernel.org/linux-mtd/20240729102016.8527-2-alessandro.zini@siemens.com/
> > > 
> > > TLDR, please have a look at at25.c.
> > 
> > It unfortunately doesn't work with SPI host drivers which only 
> > implement spi-mem API.
> > Or did I miss something? Otherwise "cy15x104q" could also be handled by 
> > at25.c.
> 
> The solution here is to add spi-mem support to the at25 driver :) Maybe 
> you
> can work together wit Hui Wang [1].
> 
> -michael
> 
> [1] 
> https://lore.kernel.org/linux-mtd/20240408124328.777375-1-hui.wang@canonical.com/

thanks for the reference!

FWIW, F-RAMs can work without SPI_NOR_NO_ERASE flag, so neither is it blocking point
to remove it, nor will it be broken by such removal. Even though they do not support
the command, they seem to simply ignore unknown commands and do not alter BUSY/READY
status bit.

But I've got your point and can look into it with lower prio...

-- 
Alexander Sverdlin
Siemens AG
www.siemens.com


More information about the linux-mtd mailing list