mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-22 17:27:53 +00:00
DM: virtio-gpio: virtio framework implementation.
virtio framework implementation for virtio-based gpio virtualization. virtio-based gpio uses one virtqueue to implement gpio operaions and frontend gpio chip base and number are provided by virtio config. Tracked-On: #2512 Signed-off-by: Yuan Liu <yuan1.liu@intel.com> Acked-by: Yu Wang <yu1.wang@intel.com>
This commit is contained in:
@@ -206,6 +206,7 @@ enum {
|
||||
#define VIRTIO_TYPE_HYPERDMABUF 0xFFFA
|
||||
#define VIRTIO_TYPE_HDCP 0xFFF9
|
||||
#define VIRTIO_TYPE_COREU 0xFFF8
|
||||
#define VIRTIO_TYPE_GPIO 0xFFF7
|
||||
|
||||
/*
|
||||
* PCI vendor/device IDs
|
||||
@@ -228,6 +229,7 @@ enum {
|
||||
#define VIRTIO_DEV_HYPERDMABUF 0x8606
|
||||
#define VIRTIO_DEV_HDCP 0x8607
|
||||
#define VIRTIO_DEV_COREU 0x8608
|
||||
#define VIRTIO_DEV_GPIO 0x8609
|
||||
|
||||
/*
|
||||
* VIRTIO_CONFIG_S_NEEDS_RESET is not defined
|
||||
|
Reference in New Issue
Block a user