[PATCH v2] mtd: spi-nor: Add Puya Semiconductor chips driver

Dmitry Dunaev dunaev at tecon.ru
Mon Feb 26 04:11:47 PST 2024


On Mon, Feb 26, 2024 at 01:27:35PM +0200, Tudor Ambarus wrote:
> + linux-mtd
> 
> Please do not send private emails on matters that are not private.
> 
> On 26.02.2024 13:09, Dmitry Dunaev wrote:
> > On Mon, Feb 26, 2024 at 12:43:58PM +0200, Tudor Ambarus wrote:
> >>
> >>
> >> On 26.02.2024 12:40, Dmitry Dunaev wrote:
> >>> Add a SPI NOR manufacturer driver for Puya Semiconductor chips
> >>>
> >>> Signed-off-by: Dmitry Dunaev <dunaev at tecon.ru>
> >>> ---
> >>>  drivers/mtd/spi-nor/Makefile |  1 +
> >>>  drivers/mtd/spi-nor/core.c   |  1 +
> >>>  drivers/mtd/spi-nor/core.h   |  1 +
> >>>  drivers/mtd/spi-nor/puya.c   | 64 ++++++++++++++++++++++++++++++++++++
> >>>  4 files changed, 67 insertions(+)
> >>>  create mode 100644 drivers/mtd/spi-nor/puya.c
> >>
> >> what changed in v2? why do you need these entries? Can you rely instead
> >> on SFDP to initialize these flashes?
> > 
> > In first patch I missed core.{c,h} with Puya flashes structures.
> > 
> > And about SFDP on Puya flashes. We try to call DP command on p25q16uc
> 
> what's DP command? SFDP read?

Yes, SFDP (0x5A)

> 
> > flash and got no answer. It may be a bad chip pack or other matter but
> > now we need a manual description for this chips.
> > 
> > If this issue occured only in my case we can skip this patch.
> 
> It's first time I hear about puya semiconductor. Please follow the
> documentation that I've sent in the previous email and dump all the
> required data.

I can't send sfdp data block because I can't get it from my Puya chips.
The datasheets for Puya chips can be found at it's original site https://www.puyasemi.com/h_xilie715.html
but at now there is an error to access to any pdf files on this site. The saved datasheets can be
downloaded from sellers, for example https://datasheet.lcsc.com/lcsc/2304140030_PUYA--P25Q16H-SUH-IR_C559219.pdf




More information about the linux-mtd mailing list