1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
3 * Copyright (C) 2020-2021 OpenSynergy GmbH
4 * Copyright (C) 2021 ARM Ltd.
7 #ifndef _UAPI_LINUX_VIRTIO_SCMI_H
8 #define _UAPI_LINUX_VIRTIO_SCMI_H
10 #include <linux/virtio_types.h>
12 /* Device implements some SCMI notifications, or delayed responses. */
13 #define VIRTIO_SCMI_F_P2A_CHANNELS 0
15 /* Device implements any SCMI statistics shared memory region */
16 #define VIRTIO_SCMI_F_SHARED_MEMORY 1
20 #define VIRTIO_SCMI_VQ_TX 0 /* cmdq */
21 #define VIRTIO_SCMI_VQ_RX 1 /* eventq */
22 #define VIRTIO_SCMI_VQ_MAX_CNT 2
24 #endif /* _UAPI_LINUX_VIRTIO_SCMI_H */