summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorcarter.li <carter.li@starfivetech.com>2023-07-27 12:25:18 +0300
committercarter.li <carter.li@starfivetech.com>2023-08-14 06:26:28 +0300
commitee0f2ba3df175277b5dfda1eda652abd43c01235 (patch)
tree5190c06f819fa036e1ca1582d059dfbef17c6dd5 /arch
parent09ec182c762d3154a106d1184b1e48e86f39a30f (diff)
downloadlinux-ee0f2ba3df175277b5dfda1eda652abd43c01235.tar.xz
riscv: config: hifi4: add sof default config for starfive
add sof default config and change mailbox's config to y, because sof need mailbox for ipc. Signed-off-by: carter.li <carter.li@starfivetech.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/riscv/configs/starfive_visionfive2_defconfig8
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/riscv/configs/starfive_visionfive2_defconfig b/arch/riscv/configs/starfive_visionfive2_defconfig
index 18c79425fcb5..c44bc8eed81a 100644
--- a/arch/riscv/configs/starfive_visionfive2_defconfig
+++ b/arch/riscv/configs/starfive_visionfive2_defconfig
@@ -232,9 +232,15 @@ CONFIG_SND=y
CONFIG_SND_USB_AUDIO=y
CONFIG_SND_SOC=y
CONFIG_SND_DESIGNWARE_I2S=y
+CONFIG_SND_SOC_SOF_TOPLEVEL=y
+CONFIG_SND_SOC_SOF_OF=y
+CONFIG_SND_SOC_SOF_STARFIVE_TOPLEVEL=y
+CONFIG_SND_SOC_SOF_STARFIVE_SUPPORT=y
+CONFIG_STARFIVE_DSP=y
CONFIG_SND_SOC_STARFIVE=y
CONFIG_SND_SOC_STARFIVE_PWMDAC=y
CONFIG_SND_SOC_STARFIVE_I2S=y
+CONFIG_SND_SOC_STARFIVE_SOF_TDM_DAI=y
CONFIG_SND_SOC_AC108=y
CONFIG_SND_SOC_WM8960=y
CONFIG_SND_SIMPLE_CARD=y
@@ -321,7 +327,7 @@ CONFIG_DMATEST=y
CONFIG_GOLDFISH=y
CONFIG_STARFIVE_TIMER=y
CONFIG_MAILBOX=y
-CONFIG_STARFIVE_MBOX=m
+CONFIG_STARFIVE_MBOX=y
CONFIG_STARFIVE_MBOX_TEST=m
# CONFIG_IOMMU_SUPPORT is not set
CONFIG_RPMSG_CHAR=y