[PATCH -next 0/4] spi: Introduce BPF based SPI mockup controller

From: Wei Yongjun
Date: Fri Aug 26 2022 - 10:26:06 EST


This series Introduce a BPF based SPI mockup controller, which can be
used for testing SPI drivers without real device.

The testsuite for SPI drivers will be post in other series, with also
support for I2C and PCI bus device drivers.

patch 1-2 introduce BPF based SPI mockup controller
patch 3 interface for dynamically add devices from dts, may use
of-configfs insead
patch 4 add the document

Wei Yongjun (4):
spi: mockup: Add SPI controller testing driver
spi: mockup: Add writeable tracepoint for spi transfer
spi: mockup: Add runtime device tree overlay interface
spi: mockup: Add documentation

Documentation/spi/index.rst | 1 +
Documentation/spi/spi-mockup.rst | 201 +++++++++++++++++++
drivers/spi/Kconfig | 15 ++
drivers/spi/Makefile | 1 +
drivers/spi/spi-mockup.c | 315 ++++++++++++++++++++++++++++++
include/linux/spi/spi-mockup.h | 13 ++
include/trace/events/spi_mockup.h | 32 +++
7 files changed, 578 insertions(+)
create mode 100644 Documentation/spi/spi-mockup.rst
create mode 100644 drivers/spi/spi-mockup.c
create mode 100644 include/linux/spi/spi-mockup.h
create mode 100644 include/trace/events/spi_mockup.h

--
2.34.1