Messages in this thread | | | Date | Tue, 2 Mar 2021 09:13:23 +0530 | From | Viresh Kumar <> | Subject | Re: [PATCH v5] i2c: virtio: add a virtio i2c frontend driver |
| |
On 02-03-21, 10:21, Jie Deng wrote: > On 2021/3/1 19:54, Viresh Kumar wrote: > That's my original proposal. I used to mirror this interface with "struct > i2c_msg". > > But the design philosophy of virtio TC is that VIRTIO devices are not > specific to Linux > so the specs design should avoid the limitations of the current Linux driver > behavior.
Right, I understand that.
> We had some discussion about this. You may check these links to learn the > story. > https://lists.oasis-open.org/archives/virtio-comment/202010/msg00016.html > https://lists.oasis-open.org/archives/virtio-comment/202010/msg00033.html > https://lists.oasis-open.org/archives/virtio-comment/202011/msg00025.html
So the thing is that we want to support full duplex mode, right ?
How will that work protocol wise ? I mean how would we know if we are expecting both tx and rx buffers in a transfer ?
-- viresh
| |