This is an automated email from the ASF dual-hosted git repository.
xiaoxiang781216 pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
from 43d9de6f970 include/atomic: add cmpxchg_release_acquire memory order
variant
new 566cdb937bb drivers/virtio: add the VirtIO I2C frontend driver
new 679f0fc484e drivers/virtio: add the VirtIO SPI frontend driver
new 8c86176d846 drivers/virtio/virtio-spi: register /dev/spiN at probe
new 7aafb8747ef drivers/virtio/virtio-i2c: register /dev/i2cN at probe
new 23974620a0a drivers/virtio: add the VirtIO GPIO frontend driver
The 5 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
Documentation/os/drivers/special/i2c.rst | 18 +
Documentation/os/drivers/special/spi.rst | 16 +
drivers/virtio/CMakeLists.txt | 12 +
drivers/virtio/Kconfig | 38 +
drivers/virtio/Make.defs | 12 +
drivers/virtio/virtio-gpio.c | 936 +++++++++++++++++++++
.../uart_hostfs.h => drivers/virtio/virtio-gpio.h | 14 +-
drivers/virtio/virtio-i2c.c | 559 ++++++++++++
drivers/{vhost/vhost-can.h => virtio/virtio-i2c.h} | 14 +-
drivers/virtio/virtio-spi.c | 783 +++++++++++++++++
drivers/{vhost/vhost-can.h => virtio/virtio-spi.h} | 14 +-
drivers/virtio/virtio.c | 27 +
.../nuttx/{sensors/adxl367.h => i2c/i2c_virtio.h} | 26 +-
.../nuttx/ioexpander/{pl061.h => gpio_virtio.h} | 17 +-
.../bl808_spi.h => include/nuttx/spi/spi_virtio.h | 37 +-
include/nuttx/virtio/virtio-gpio.h | 116 +++
include/nuttx/virtio/virtio-spi.h | 262 ++++++
17 files changed, 2838 insertions(+), 63 deletions(-)
create mode 100644 drivers/virtio/virtio-gpio.c
copy include/nuttx/serial/uart_hostfs.h => drivers/virtio/virtio-gpio.h (85%)
create mode 100644 drivers/virtio/virtio-i2c.c
copy drivers/{vhost/vhost-can.h => virtio/virtio-i2c.h} (86%)
create mode 100644 drivers/virtio/virtio-spi.c
copy drivers/{vhost/vhost-can.h => virtio/virtio-spi.h} (86%)
copy include/nuttx/{sensors/adxl367.h => i2c/i2c_virtio.h} (71%)
copy include/nuttx/ioexpander/{pl061.h => gpio_virtio.h} (80%)
copy arch/risc-v/src/bl808/bl808_spi.h => include/nuttx/spi/spi_virtio.h (71%)
create mode 100644 include/nuttx/virtio/virtio-gpio.h
create mode 100644 include/nuttx/virtio/virtio-spi.h