[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20231118104442.861759-1-zhangxiaoxu@huawecloud.com>
Date: Sat, 18 Nov 2023 18:44:38 +0800
From: Zhang Xiaoxu <zhangxiaoxu@...wecloud.com>
To: zhangxiaoxu5@...wei.com, weiyongjun1@...wei.com,
linux-kernel@...r.kernel.org, broonie@...nel.org,
rostedt@...dmis.org, mingo@...hat.com, frowand.list@...il.com,
linux-spi@...r.kernel.org
Subject: [PATCH v4 -next 0/4] spi: Introduce BPF based SPI mockup controller
From: Zhang Xiaoxu <zhangxiaoxu@...we.com>
v3->v4:
Use configfs to register the controller and target
Modify with the comments from Mark Brown
v2->v3:
Add configfs to configure and register the device;
Fix some misspelling.
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.
Zhang Xiaoxu (4):
spi: mockup: Add SPI controller testing driver
spi: mockup: Add register spi device support
spi: mockup: Add writeable tracepoint for spi transfer
spi: mockup: Add documentation
Documentation/spi/index.rst | 1 +
Documentation/spi/spi-mockup.rst | 198 +++++++++++
drivers/spi/Kconfig | 12 +
drivers/spi/Makefile | 1 +
drivers/spi/spi-mockup.c | 562 ++++++++++++++++++++++++++++++
include/linux/spi/spi-mockup.h | 17 +
include/trace/events/spi_mockup.h | 31 ++
7 files changed, 822 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
Powered by blists - more mailing lists