diff options
author | Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com> | 2022-05-10 17:33:56 +0200 |
---|---|---|
committer | Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com> | 2022-08-07 23:36:53 +0200 |
commit | 4deb7357eab5962b0553a5ad1f11be5ac35f9da9 (patch) | |
tree | f6b7f4307f4e664dffa1bf7da571dab816f2e3d4 /bsp/virtio/virtio-scmi/virtio-scmi.cfg | |
parent | 77c05cc449b00d3be1f6d9691dc37467d2916def (diff) |
virtio: Enable VIRTIO SCMI and IIO SCMI drivers.kernel-5.15
VIRTIO SCMI device implements the Arm System Control and Management
Interface (SCMI) [1]. This VIRTIO device is part of "Virtual I/O Device
(VIRTIO) Version 1.2" specification [2].
The SCMI can be used for sensors, power state management, clock
management and performance management among other things.
Enable IIO-SCMI driver that works on top of VIRTIO-SCMI and supports
SCMI sensors.
(cherry-picked https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27473)
[1]: https://developer.arm.com/Architectures/System%20Control%20and%20Management%20Interface
[2]: https://docs.oasis-open.org/virtio/virtio/v1.2/csd01/virtio-v1.2-csd01.html
Bug-AGL: SPEC-3865, SPEC-4365
Change-Id: Iaf2092d869d938d0b45029038d8eea36110d7e3e
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
Diffstat (limited to 'bsp/virtio/virtio-scmi/virtio-scmi.cfg')
-rw-r--r-- | bsp/virtio/virtio-scmi/virtio-scmi.cfg | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/bsp/virtio/virtio-scmi/virtio-scmi.cfg b/bsp/virtio/virtio-scmi/virtio-scmi.cfg new file mode 100644 index 0000000..b698e64 --- /dev/null +++ b/bsp/virtio/virtio-scmi/virtio-scmi.cfg @@ -0,0 +1,25 @@ +# Enable ARM_SCMI_PROTOCOL ("ARM System Control and Management Interface (SCMI) +# Message Protocol") config located in menu +# +# -> Device Drivers +# -> Firmware Drivers +# -> ARM System Control and Management Interface Protocol +# +# After that, in the same menu enabled: +# +# * ARM_SCMI_TRANSPORT_VIRTIO ("SCMI transport based on VirtIO") +# +# and disabled not used features: +# +# * ARM_SCMI_TRANSPORT_SMC ("SCMI transport based on SMC") +# * ARM_SCMI_POWER_DOMAIN ("SCMI power domain driver") + +CONFIG_ARM_SCMI_PROTOCOL=y +CONFIG_ARM_SCMI_HAVE_TRANSPORT=y +CONFIG_ARM_SCMI_HAVE_MSG=y +# CONFIG_ARM_SCMI_TRANSPORT_SMC is not set +CONFIG_ARM_SCMI_TRANSPORT_VIRTIO=y +# CONFIG_ARM_SCMI_POWER_DOMAIN is not set +# CONFIG_SENSORS_ARM_SCMI is not set +# CONFIG_COMMON_CLK_SCMI is not set +# CONFIG_IIO_SCMI is not set |