Skip to content

m25p80, spi-nor: Add SFDP detect method for Macronix chips

Jim Kuo linux-mtd lkml 1 version NAK

Status from this message: Nak.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesNAK

Patches in v1

#Subject and filesSizeRepliesApplied
1/2m25p80, spi-nor: Update id list of Macronix chipsdrivers/mtd/devices/m25p80.c drivers/mtd/spi-nor/spi-nor.c+110 -174 replies
2/2spi-nor: Add SFDP detect methoddrivers/mtd/spi-nor/Kconfig drivers/mtd/spi-nor/spi-nor.c include/linux/mtd/spi-nor.h+899 -430 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] m25p80, spi-nor: Add SFDP detect method for Macronix chips

Hi linux-pm,

The serial flash discoverable parameters (SFDP) is needed to spi nor devices for some specific features. I added some sfdp structure and detect method. I have separated the chip IDs and sfdp detect method to two patches.

Patch 1 (m25p80, spi-nor: Update id list of Macronix chips) mainly updates the id table to support Macronix chips. Patch 2 includes the main sfdp functions and Macronix commands.

The code have been tested on lower version Linux and can successfully work with Macronix chips.

Thanks for review!

Jim Kuo (2):
m25p80, spi-nor: Update id list of Macronix chips
spi-nor: Add SFDP detect method

 drivers/mtd/devices/m25p80.c  |  83 ++++-
 drivers/mtd/spi-nor/Kconfig   |  11 +
 drivers/mtd/spi-nor/spi-nor.c | 774 +++++++++++++++++++++++++++++++++++++++---
 include/linux/mtd/spi-nor.h   | 201 +++++++++++
 4 files changed, 1009 insertions(+), 60 deletions(-)
Signature · 1 line
1.9.1