[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220513133520.3945820-1-michael@walle.cc>
Date: Fri, 13 May 2022 15:35:14 +0200
From: Michael Walle <michael@...le.cc>
To: Tudor Ambarus <tudor.ambarus@...rochip.com>,
Pratyush Yadav <p.yadav@...com>,
Michael Walle <michael@...le.cc>,
Miquel Raynal <miquel.raynal@...tlin.com>,
Richard Weinberger <richard@....at>,
Vignesh Raghavendra <vigneshr@...com>
Cc: linux-kernel@...r.kernel.org, linux-mtd@...ts.infradead.org
Subject: [PATCH 0/6] 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.
Michael Walle (6):
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: 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 | 18 +++++++++++++
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, 77 insertions(+), 4 deletions(-)
--
2.30.2
Powered by blists - more mailing lists