This will enable kernel options for Intel Sound Open Firmware support,
only fewer Intel platforms use Soundwire audio by default, but when SOF
enabled, this will replace HD audio driver which most of Intel boards
used. So we need enable it carefully only for some specific boards.

Signed-off-by: Liwei Song <[email protected]>
---
 features/sound/intel-snd-sof.cfg | 12 ++++++++++++
 features/sound/intel-snd-sof.scc |  4 ++++
 2 files changed, 16 insertions(+)
 create mode 100644 features/sound/intel-snd-sof.cfg
 create mode 100644 features/sound/intel-snd-sof.scc

diff --git a/features/sound/intel-snd-sof.cfg b/features/sound/intel-snd-sof.cfg
new file mode 100644
index 000000000000..5efcd0c826c3
--- /dev/null
+++ b/features/sound/intel-snd-sof.cfg
@@ -0,0 +1,12 @@
+# SPDX-License-Identifier: MIT
+CONFIG_SOUNDWIRE=m
+CONFIG_SND_SOC=m
+CONFIG_SND_SOC_SOF_TOPLEVEL=y
+CONFIG_SND_SOC_SOF_INTEL_TOPLEVEL=y
+CONFIG_SND_SOC_SOF_PCI=m
+CONFIG_SND_SOC_SOF_ALDERLAKE=m
+CONFIG_SND_SOC_SOF_INTEL_SOUNDWIRE=m
+CONFIG_SND_SOC_INTEL_USER_FRIENDLY_LONG_NAMES=y
+CONFIG_SND_SOC_INTEL_SOUNDWIRE_SOF_MACH=m
+CONFIG_SND_SOC_SOF_HDA_LINK=y
+CONFIG_SND_SOC_SOF_HDA_AUDIO_CODEC=y
diff --git a/features/sound/intel-snd-sof.scc b/features/sound/intel-snd-sof.scc
new file mode 100644
index 000000000000..856329300c48
--- /dev/null
+++ b/features/sound/intel-snd-sof.scc
@@ -0,0 +1,4 @@
+# SPDX-License-Identifier: MIT
+define KFEATURE_DESCRIPTION "Enable Intel Sound Open Firmware(SOF) support for 
Intel audio DSPs"
+
+kconf hardware intel-snd-sof.cfg
-- 
2.40.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13609): 
https://lists.yoctoproject.org/g/linux-yocto/message/13609
Mute This Topic: https://lists.yoctoproject.org/mt/104578499/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to