Skip to content

m25p80,spi-nor: Fix module aliases for m25p80; clean up chip identification

Ben Hutchings linux-arm-kernel linux-mtd linux-spi 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5m25p80,spi-nor: Fix module aliases for m25p80drivers/mtd/devices/m25p80.c drivers/mtd/spi-nor/spi-nor.c include/linux/mtd/spi-nor.h+59 -75 replies
1/5m25p80,spi-nor: Fix module aliases for m25p80+0 -02 replies
2/5spi-nor: Remove spi_nor::read_id operationdrivers/mtd/spi-nor/spi-nor.c include/linux/mtd/spi-nor.h+1 -61 reply
2/5spi-nor: Remove spi_nor::read_id operation+0 -00 replies
3/5spi-nor: Make spi_nor_scan() take a chip type name, not an spi_device_iddrivers/mtd/devices/m25p80.c drivers/mtd/spi-nor/fsl-quadspi.c drivers/mtd/spi-nor/spi-nor.c +1 more+19 -440 replies
4/5spi-nor: Replace struct spi_device_id with struct flash_infodrivers/mtd/devices/m25p80.c drivers/mtd/spi-nor/spi-nor.c+172 -1740 replies
5/5m25p80,spi-nor: Share the list of supported chip type names againdrivers/mtd/devices/m25p80.c drivers/mtd/spi-nor/spi-nor.c include/linux/mtd/spi-nor.h+227 -1791 reply
5/5m25p80,spi-nor: Share the list of supported chip type names again+0 -01 reply
5/5m25p80,spi-nor: Share the list of supported chip type names again+0 -00 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/5] m25p80,spi-nor: Fix module aliases for m25p80; clean up chip identification

The first patch in the series restores the module aliases to m25p80, but it does so by duplicating the list of names. This should be suitable for stable, but it isn't viable in the longer term.

The following patches change the spi-nor interface so that this duplication is no longer necessary. This includes removing spi_nor::read_id, but it could be re-added after this with a different interface, e.g. returning a flash_info structure (which would need to be defined in spi_nor.h).

Ben.

Ben Hutchings (5):
m25p80,spi-nor: Fix module aliases for m25p80
spi-nor: Remove spi_nor::read_id operation
spi-nor: Make spi_nor_scan() take a chip type name, not an
spi_device_id
spi-nor: Replace struct spi_device_id with struct flash_info m25p80,spi-nor: Share the list of supported chip type names again

 drivers/mtd/devices/m25p80.c      |  13 +-
 drivers/mtd/spi-nor/fsl-quadspi.c |   7 +-
 drivers/mtd/spi-nor/spi-nor.c     | 383 +++++++++++++++++++-------------------
 include/linux/mtd/spi-nor.h       |  87 +++++++--
 4 files changed, 279 insertions(+), 211 deletions(-)
Signature · 9 lines
Ben Hutchings
The world is coming to an end.	Please log off.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 811 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140914/e8d08292/attachment.sig>