virtio-comment

 View Only

[virtio-dev][PATCH V10 0/2] virtio-spi: add virtual SPI controller

  • 1.  [virtio-dev][PATCH V10 0/2] virtio-spi: add virtual SPI controller

    Posted 01-02-2024 07:37
    The Virtio SPI (Serial Peripheral Interface) device is a virtual SPI controller that
    allows the driver to operate and use the SPI controller under the control of the host,
    either a physical SPI controller, or an emulated one.

    changelog:
    =========
    v9->v10:
    - add explanation of CPHA and CPOL
    - update the statement of bits_per_word_mask when it is set as 0
    - add spi device and driver conformance in conformance.tex

    v8->v9:
    - add explanation of bits_per_word_mask in config space

    v7->v8:
    - change device to host

    v6->v7:
    - fix the format problems and syntax problems

    v5->v6:
    - use driver/device instead guest/host
    - add the definition of some terminologies
    - use controller instead of master throughout the spec
    - add buffer length validation for full-duplex transfer

    v4->v5:
    - use controller instead of master
    - fix indentation issue
    - extend the config space to expose the backend supported features
    - add another result value to indicate parameter error
    - add device and driver requirement about parameter checking

    v3->v4:
    - fix the spell errors
    - bus_num is not SOC-specific, remove it
    - add driver requirement to deal with the situation that the cs delay
    parameters are not 0 but the backend doesn't support cs timing setting

    v2->v3
    - remove unnecessary statements and driver implementation details
    - add the parameters about cs timing delay and transfer delay
    - use "le32" instead of "u32"
    - swap the rx_buf and tx_buf in the request format
    - add the parameters about transfer bit width

    v1->v2:
    - explain SPI when it is firstly used
    - update the ambiguous expression of virtqueue

    v0->v1:
    - add definition of abbreviation SPI
    - remove the ID

    Haixu Cui (2):
    content: Rename SPI master to SPI controller
    virtio-spi: add the device specification

    conformance.tex | 12 +-
    content.tex | 3 +-
    device-types/spi/description.tex | 286 ++++++++++++++++++++++++
    device-types/spi/device-conformance.tex | 7 +
    device-types/spi/driver-conformance.tex | 7 +
    5 files changed, 310 insertions(+), 5 deletions(-)
    create mode 100644 device-types/spi/description.tex
    create mode 100644 device-types/spi/device-conformance.tex
    create mode 100644 device-types/spi/driver-conformance.tex

    --
    2.17.1