lkml.org 
[lkml]   [2022]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH -next 0/4] spi: Introduce BPF based SPI mockup controller
Date
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


\
 
 \ /
  Last update: 2022-08-26 16:27    [W:0.165 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site