From: <Tudor.Ambarus@microchip.com>
To: <bbrezillon@kernel.org>, <vigneshr@ti.com>,
<linux-mtd@lists.infradead.org>
Cc: <miquel.raynal@bootlin.com>, <richard@nod.at>, <joel@jms.id.au>,
<andrew@aj.id.au>, <Nicolas.Ferre@microchip.com>,
<alexandre.belloni@bootlin.com>,
<Ludovic.Desroches@microchip.com>, <matthias.bgg@gmail.com>,
<vz@mleia.com>, <michal.simek@xilinx.com>, <ludovic.barre@st.com>,
<john.garry@huawei.com>, <tglx@linutronix.de>,
<nishkadg.linux@gmail.com>, <michael@walle.cc>,
<dinguyen@kernel.org>, <thor.thayer@linux.intel.com>,
<swboyd@chromium.org>, <opensource@jilayne.com>,
<mika.westerberg@linux.intel.com>, <kstewart@linuxfoundation.org>,
<allison@lohutok.net>, <jethro@fortanix.com>, <info@metux.net>,
<alexander.sverdlin@nokia.com>, <rfontana@redhat.com>,
<linux-kernel@vger.kernel.org>,
<linux-mediatek@lists.infradead.org>,
<linux-aspeed@lists.ozlabs.org>,
<linux-arm-kernel@lists.infradead.org>,
<Tudor.Ambarus@microchip.com>
Subject: [PATCH 00/23] mtd: spi-nor: Move manufacturer/SFDP code out of the core
Date: Mon, 2 Mar 2020 18:07:44 +0000 [thread overview]
Message-ID: <20200302180730.1886678-1-tudor.ambarus@microchip.com> (raw)
From: Tudor Ambarus <tudor.ambarus@microchip.com>
Hello,
This patch series is an attempt at getting all manufacturer specific
quirks/code out of the core to make the core logic more readable and
thus ease maintainance.
This is a respin of the last chunk of Boris's work from
https://patchwork.ozlabs.org/cover/1009290/.
Tested an erase-write-read-compare with a 1MB file on the following
flashes: mx25l25635e, w25q128, n25q256a, is25lp256, s25fl256s0,
gd25q256.
Boris Brezillon (21):
mtd: spi-nor: Stop prefixing generic functions with a manufacturer
name
mtd: spi-nor: Prepare core / manufacturer code split
mtd: spi-nor: Expose stuctures and functions to manufacturer drivers
mtd: spi-nor: Add the concept of SPI NOR manufacturer driver
mtd: spi-nor: Move Atmel bits out of core.c
mtd: spi-nor: Move Eon bits out of core.c
mtd: spi-nor: Move ESMT bits out of core.c
mtd: spi-nor: Move Everspin bits out of core.c
mtd: spi-nor: Move Fujitsu bits out of core.c
mtd: spi-nor: Move GigaDevice bits out of core.c
mtd: spi-nor: Move Intel bits out of core.c
mtd: spi-nor: Move ISSI bits out of core.c
mtd: spi-nor: Move Macronix bits out of core.c
mtd: spi-nor: Move Micron/ST bits out of core.c
mtd: spi-nor: Move Spansion bits out of core.c
mtd: spi-nor: Move SST bits out of core.c
mtd: spi-nor: Move Winbond bits out of core.c
mtd: spi-nor: Move Catalyst bits out of core.c
mtd: spi-nor: Move Xilinx bits out of core.c
mtd: spi-nor: Move XMC bits out of core.c
mtd: spi-nor: Get rid of the now empty spi_nor_ids[] table
Tudor Ambarus (2):
mtd: spi-nor: Move SFDP logic out of the core
mtd: spi-nor: Trim what is exposed in spi-nor.h
drivers/mtd/spi-nor/Kconfig | 83 +-
drivers/mtd/spi-nor/Makefile | 26 +-
drivers/mtd/spi-nor/atmel.c | 46 +
drivers/mtd/spi-nor/catalyst.c | 29 +
drivers/mtd/spi-nor/controllers/Kconfig | 83 +
drivers/mtd/spi-nor/controllers/Makefile | 9 +
.../spi-nor/{ => controllers}/aspeed-smc.c | 0
.../{ => controllers}/cadence-quadspi.c | 0
.../mtd/spi-nor/{ => controllers}/hisi-sfc.c | 0
.../spi-nor/{ => controllers}/intel-spi-pci.c | 0
.../{ => controllers}/intel-spi-platform.c | 0
.../mtd/spi-nor/{ => controllers}/intel-spi.c | 0
.../mtd/spi-nor/{ => controllers}/intel-spi.h | 0
.../spi-nor/{ => controllers}/mtk-quadspi.c | 0
.../mtd/spi-nor/{ => controllers}/nxp-spifi.c | 0
drivers/mtd/spi-nor/{spi-nor.c => core.c} | 2503 ++---------------
drivers/mtd/spi-nor/core.h | 432 +++
drivers/mtd/spi-nor/eon.c | 34 +
drivers/mtd/spi-nor/esmt.c | 25 +
drivers/mtd/spi-nor/everspin.c | 27 +
drivers/mtd/spi-nor/fujitsu.c | 20 +
drivers/mtd/spi-nor/gigadevice.c | 59 +
drivers/mtd/spi-nor/intel.c | 32 +
drivers/mtd/spi-nor/issi.c | 83 +
drivers/mtd/spi-nor/macronix.c | 98 +
drivers/mtd/spi-nor/micron-st.c | 129 +
drivers/mtd/spi-nor/sfdp.c | 1206 ++++++++
drivers/mtd/spi-nor/sfdp.h | 98 +
drivers/mtd/spi-nor/spansion.c | 95 +
drivers/mtd/spi-nor/sst.c | 151 +
drivers/mtd/spi-nor/winbond.c | 113 +
drivers/mtd/spi-nor/xilinx.c | 94 +
drivers/mtd/spi-nor/xmc.c | 23 +
include/linux/mtd/spi-nor.h | 257 +-
34 files changed, 3121 insertions(+), 2634 deletions(-)
create mode 100644 drivers/mtd/spi-nor/atmel.c
create mode 100644 drivers/mtd/spi-nor/catalyst.c
create mode 100644 drivers/mtd/spi-nor/controllers/Kconfig
create mode 100644 drivers/mtd/spi-nor/controllers/Makefile
rename drivers/mtd/spi-nor/{ => controllers}/aspeed-smc.c (100%)
rename drivers/mtd/spi-nor/{ => controllers}/cadence-quadspi.c (100%)
rename drivers/mtd/spi-nor/{ => controllers}/hisi-sfc.c (100%)
rename drivers/mtd/spi-nor/{ => controllers}/intel-spi-pci.c (100%)
rename drivers/mtd/spi-nor/{ => controllers}/intel-spi-platform.c (100%)
rename drivers/mtd/spi-nor/{ => controllers}/intel-spi.c (100%)
rename drivers/mtd/spi-nor/{ => controllers}/intel-spi.h (100%)
rename drivers/mtd/spi-nor/{ => controllers}/mtk-quadspi.c (100%)
rename drivers/mtd/spi-nor/{ => controllers}/nxp-spifi.c (100%)
rename drivers/mtd/spi-nor/{spi-nor.c => core.c} (52%)
create mode 100644 drivers/mtd/spi-nor/core.h
create mode 100644 drivers/mtd/spi-nor/eon.c
create mode 100644 drivers/mtd/spi-nor/esmt.c
create mode 100644 drivers/mtd/spi-nor/everspin.c
create mode 100644 drivers/mtd/spi-nor/fujitsu.c
create mode 100644 drivers/mtd/spi-nor/gigadevice.c
create mode 100644 drivers/mtd/spi-nor/intel.c
create mode 100644 drivers/mtd/spi-nor/issi.c
create mode 100644 drivers/mtd/spi-nor/macronix.c
create mode 100644 drivers/mtd/spi-nor/micron-st.c
create mode 100644 drivers/mtd/spi-nor/sfdp.c
create mode 100644 drivers/mtd/spi-nor/sfdp.h
create mode 100644 drivers/mtd/spi-nor/spansion.c
create mode 100644 drivers/mtd/spi-nor/sst.c
create mode 100644 drivers/mtd/spi-nor/winbond.c
create mode 100644 drivers/mtd/spi-nor/xilinx.c
create mode 100644 drivers/mtd/spi-nor/xmc.c
--
2.23.0
next reply other threads:[~2020-03-02 18:07 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-02 18:07 Tudor.Ambarus [this message]
2020-03-02 18:07 ` [PATCH 01/23] mtd: spi-nor: Stop prefixing generic functions with a manufacturer name Tudor.Ambarus
2020-03-13 6:04 ` Vignesh Raghavendra
2020-03-13 9:30 ` Boris Brezillon
2020-03-13 14:30 ` Tudor.Ambarus
2020-03-13 15:50 ` Tudor.Ambarus
2020-03-02 18:07 ` [PATCH 02/23] mtd: spi-nor: Prepare core / manufacturer code split Tudor.Ambarus
2020-03-13 6:08 ` Vignesh Raghavendra
2020-03-13 14:41 ` Tudor.Ambarus
2020-03-02 18:07 ` [PATCH 03/23] mtd: spi-nor: Move SFDP logic out of the core Tudor.Ambarus
2020-03-07 14:50 ` Boris Brezillon
2020-03-02 18:07 ` [PATCH 04/23] mtd: spi-nor: Expose stuctures and functions to manufacturer drivers Tudor.Ambarus
2020-03-13 6:38 ` Vignesh Raghavendra
2020-03-02 18:07 ` [PATCH 05/23] mtd: spi-nor: Add the concept of SPI NOR manufacturer driver Tudor.Ambarus
2020-03-02 18:07 ` [PATCH 07/23] mtd: spi-nor: Move Eon bits out of core.c Tudor.Ambarus
2020-03-02 18:07 ` [PATCH 06/23] mtd: spi-nor: Move Atmel " Tudor.Ambarus
2020-03-02 18:07 ` [PATCH 08/23] mtd: spi-nor: Move ESMT " Tudor.Ambarus
2020-03-02 18:07 ` [PATCH 09/23] mtd: spi-nor: Move Everspin " Tudor.Ambarus
2020-03-02 18:07 ` [PATCH 10/23] mtd: spi-nor: Move Fujitsu " Tudor.Ambarus
2020-03-02 18:07 ` [PATCH 12/23] mtd: spi-nor: Move Intel " Tudor.Ambarus
2020-03-03 10:22 ` Mika Westerberg
2020-03-02 18:07 ` [PATCH 11/23] mtd: spi-nor: Move GigaDevice " Tudor.Ambarus
2020-03-02 18:07 ` [PATCH 13/23] mtd: spi-nor: Move ISSI " Tudor.Ambarus
2020-03-02 18:07 ` [PATCH 14/23] mtd: spi-nor: Move Macronix " Tudor.Ambarus
2020-03-04 7:20 ` chenxiang (M)
2020-03-02 18:07 ` [PATCH 16/23] mtd: spi-nor: Move Spansion " Tudor.Ambarus
2020-03-02 18:07 ` [PATCH 15/23] mtd: spi-nor: Move Micron/ST " Tudor.Ambarus
2020-03-02 18:07 ` [PATCH 18/23] mtd: spi-nor: Move Winbond " Tudor.Ambarus
2020-03-02 18:07 ` [PATCH 17/23] mtd: spi-nor: Move SST " Tudor.Ambarus
2020-03-02 18:07 ` [PATCH 19/23] mtd: spi-nor: Move Catalyst " Tudor.Ambarus
2020-03-02 18:07 ` [PATCH 21/23] mtd: spi-nor: Move XMC " Tudor.Ambarus
2020-03-02 18:07 ` [PATCH 20/23] mtd: spi-nor: Move Xilinx " Tudor.Ambarus
2020-03-02 18:07 ` [PATCH 22/23] mtd: spi-nor: Get rid of the now empty spi_nor_ids[] table Tudor.Ambarus
2020-03-02 18:07 ` [PATCH 23/23] mtd: spi-nor: Trim what is exposed in spi-nor.h Tudor.Ambarus
2020-03-07 14:49 ` Boris Brezillon
2020-03-13 8:13 ` Vignesh Raghavendra
2020-03-13 8:27 ` Tudor.Ambarus
2020-03-03 7:15 ` [PATCH 00/23] mtd: spi-nor: Move manufacturer/SFDP code out of the core Joel Stanley
2020-03-03 7:28 ` Tudor.Ambarus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200302180730.1886678-1-tudor.ambarus@microchip.com \
--to=tudor.ambarus@microchip.com \
--cc=Ludovic.Desroches@microchip.com \
--cc=Nicolas.Ferre@microchip.com \
--cc=alexander.sverdlin@nokia.com \
--cc=alexandre.belloni@bootlin.com \
--cc=allison@lohutok.net \
--cc=andrew@aj.id.au \
--cc=bbrezillon@kernel.org \
--cc=dinguyen@kernel.org \
--cc=info@metux.net \
--cc=jethro@fortanix.com \
--cc=joel@jms.id.au \
--cc=john.garry@huawei.com \
--cc=kstewart@linuxfoundation.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-aspeed@lists.ozlabs.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-mtd@lists.infradead.org \
--cc=ludovic.barre@st.com \
--cc=matthias.bgg@gmail.com \
--cc=michael@walle.cc \
--cc=michal.simek@xilinx.com \
--cc=mika.westerberg@linux.intel.com \
--cc=miquel.raynal@bootlin.com \
--cc=nishkadg.linux@gmail.com \
--cc=opensource@jilayne.com \
--cc=rfontana@redhat.com \
--cc=richard@nod.at \
--cc=swboyd@chromium.org \
--cc=tglx@linutronix.de \
--cc=thor.thayer@linux.intel.com \
--cc=vigneshr@ti.com \
--cc=vz@mleia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).