# Re: \[PATCH V4 1/5\] dt-bindings: virtio: Add binding for virtio devices

- From: Rob Herring \<robh@kernel.org\>
- Date: 2021-08-02 19:40:54 
- List: linux-devicetree
- Page: https://ratatoskr.run/linux-devicetree/2021/08/1465712
- Thread: https://ratatoskr.run/linux-devicetree/2021/07/1459029/t.md

```text
On Tue, 27 Jul 2021 10:53:48 +0530, Viresh Kumar wrote:
> Allow virtio device sub-nodes to be added to the virtio mmio or pci
> nodes. The compatible property for virtio device must be of the format
> "virtio,device<ID>", where ID is virtio device ID in hexadecimal format.
> 
> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
> ---
>  .../devicetree/bindings/virtio/mmio.yaml      |  3 +-
>  .../bindings/virtio/virtio-device.yaml        | 41 +++++++++++++++++++
>  2 files changed, 43 insertions(+), 1 deletion(-)
>  create mode 100644 Documentation/devicetree/bindings/virtio/virtio-device.yaml
> 

Reviewed-by: Rob Herring <robh@kernel.org>
```
