Skip to content
Commit 3cfc8838 authored by Jie Deng's avatar Jie Deng Committed by Wolfram Sang
Browse files

i2c: virtio: add a virtio i2c frontend driver



Add an I2C bus driver for virtio para-virtualization.

The controller can be emulated by the backend driver in
any device model software by following the virtio protocol.

The device specification can be found on
https://lists.oasis-open.org/archives/virtio-comment/202101/msg00008.html.

By following the specification, people may implement different
backend drivers to emulate different controllers according to
their needs.

Co-developed-by: default avatarConghui Chen <conghui.chen@intel.com>
Signed-off-by: default avatarConghui Chen <conghui.chen@intel.com>
Signed-off-by: default avatarJie Deng <jie.deng@intel.com>
Reviewed-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Tested-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Acked-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
parent f9b459c2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment