spi: Add driver to support AMD eSPI controller
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest10 patches 10 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | spi: espi_amd: Add AMD eSPI controller driver supportMAINTAINERS drivers/ drivers/ +5 more | +1479 | 2 replies | |
| 2/10 | spi: espi_amd: Add eSPI set config IOCTL commanddrivers/ drivers/ | +98 | 2 replies | |
| 3/10 | spi: espi_amd: Add eSPI get config IOCTL commanddrivers/ drivers/ | +70 | 0 replies | |
| 4/10 | spi: espi_amd: Add eSPI inband-reset IOCTL commanddrivers/ drivers/ | +6 | 0 replies | |
| 5/10 | spi: espi_amd: Add eSPI set IO mode IOCTL commanddrivers/ drivers/ | +41 | 0 replies | |
| 6/10 | spi: espi_amd: Add eSPI set channel IOCTL commanddrivers/ drivers/ | +50 | 0 replies | |
| 7/10 | spi: espi_amd: Add eSPI set frequency IOCTL commanddrivers/ drivers/ | +41 | 0 replies | |
| 8/10 | spi: espi_amd: Add support for IO/MMIO configurationdrivers/ drivers/ drivers/ | +301 | 2 replies | |
| 9/10 | spi: espi_amd: Add eSPI PC channel IO read/write IOCTL commandsdrivers/ drivers/ drivers/ | +164 | 0 replies | |
| 10/10 | spi: espi_amd: Add eSPI PC channel MMIO read/write IOCTL commandsdrivers/ drivers/ drivers/ | +142 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/10] spi: Add driver to support AMD eSPI controller
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
Signature · 1 line
2.34.1