From 7495e4c78ff36a65afba85771b9106eac4f6e275 Mon Sep 17 00:00:00 2001 From: Andriy Tryshnivskyy Date: Mon, 4 Oct 2021 20:59:45 +0300 Subject: virtualization/linux-yocto: Enable virtio SCMI driver. Snippet has been generated using menuconfig/diffconfig tasks. Enabled VIRTIO_SCMI and ARM_SCMI_PROTOCOL. Switch off enabled by default ARM_SCMI_POWER_DOMAIN since it is not planned to be used at the moment. Bug-AGL: SPEC-3865 Signed-off-by: Andriy Tryshnivskyy Change-Id: Ic4d3623c0fe330513a04b503c2037f0769d6ce69 --- meta-egvirt/recipes-kernel/linux/linux-yocto/virtio_scmi.cfg | 5 +++++ meta-egvirt/recipes-kernel/linux/linux-yocto_%.bbappend | 1 + 2 files changed, 6 insertions(+) create mode 100644 meta-egvirt/recipes-kernel/linux/linux-yocto/virtio_scmi.cfg (limited to 'meta-egvirt/recipes-kernel/linux') diff --git a/meta-egvirt/recipes-kernel/linux/linux-yocto/virtio_scmi.cfg b/meta-egvirt/recipes-kernel/linux/linux-yocto/virtio_scmi.cfg new file mode 100644 index 00000000..4159ae58 --- /dev/null +++ b/meta-egvirt/recipes-kernel/linux/linux-yocto/virtio_scmi.cfg @@ -0,0 +1,5 @@ +CONFIG_ARM_SCMI_PROTOCOL=y +CONFIG_VIRTIO_SCMI=y +# CONFIG_ARM_SCMI_POWER_DOMAIN is not set +# CONFIG_SENSORS_ARM_SCMI is not set +# CONFIG_COMMON_CLK_SCMI is not set diff --git a/meta-egvirt/recipes-kernel/linux/linux-yocto_%.bbappend b/meta-egvirt/recipes-kernel/linux/linux-yocto_%.bbappend index a115ce35..0012276c 100644 --- a/meta-egvirt/recipes-kernel/linux/linux-yocto_%.bbappend +++ b/meta-egvirt/recipes-kernel/linux/linux-yocto_%.bbappend @@ -10,4 +10,5 @@ SRC_URI += " \ file://virtio-scmi/0008-firmware-arm_scmi-Add-is_scmi_protocol_device.patch \ file://virtio-scmi/0009-dt-bindings-arm-Add-virtio-transport-for-SCMI.patch \ file://virtio-scmi/0010-firmware-arm_scmi-Add-virtio-transport.patch \ + file://virtio_scmi.cfg \ " -- cgit 1.2.3-korg