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

- From: Viresh Kumar \<viresh.kumar@linaro.org\>
- Date: 2021-07-27 05:09:16 
- List: virtualization
- Page: https://ratatoskr.run/virtualization/2021/07/1459022
- Thread: https://ratatoskr.run/linux-devicetree/2021/07/1457068/t.md

```text
On 26-07-21, 08:57, Rob Herring wrote:
> On Sun, Jul 25, 2021 at 10:52 PM Viresh Kumar [ref] wrote:
> > +    description: |
> > +      Exactly one node describing the virtio device. The name of the node isn't
> > +      significant but its phandle can be used to by a user of the virtio device.
> > +
> > +  compatible:
> > +    pattern: "^virtio,[0-9a-f]+$"
> 
> DID is only 4 chars? If so, "^virtio,[0-9a-f]{1,4}$"

It is 32 bit actually, so making this {1,8}.

-- 
viresh
_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization
```
