[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220810220654.1297699-1-michael@walle.cc>
Date: Thu, 11 Aug 2022 00:06:47 +0200
From: Michael Walle <michael@...le.cc>
To: Tudor Ambarus <tudor.ambarus@...rochip.com>,
Pratyush Yadav <pratyush@...nel.org>
Cc: Miquel Raynal <miquel.raynal@...tlin.com>,
Richard Weinberger <richard@....at>,
Vignesh Raghavendra <vigneshr@...com>,
linux-kernel@...r.kernel.org, linux-mtd@...ts.infradead.org,
Michael Walle <michael@...le.cc>
Subject: [PATCH v2 0/7] mtd: spi-nor: generic flash driver
Add a generic flash driver, which is used when we don't find a matching
flash in our database. All the basic features of a flash can be discovered
by SFDP and most (if not all) newer flashes support it.
changes since v1:
- fix doc prototype mistake reported by the kernel test robot
- preset page_size to 256 to support flashes which just have
SFDP data corresponding to JESD216A
- add new patch
mtd: spi-nor: fix select_uniform_erase to skip 0 erase size
- add function doc to explain wanted_size=0 in
spi_nor_select_uniform_erase()
Michael Walle (7):
mtd: spi-nor: hide jedec_id sysfs attribute if not present
mtd: spi-nor: sysfs: hide manufacturer if it is not set
mtd: spi-nor: remember full JEDEC flash ID
mtd: spi-nor: move function declaration out of sfdp.h
mtd: spi-nor: fix select_uniform_erase to skip 0 erase size
mtd: spi-nor: add generic flash driver
mtd: spi-nor: sysfs: print JEDEC ID for generic flash driver
.../ABI/testing/sysfs-bus-spi-devices-spi-nor | 6 ++++
drivers/mtd/spi-nor/core.c | 35 +++++++++++++++++--
drivers/mtd/spi-nor/core.h | 3 ++
drivers/mtd/spi-nor/debugfs.c | 2 +-
drivers/mtd/spi-nor/sfdp.c | 27 ++++++++++++++
drivers/mtd/spi-nor/sfdp.h | 2 --
drivers/mtd/spi-nor/sysfs.c | 20 ++++++++++-
include/linux/mtd/spi-nor.h | 3 ++
8 files changed, 92 insertions(+), 6 deletions(-)
--
2.30.2
Powered by blists - more mailing lists