aboutsummaryrefslogtreecommitdiffstats
path: root/bsp
diff options
context:
space:
mode:
authorVasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>2022-08-07 22:41:35 +0200
committerVasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>2022-08-07 23:36:53 +0200
commit77c05cc449b00d3be1f6d9691dc37467d2916def (patch)
tree3c0733dc6d98604d257114e2f5807632bad02f8b /bsp
parentbf5bc00990044570d54b3fdc6d1a8f75d6a91863 (diff)
virtio: Enable VIRTIO sound driver.
VIRTIO sound device is part of OASIS Virtual I/O Device (VIRTIO) Version 1.2 specification [1]. virtio-snd.cfg snippet has been generated using menuconfig/diffconfig tasks by selecting SND_VIRTIO, other configs have been selected automatically. [1]: https://docs.oasis-open.org/virtio/virtio/v1.2/virtio-v1.2.html Bug-AGL: SPEC-3894 Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com> Change-Id: I43d9522d7e9bb761ed6d310804b1efecf8d8524c
Diffstat (limited to 'bsp')
-rw-r--r--bsp/virtio/agl-virtio.scc2
-rw-r--r--bsp/virtio/virtio-snd.cfg3
2 files changed, 5 insertions, 0 deletions
diff --git a/bsp/virtio/agl-virtio.scc b/bsp/virtio/agl-virtio.scc
index 5b8f06c..6711570 100644
--- a/bsp/virtio/agl-virtio.scc
+++ b/bsp/virtio/agl-virtio.scc
@@ -1,2 +1,4 @@
# SPDX-License-Identifier: MIT
kconf hardware agl-virtio.cfg
+
+kconf hardware virtio-snd.cfg
diff --git a/bsp/virtio/virtio-snd.cfg b/bsp/virtio/virtio-snd.cfg
new file mode 100644
index 0000000..28a5c0c
--- /dev/null
+++ b/bsp/virtio/virtio-snd.cfg
@@ -0,0 +1,3 @@
+CONFIG_SND_JACK=y
+CONFIG_SND_JACK_INPUT_DEV=y
+CONFIG_SND_VIRTIO=m