From: Manojkiran Eda <manojkiran.eda@gmail.com>
To: patrick.rudolph@9elements.com, chiawei_wang@aspeedtech.com,
ryan_chen@aspeedtech.com, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org,
linux-mtd@lists.infradead.org
Cc: conor+dt@kernel.org, vigneshr@ti.com, richard@nod.at,
openbmc@lists.ozlabs.org, robh+dt@kernel.org, joel@jms.id.au,
krzysztof.kozlowski+dt@linaro.org, miquel.raynal@bootlin.com,
jk@codeconstruct.com.au, manojkiran.eda@gmail.com
Subject: [PATCH v2 0/4] Add eSPI device driver (flash channel)
Date: Tue, 19 Mar 2024 15:04:01 +0530 [thread overview]
Message-ID: <20240319093405.39833-1-manojkiran.eda@gmail.com> (raw)
Hello everyone,
I'm presenting a revised version of the eSPI device driver patch series found at
the following link:
https://lore.kernel.org/openbmc/20220516005412.4844-1-chiawei_wang@aspeedtech.com/
This update addresses the issues identified during the review process.
While the previous patch series attempted to incorporate support for all four
different channels of eSPI using the ioctl interface , this new series focuses
on upstreaming the flash channel (using the mtd interface) initially, ensuring
that all review comments are duly addressed, before progressing further.
Diff between PACTH v1-v2:
1. The commit is split into multiple commits as per the review comments.
2. Explicity renamed the driver to indicate that it only support master attached
flash storage (mafs).
3. Added new kconfig options to enable/disable eSPI mafs support.
Results:
Successfully conducted a flash update via eSPI.
Manojkiran Eda (4):
Add eSPI device driver (flash channel)
mtd: Replace module_init with subsys_initcall
ARM: dts: aspeed: Add eSPI node
dt-bindings: aspeed: Add eSPI controller
.../bindings/soc/aspeed/aspeed,espi.yaml | 94 ++++
arch/arm/boot/dts/aspeed/aspeed-g5.dtsi | 19 +
arch/arm/boot/dts/aspeed/aspeed-g6.dtsi | 20 +
drivers/mtd/mtdcore.c | 2 +-
drivers/soc/aspeed/Kconfig | 38 ++
drivers/soc/aspeed/Makefile | 2 +
drivers/soc/aspeed/aspeed-espi-ctrl.c | 197 ++++++++
drivers/soc/aspeed/aspeed-espi-ctrl.h | 169 +++++++
drivers/soc/aspeed/aspeed-espi-flash-mafs.c | 467 ++++++++++++++++++
drivers/soc/aspeed/aspeed-espi-flash.h | 71 +++
10 files changed, 1078 insertions(+), 1 deletion(-)
create mode 100644 Documentation/devicetree/bindings/soc/aspeed/aspeed,espi.yaml
create mode 100644 drivers/soc/aspeed/aspeed-espi-ctrl.c
create mode 100644 drivers/soc/aspeed/aspeed-espi-ctrl.h
create mode 100644 drivers/soc/aspeed/aspeed-espi-flash-mafs.c
create mode 100644 drivers/soc/aspeed/aspeed-espi-flash.h
--
2.40.1
next reply other threads:[~2024-03-19 9:36 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-19 9:34 Manojkiran Eda [this message]
2024-03-19 9:34 ` [PATCH v2 1/4] Add eSPI device driver (flash channel) Manojkiran Eda
2024-03-19 9:34 ` [PATCH v2 2/4] mtd: Replace module_init with subsys_initcall Manojkiran Eda
[not found] ` <4e3fbff7-6edc-4196-bc72-1095f14d0dfa@linaro.org>
2024-03-19 9:53 ` Miquel Raynal
2024-03-19 9:34 ` [PATCH v2 3/4] ARM: dts: aspeed: Add eSPI node Manojkiran Eda
2024-03-19 9:34 ` [PATCH v2 4/4] dt-bindings: aspeed: Add eSPI controller Manojkiran Eda
[not found] ` <bad5df79-e040-4868-9db6-701110894ea3@linaro.org>
2024-03-20 9:59 ` Manojkiran Eda
2024-03-20 15:40 ` Rob Herring
[not found] ` <f2a487c4-eba3-4a78-9a14-67c8754c8b61@linaro.org>
2024-03-28 11:33 ` Manojkiran Eda
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=20240319093405.39833-1-manojkiran.eda@gmail.com \
--to=manojkiran.eda@gmail.com \
--cc=chiawei_wang@aspeedtech.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jk@codeconstruct.com.au \
--cc=joel@jms.id.au \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-aspeed@lists.ozlabs.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=miquel.raynal@bootlin.com \
--cc=openbmc@lists.ozlabs.org \
--cc=patrick.rudolph@9elements.com \
--cc=richard@nod.at \
--cc=robh+dt@kernel.org \
--cc=ryan_chen@aspeedtech.com \
--cc=vigneshr@ti.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 read-only IMAP folder(s) and NNTP newsgroup(s).