linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 -next 0/3] spi: Introduce BPF based SPI mockup controller
@ 2023-07-26 15:08 Zhang Xiaoxu
  2023-07-26 15:08 ` [PATCH v2 -next 1/3] spi: mockup: Add SPI controller testing driver Zhang Xiaoxu
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Zhang Xiaoxu @ 2023-07-26 15:08 UTC (permalink / raw)
  To: broonie, rostedt, mingo, frowand.list
  Cc: zhangxiaoxu5, weiyongjun1, linux-kernel, linux-spi

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 add the document

v1->v2:
  Use the new _controller() API
  P1. Move the license identifier to the entrie comment
  P2. Inherit tx_nbits/rx_nbits/cs_off/cs_change from the
      spi_transfer to the tracepoint
  P3. Removed.
  P4. Update the Document.

Wei Yongjun (3):
  spi: mockup: Add SPI controller testing driver
  spi: mockup: Add writeable tracepoint for spi transfer
  spi: mockup: Add documentation

 Documentation/spi/index.rst       |   1 +
 Documentation/spi/spi-mockup.rst  | 174 ++++++++++++++++++++
 drivers/spi/Kconfig               |  13 ++
 drivers/spi/Makefile              |   1 +
 drivers/spi/spi-mockup.c          | 260 ++++++++++++++++++++++++++++++
 include/linux/spi/spi-mockup.h    |  17 ++
 include/trace/events/spi_mockup.h |  31 ++++
 7 files changed, 497 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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-07-26  7:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-26 15:08 [PATCH v2 -next 0/3] spi: Introduce BPF based SPI mockup controller Zhang Xiaoxu
2023-07-26 15:08 ` [PATCH v2 -next 1/3] spi: mockup: Add SPI controller testing driver Zhang Xiaoxu
2023-07-26 15:08 ` [PATCH v2 -next 2/3] spi: mockup: Add writeable tracepoint for spi transfer Zhang Xiaoxu
2023-07-26 15:08 ` [PATCH v2 -next 3/3] spi: mockup: Add documentation Zhang Xiaoxu

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 NNTP newsgroup(s).