Re: [PATCH v2 1/2] dt-bindings: spi: add spi-virtio

From: Krzysztof Kozlowski

Date: Thu Oct 29 2026 - 04:31:08 EST


On Tue, Oct 27, 2026 at 08:26:33AM +0100, Francesco Valla wrote:
> Add bindings for spi-virtio based on virtio-device, allowing proper
> validation of SPI controller nodes declared as children of virtio
> transports (e.g.: virtio-mmio). Such nodes are not used to instantiate
> devices, which are registered by the virtio transport, but to define
> their properties and establish dependencies with other nodes.
>
> The compatible follows what the virtio framework already searches for,
> "2d" being the hexadecimal representation of the SPI controller device
> ID defined by the virtio specification [1].
>
> [1] https://docs.oasis-open.org/virtio/virtio/v1.4/virtio-v1.4.html
>
> Signed-off-by: Francesco Valla <francesco@xxxxxxxx>
> ---
> .../devicetree/bindings/spi/spi-virtio.yaml | 46 ++++++++++++++++++++++
> MAINTAINERS | 1 +
> 2 files changed, 47 insertions(+)

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxxxxx>

I guess everything should go via DT tree, but Francesco, please update
the maintainers file if that's fine with Michael.

Best regards,
Krzysztof