Re: [PATCH 2/5] virtio_mmio: Bind virtio device to device-tree node

2021-07-13 Thread Viresh Kumar
On 13-07-21, 14:26, Arnd Bergmann wrote: > On Tue, Jul 13, 2021 at 12:51 PM Viresh Kumar wrote: > > > > Bind the virtio device with its device protocol's sub-node. This will > > help users of the virtio device to mention their dependencies on the > > device in the DT file itself. Like GPIO pin use

[PATCH 2/5] virtio_mmio: Bind virtio device to device-tree node

2021-07-13 Thread Viresh Kumar
Bind the virtio device with its device protocol's sub-node. This will help users of the virtio device to mention their dependencies on the device in the DT file itself. Like GPIO pin users can use the phandle of the device node, or the node may contain more subnodes to add i2c or spi eeproms and ot