From: Raju Rangoju <Raju.Rangoju@amd.com>
To: <broonie@kernel.org>, <linux-spi@vger.kernel.org>,
<linux-kernel@vger.kernel.org>
Cc: <Raju.Rangoju@amd.com>, <krishnamoorthi.m@amd.com>,
<akshata.mukundshetty@amd.com>
Subject: [PATCH 00/10] spi: Add driver to support AMD eSPI controller
Date: Fri, 14 Mar 2025 00:04:30 +0530 [thread overview]
Message-ID: <20250313183440.261872-1-Raju.Rangoju@amd.com> (raw)
The eSPI protocol serves as a communication interface between the main
processor and peripheral devices in computer systems. It offers several
advantages over the traditional LPC bus, including higher data transfer
rates, increased scalability and improved system management capabilities.
The eSPI protocol supports multiple channels, each serving a specific
purpose in the communication process.
AMD SOCs feature multiple SPI controllers, including a dedicated eSPI
controller. This controller is responsible for managing the communication
between the main processor and peripheral devices using the eSPI protocol.
It provides support for various channels, including Peripheral channel(PC),
Virtual Wire(VW), Out-Of-Band(OOB) message, and Flash access channels.
This patch series implements new AMD eSPI driver aims to comprehensive
support for the eSPI protocol, including initialization of eSPI controller
and slave devices. It also adds functionality for channel-independent eSPI
commands and support for I/O and MMIO read/write operations on PC
channels.
Raju Rangoju (10):
spi: espi_amd: Add AMD eSPI controller driver support
spi: espi_amd: Add eSPI set config IOCTL command
spi: espi_amd: Add eSPI get config IOCTL command
spi: espi_amd: Add eSPI inband-reset IOCTL command
spi: espi_amd: Add eSPI set IO mode IOCTL command
spi: espi_amd: Add eSPI set channel IOCTL command
spi: espi_amd: Add eSPI set frequency IOCTL command
spi: espi_amd: Add support for IO/MMIO configuration
spi: espi_amd: Add eSPI PC channel IO read/write IOCTL commands
spi: espi_amd: Add eSPI PC channel MMIO read/write IOCTL commands
MAINTAINERS | 6 +
drivers/spi/Kconfig | 10 +
drivers/spi/Makefile | 2 +
drivers/spi/espi-amd-core.c | 1215 ++++++++++++++++++++++++++++++++++
drivers/spi/espi-amd-dev.c | 584 ++++++++++++++++
drivers/spi/espi-amd-err.h | 50 ++
drivers/spi/espi-amd-slave.h | 109 +++
drivers/spi/espi-amd.h | 416 ++++++++++++
8 files changed, 2392 insertions(+)
create mode 100644 drivers/spi/espi-amd-core.c
create mode 100644 drivers/spi/espi-amd-dev.c
create mode 100644 drivers/spi/espi-amd-err.h
create mode 100644 drivers/spi/espi-amd-slave.h
create mode 100644 drivers/spi/espi-amd.h
--
2.34.1
next reply other threads:[~2025-03-13 18:35 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-13 18:34 Raju Rangoju [this message]
2025-03-13 18:34 ` [PATCH 01/10] spi: espi_amd: Add AMD eSPI controller driver support Raju Rangoju
2025-03-17 14:06 ` Mark Brown
2025-03-26 10:00 ` Rangoju, Raju
2025-03-13 18:34 ` [PATCH 02/10] spi: espi_amd: Add eSPI set config IOCTL command Raju Rangoju
2025-03-17 14:07 ` Mark Brown
2025-03-26 10:03 ` Rangoju, Raju
2025-03-13 18:34 ` [PATCH 03/10] spi: espi_amd: Add eSPI get " Raju Rangoju
2025-03-13 18:34 ` [PATCH 04/10] spi: espi_amd: Add eSPI inband-reset " Raju Rangoju
2025-03-13 18:34 ` [PATCH 05/10] spi: espi_amd: Add eSPI set IO mode " Raju Rangoju
2025-03-13 18:34 ` [PATCH 06/10] spi: espi_amd: Add eSPI set channel " Raju Rangoju
2025-03-13 18:34 ` [PATCH 07/10] spi: espi_amd: Add eSPI set frequency " Raju Rangoju
2025-03-13 18:34 ` [PATCH 08/10] spi: espi_amd: Add support for IO/MMIO configuration Raju Rangoju
2025-03-17 14:10 ` Mark Brown
2025-03-26 10:12 ` Rangoju, Raju
2025-03-13 18:34 ` [PATCH 09/10] spi: espi_amd: Add eSPI PC channel IO read/write IOCTL commands Raju Rangoju
2025-03-13 18:34 ` [PATCH 10/10] spi: espi_amd: Add eSPI PC channel MMIO " Raju Rangoju
2025-03-17 14:14 ` [PATCH 00/10] spi: Add driver to support AMD eSPI controller Mark Brown
2025-03-26 9:55 ` Rangoju, Raju
2025-03-26 11:05 ` Mark Brown
2025-04-02 11:43 ` Rangoju, Raju
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=20250313183440.261872-1-Raju.Rangoju@amd.com \
--to=raju.rangoju@amd.com \
--cc=akshata.mukundshetty@amd.com \
--cc=broonie@kernel.org \
--cc=krishnamoorthi.m@amd.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-spi@vger.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