On Thu, Jul 01, 2021 at 11:24:46AM +0800, Jie Deng wrote:
Add an I2C bus driver for virtio para-virtualization.Why is that?
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.
- Use #ifdef CONFIG_PM_SLEEP to replace the "__maybe_unused".