From: Miquel Raynal <miquel.raynal@bootlin.com>
To: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>,
<linux-kernel@vger.kernel.org>
Cc: "Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
"Michael Walle" <michael@walle.cc>,
"Rafał Miłecki" <rafal@milecki.pl>,
"Robert Marko" <robert.marko@sartura.hr>,
"Luka Perkov" <luka.perkov@sartura.hr>,
"Thomas Petazzoni" <thomas.petazzoni@bootlin.com>,
"Rob Herring" <robh+dt@kernel.org>,
"Frank Rowand" <frowand.list@gmail.com>,
devicetree@vger.kernel.org,
"Miquel Raynal" <miquel.raynal@bootlin.com>,
"Stephen Boyd" <sboyd@kernel.org>,
"Peter Chen" <peter.chen@kernel.org>,
"Rafael J . Wysocki" <rafael@kernel.org>,
"Len Brown" <lenb@kernel.org>,
"Maarten Lankhorst" <maarten.lankhorst@linux.intel.com>,
"Maxime Ripard" <mripard@kernel.org>,
"Thomas Zimmermann" <tzimmermann@suse.de>,
"Sebastian Reichel" <sre@kernel.org>,
"Wolfram Sang" <wsa@kernel.org>,
"Mark Brown" <broonie@kernel.org>,
"Heikki Krogerus" <heikki.krogerus@linux.intel.com>
Subject: [PATCH v2 00/21] nvmem: Layouts support
Date: Tue, 7 Mar 2023 17:53:38 +0100 [thread overview]
Message-ID: <20230307165359.225361-1-miquel.raynal@bootlin.com> (raw)
Hello,
This is a fully featured series with hopefully all what is needed for
upstream acceptance, ie:
* A bit of OF cleanup
* Full nvmem layout support merging Michael's and my patches
* Only the fixes not applying to this series have been kept "un merged"
* Support for SL28 VPD and ONIE TLV table layouts
* Layouts can be compiled as modules
In order for this series to work out-of-the-box it requires to be
applied on top of Michael Walle's mtd fixes series (robots running on
it, I will provide an immutable tag in the coming days) but for
compile-testing only it is not required.
Link: https://lore.kernel.org/linux-mtd/20230306125805.678668-1-michael@walle.cc/T/#t
So to summarize:
* Rob's feedback is welcome on the OF patches
* Greg's and Srinivas feedback is welcome on the nvmem patches
* If everybody agrees I expect the full series to be applied rather
early by Srinivas on top of the -rc he wants.
* Once time for the final PR I expect Greg to merge the immutable tag
I will provide with Michael's patches before taking these patches from
Srinivas.
* Rob might request an immutable tag from Greg (at least with the OF
patches) if there are any conflicts with his tree. Otherwise if that's
foreseen, Rob can also merge the OF patches and produce an immutable
tag himself if that's preferred. Indeed, no hurry, but there are other
OF cleanup patches which do not have to be in this series which will
come later to continue the OF cleanup even further if my understanding
of Rob's whishes is right :)
Link: https://github.com/miquelraynal/linux-0day/tree/nvmem-layouts-and-of-cleanup
Thanks,
Miquèl
Changes in v2:
* Included all initial core nvmem changes.
* Merged all the relevant fixes.
* Updated the commit logs of the Fixes tag when relevant.
* Followed Rob advises to migrate the module related helpers into
of/module.c and get the useless helpers out of of_device.c
* Added my Signed-off-by when relevant.
* Collected tags.
Colin Ian King (1):
dt-bindings: nvmem: Fix spelling mistake "platforn" -> "platform"
Michael Walle (9):
nvmem: core: return -ENOENT if nvmem cell is not found
nvmem: core: introduce NVMEM layouts
nvmem: core: add per-cell post processing
nvmem: core: allow to modify a cell before adding it
nvmem: imx-ocotp: replace global post processing with layouts
nvmem: cell: drop global cell_post_process
nvmem: core: provide own priv pointer in post process callback
nvmem: layouts: sl28vpd: Add new layout driver
MAINTAINERS: add myself as sl28vpd nvmem layout driver
Miquel Raynal (11):
of: Fix modalias string generation
of: Update of_device_get_modalias()
of: Rename of_modalias_node()
of: Move of_modalias() to module.c
of: Move the request module helper logic to module.c
usb: ulpi: Use of_request_module()
of: device: Kill of_device_request_module()
nvmem: core: handle the absence of expected layouts
nvmem: core: request layout modules loading
nvmem: layouts: onie-tlv: Add new layout driver
MAINTAINERS: Add myself as ONIE tlv NVMEM layout maintainer
.../nvmem/layouts/onie,tlv-layout.yaml | 2 +-
Documentation/driver-api/nvmem.rst | 15 +
MAINTAINERS | 12 +
drivers/acpi/bus.c | 7 +-
drivers/gpu/drm/drm_mipi_dsi.c | 2 +-
drivers/hsi/hsi_core.c | 2 +-
drivers/i2c/busses/i2c-powermac.c | 2 +-
drivers/i2c/i2c-core-of.c | 2 +-
drivers/nvmem/Kconfig | 4 +
drivers/nvmem/Makefile | 1 +
drivers/nvmem/core.c | 162 ++++++++++-
drivers/nvmem/imx-ocotp.c | 30 +-
drivers/nvmem/layouts/Kconfig | 23 ++
drivers/nvmem/layouts/Makefile | 7 +
drivers/nvmem/layouts/onie-tlv.c | 257 ++++++++++++++++++
drivers/nvmem/layouts/sl28vpd.c | 165 +++++++++++
drivers/of/Makefile | 2 +-
drivers/of/base.c | 15 +-
drivers/of/device.c | 75 +----
drivers/of/module.c | 73 +++++
drivers/spi/spi.c | 4 +-
drivers/usb/common/ulpi.c | 2 +-
include/linux/nvmem-consumer.h | 7 +
include/linux/nvmem-provider.h | 66 ++++-
include/linux/of.h | 16 +-
include/linux/of_device.h | 6 -
26 files changed, 846 insertions(+), 113 deletions(-)
create mode 100644 drivers/nvmem/layouts/Kconfig
create mode 100644 drivers/nvmem/layouts/Makefile
create mode 100644 drivers/nvmem/layouts/onie-tlv.c
create mode 100644 drivers/nvmem/layouts/sl28vpd.c
create mode 100644 drivers/of/module.c
--
2.34.1
next reply other threads:[~2023-03-07 16:58 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-07 16:53 Miquel Raynal [this message]
2023-03-07 16:53 ` [PATCH v2 01/21] of: Fix modalias string generation Miquel Raynal
2023-03-07 16:53 ` [PATCH v2 02/21] of: Update of_device_get_modalias() Miquel Raynal
2023-03-08 0:28 ` Rob Herring
2023-03-07 16:53 ` [PATCH v2 03/21] of: Rename of_modalias_node() Miquel Raynal
2023-03-08 0:19 ` Rob Herring
2023-03-08 14:17 ` Miquel Raynal
2023-03-08 22:06 ` Sebastian Reichel
2023-03-09 13:28 ` Rob Herring
2023-03-07 16:53 ` [PATCH v2 04/21] of: Move of_modalias() to module.c Miquel Raynal
2023-03-08 0:23 ` Rob Herring
2023-03-08 14:51 ` Miquel Raynal
2023-03-07 16:53 ` [PATCH v2 05/21] of: Move the request module helper logic " Miquel Raynal
2023-03-08 0:25 ` Rob Herring
2023-03-07 16:53 ` [PATCH v2 06/21] usb: ulpi: Use of_request_module() Miquel Raynal
2023-03-08 0:25 ` Rob Herring
2023-03-07 16:53 ` [PATCH v2 07/21] of: device: Kill of_device_request_module() Miquel Raynal
2023-03-08 0:26 ` Rob Herring
2023-03-07 16:53 ` [PATCH v2 08/21] dt-bindings: nvmem: Fix spelling mistake "platforn" -> "platform" Miquel Raynal
2023-03-08 0:08 ` Rob Herring
2023-03-08 14:07 ` Miquel Raynal
2023-03-10 9:55 ` Srinivas Kandagatla
2023-03-07 16:53 ` [PATCH v2 09/21] nvmem: core: return -ENOENT if nvmem cell is not found Miquel Raynal
2023-03-07 17:04 ` Michael Walle
2023-03-10 9:57 ` Srinivas Kandagatla
2023-03-10 10:00 ` Miquel Raynal
2023-03-07 16:53 ` [PATCH v2 10/21] nvmem: core: introduce NVMEM layouts Miquel Raynal
2023-03-07 16:53 ` [PATCH v2 11/21] nvmem: core: handle the absence of expected layouts Miquel Raynal
2023-03-10 10:30 ` Srinivas Kandagatla
2023-03-10 10:45 ` Miquel Raynal
2023-03-10 10:49 ` Srinivas Kandagatla
2023-03-07 16:53 ` [PATCH v2 12/21] nvmem: core: request layout modules loading Miquel Raynal
2023-03-07 16:53 ` [PATCH v2 13/21] nvmem: core: add per-cell post processing Miquel Raynal
2023-03-07 16:53 ` [PATCH v2 14/21] nvmem: core: allow to modify a cell before adding it Miquel Raynal
2023-03-07 16:53 ` [PATCH v2 15/21] nvmem: imx-ocotp: replace global post processing with layouts Miquel Raynal
2023-03-07 16:53 ` [PATCH v2 16/21] nvmem: cell: drop global cell_post_process Miquel Raynal
2023-03-07 16:53 ` [PATCH v2 17/21] nvmem: core: provide own priv pointer in post process callback Miquel Raynal
2023-03-07 16:53 ` [PATCH v2 18/21] nvmem: layouts: sl28vpd: Add new layout driver Miquel Raynal
2023-03-07 16:53 ` [PATCH v2 19/21] MAINTAINERS: add myself as sl28vpd nvmem " Miquel Raynal
2023-03-07 16:53 ` [PATCH v2 20/21] nvmem: layouts: onie-tlv: Add new " Miquel Raynal
2023-03-07 16:53 ` [PATCH v2 21/21] MAINTAINERS: Add myself as ONIE tlv NVMEM layout maintainer Miquel Raynal
2023-03-07 17:09 ` [PATCH v2 00/21] nvmem: Layouts support Miquel Raynal
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=20230307165359.225361-1-miquel.raynal@bootlin.com \
--to=miquel.raynal@bootlin.com \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=frowand.list@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=heikki.krogerus@linux.intel.com \
--cc=lenb@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=luka.perkov@sartura.hr \
--cc=maarten.lankhorst@linux.intel.com \
--cc=michael@walle.cc \
--cc=mripard@kernel.org \
--cc=peter.chen@kernel.org \
--cc=rafael@kernel.org \
--cc=rafal@milecki.pl \
--cc=robert.marko@sartura.hr \
--cc=robh+dt@kernel.org \
--cc=sboyd@kernel.org \
--cc=sre@kernel.org \
--cc=srinivas.kandagatla@linaro.org \
--cc=thomas.petazzoni@bootlin.com \
--cc=tzimmermann@suse.de \
--cc=wsa@kernel.org \
/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).