Re: [RFC PATCH v5 2/3] virtio-spi: Add virtio-spi.h

From: Mukesh Kumar Savaliya
Date: Mon Jun 30 2025 - 02:59:50 EST




On 6/20/2025 9:42 AM, Haixu Cui wrote:
Add virtio-spi.h header for virtio SPI.

Signed-off-by: Haixu Cui <quic_haixcui@xxxxxxxxxxx>
---
include/uapi/linux/virtio_spi.h | 185 ++++++++++++++++++++++++++++++++
1 file changed, 185 insertions(+)
create mode 100644 include/uapi/linux/virtio_spi.h


[...]

+ * @max_cs_setup_ns: the maximum delay supported after chipselect is asserted,
And before clock start. may also sound good, if we can write "delay between CS assert to clock start"
+ * in ns unit, 0 means delay is not supported to introduce after chipselect is
+ * asserted.
+ * @max_cs_hold_ns: the maximum delay supported before chipselect is deasserted,
+ * in ns unit, 0 means delay is not supported to introduce before chipselect
+ * is deasserted.
+ * @max_cs_incative_ns: maximum delay supported after chipselect is deasserted,
+ * in ns unit, 0 means delay is not supported to introduce after chipselect is
+ * deasserted.
+ */