Skip to contentSkip to conversation

ALSA: hda: Fix arch defconfigs

PATCH In review Takashi Iwai 2 participants 8 messages Jul 31, 2025

Subsystems (5)
lore
Share & tools
lore
#0 lore raw

v2 cover ALSA: hda: Fix arch defconfigs

This is a revised patch set for updating the arch defconfigs regarding the recent HD-audio driver kconfig changes.

Since the updates are only in sound git tree as of now, I'm going to pick those in sound git tree as well.

Takashi

v1: https://lore.kernel.org/[email protected]
v1->v2: Select all Realtek codecs for loongson, enable most of HDMI
codecs as well

===

Takashi Iwai (3):
arm: Update HD-audio configs again
LoongArch: Update HD-audio codec configs
mips: Update HD-audio configs again

 arch/arm/configs/multi_v7_defconfig        |  4 +++-
 arch/arm/configs/tegra_defconfig           |  5 +++++
 arch/loongarch/configs/loongson3_defconfig | 15 +++++++++++++++
 arch/mips/configs/loongson2k_defconfig     | 11 +++++++++++
 arch/mips/configs/loongson3_defconfig      | 15 ++++++++++++++-
 5 files changed, 48 insertions(+), 2 deletions(-)
Signature · 1 line
2.50.1
#1 lore raw

PATCH v2 1/3 arm: Update HD-audio configs again

The Realtek and HDMI HD-audio codec configs have been slightly updated again since the previous change. Follow the new kconfig changes for multi_v7_defconfig and tegra_defconfig, and add a few other configs for HDMI codecs, too.

Fixes 1d8dd982c409 ("ALSA: hda/realtek: Enable drivers as default")
Fixes 81231ad173d8 ("ALSA: hda/hdmi: Enable drivers as default")

---
v1->v2: Select more HDMI codec drivers too

The changes are only in sound.git tree, so I'll pick up this there, too

 arch/arm/configs/multi_v7_defconfig | 4 +++-
 arch/arm/configs/tegra_defconfig    | 5 +++++
 2 files changed, 8 insertions(+), 1 deletion(-)
arch/arm/configs/multi_v7_defconfig +3 -1
index 02ddd7ce9e3e..3df90c4b30b1 100644
@@ -791,10 +791,12 @@ CONFIG_SND=m
 CONFIG_SND_HDA_TEGRA=m
 CONFIG_SND_HDA_INPUT_BEEP=y
 CONFIG_SND_HDA_PATCH_LOADER=y
-CONFIG_SND_HDA_CODEC_REALTEK=y
+CONFIG_SND_HDA_CODEC_REALTEK=m
 CONFIG_SND_HDA_CODEC_REALTEK_LIB=m
 CONFIG_SND_HDA_CODEC_ALC269=m
 CONFIG_SND_HDA_CODEC_HDMI=m
+CONFIG_SND_HDA_CODEC_HDMI_GENERIC=m
+CONFIG_SND_HDA_CODEC_HDMI_NVIDIA=m
 CONFIG_SND_HDA_CODEC_HDMI_TEGRA=m
 CONFIG_SND_USB_AUDIO=m
 CONFIG_SND_SOC=m
arch/arm/configs/tegra_defconfig +5 -0
index 3a9bda2bf422..ba863b445417 100644
@@ -225,7 +225,12 @@ CONFIG_SND_HDA_TEGRA=y
 CONFIG_SND_HDA_INPUT_BEEP=y
 CONFIG_SND_HDA_PATCH_LOADER=y
 CONFIG_SND_HDA_CODEC_REALTEK=y
+CONFIG_SND_HDA_CODEC_REALTEK_LIB=y
+CONFIG_SND_HDA_CODEC_ALC269=y
 CONFIG_SND_HDA_CODEC_HDMI=y
+CONFIG_SND_HDA_CODEC_HDMI_GENERIC=y
+CONFIG_SND_HDA_CODEC_HDMI_NVIDIA=y
+CONFIG_SND_HDA_CODEC_HDMI_TEGRA=y
 # CONFIG_SND_ARM is not set
 # CONFIG_SND_SPI is not set
 # CONFIG_SND_USB is not set
Signature · 1 line
2.50.1
#2 lore raw

PATCH v2 2/3 LoongArch: Update HD-audio codec configs

In reply to Takashi Iwai

The HD-audio codec driver configs have been updated again the drivers got split with different kconfigs.

Enable all Realtek HD-audio codecs and HDMI codecs (except for NVIDIA_MCP and TEGRA) per request.

Fixes 1d8dd982c409 ("ALSA: hda/realtek: Enable drivers as default")
Fixes 81231ad173d8 ("ALSA: hda/hdmi: Enable drivers as default")

---
v1->v2: enable all Realtek codecs and most of HDMI codecs

The changes are only in sound.git tree, so I'll pick up this there, too

 arch/loongarch/configs/loongson3_defconfig | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
arch/loongarch/configs/loongson3_defconfig +15 -0
index 0d59af6007b7..7993020ffebb 100644
@@ -784,8 +784,23 @@ CONFIG_SND_HDA_HWDEP=y
 CONFIG_SND_HDA_INPUT_BEEP=y
 CONFIG_SND_HDA_PATCH_LOADER=y
 CONFIG_SND_HDA_CODEC_REALTEK=y
+CONFIG_SND_HDA_CODEC_REALTEK_LIB=y
+CONFIG_SND_HDA_CODEC_ALC260=y
+CONFIG_SND_HDA_CODEC_ALC262=y
+CONFIG_SND_HDA_CODEC_ALC268=y
+CONFIG_SND_HDA_CODEC_ALC269=y
+CONFIG_SND_HDA_CODEC_ALC662=y
+CONFIG_SND_HDA_CODEC_ALC680=y
+CONFIG_SND_HDA_CODEC_ALC861=y
+CONFIG_SND_HDA_CODEC_ALC861VD=y
+CONFIG_SND_HDA_CODEC_ALC880=y
+CONFIG_SND_HDA_CODEC_ALC882=y
 CONFIG_SND_HDA_CODEC_SIGMATEL=y
 CONFIG_SND_HDA_CODEC_HDMI=y
+CONFIG_SND_HDA_CODEC_HDMI_GENERIC=y
+CONFIG_SND_HDA_CODEC_HDMI_INTEL=y
+CONFIG_SND_HDA_CODEC_HDMI_ATI=y
+CONFIG_SND_HDA_CODEC_HDMI_NVIDIA=y
 CONFIG_SND_HDA_CODEC_CONEXANT=y
 CONFIG_SND_USB_AUDIO=m
 CONFIG_SND_SOC=m
Signature · 1 line
2.50.1
maintainer
#3 lore raw

Re: [PATCH v2 2/3] LoongArch: Update HD-audio codec configs

Quoted 3 lines · Takashi Iwai

The HD-audio codec driver configs have been updated again the drivers got split with different kconfigs.

I'm sorry for making noise, but is SND_HDA_INTEL_HDMI_SILENT_STREAM needed for common use? If yes, I also prefer it be enabled.

Huacai

Quoted 48 lines

Enable all Realtek HD-audio codecs and HDMI codecs (except for NVIDIA_MCP and TEGRA) per request.

Fixes 1d8dd982c409 ("ALSA: hda/realtek: Enable drivers as default")
Fixes 81231ad173d8 ("ALSA: hda/hdmi: Enable drivers as default")

---
v1->v2: enable all Realtek codecs and most of HDMI codecs

The changes are only in sound.git tree, so I'll pick up this there, too

 arch/loongarch/configs/loongson3_defconfig | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
arch/loongarch/configs/loongson3_defconfig +15 -1
index 0d59af6007b7..7993020ffebb 100644
@@ -784,8 +784,23 @@ CONFIG_SND_HDA_HWDEP=y
 CONFIG_SND_HDA_INPUT_BEEP=y
 CONFIG_SND_HDA_PATCH_LOADER=y
 CONFIG_SND_HDA_CODEC_REALTEK=y
+CONFIG_SND_HDA_CODEC_REALTEK_LIB=y
+CONFIG_SND_HDA_CODEC_ALC260=y
+CONFIG_SND_HDA_CODEC_ALC262=y
+CONFIG_SND_HDA_CODEC_ALC268=y
+CONFIG_SND_HDA_CODEC_ALC269=y
+CONFIG_SND_HDA_CODEC_ALC662=y
+CONFIG_SND_HDA_CODEC_ALC680=y
+CONFIG_SND_HDA_CODEC_ALC861=y
+CONFIG_SND_HDA_CODEC_ALC861VD=y
+CONFIG_SND_HDA_CODEC_ALC880=y
+CONFIG_SND_HDA_CODEC_ALC882=y
 CONFIG_SND_HDA_CODEC_SIGMATEL=y
 CONFIG_SND_HDA_CODEC_HDMI=y
+CONFIG_SND_HDA_CODEC_HDMI_GENERIC=y
+CONFIG_SND_HDA_CODEC_HDMI_INTEL=y
+CONFIG_SND_HDA_CODEC_HDMI_ATI=y
+CONFIG_SND_HDA_CODEC_HDMI_NVIDIA=y
 CONFIG_SND_HDA_CODEC_CONEXANT=y
 CONFIG_SND_USB_AUDIO=m
 CONFIG_SND_SOC=m
--

2.50.1

#4 lore raw

Re: [PATCH v2 2/3] LoongArch: Update HD-audio codec configs

Quoted 7 lines · Huacai Chen
Quoted 3 lines · Takashi Iwai

The HD-audio codec driver configs have been updated again the drivers got split with different kconfigs.

I'm sorry for making noise, but is SND_HDA_INTEL_HDMI_SILENT_STREAM needed for common use? If yes, I also prefer it be enabled.

It's better to be disabled, IMO.
(And this config hasn't been changed at all.)

Takashi

Quoted 51 lines

Huacai

Quoted 48 lines

Enable all Realtek HD-audio codecs and HDMI codecs (except for NVIDIA_MCP and TEGRA) per request.

Fixes 1d8dd982c409 ("ALSA: hda/realtek: Enable drivers as default")
Fixes 81231ad173d8 ("ALSA: hda/hdmi: Enable drivers as default")

---
v1->v2: enable all Realtek codecs and most of HDMI codecs

The changes are only in sound.git tree, so I'll pick up this there, too

 arch/loongarch/configs/loongson3_defconfig | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
arch/loongarch/configs/loongson3_defconfig +15 -1
index 0d59af6007b7..7993020ffebb 100644
@@ -784,8 +784,23 @@ CONFIG_SND_HDA_HWDEP=y
 CONFIG_SND_HDA_INPUT_BEEP=y
 CONFIG_SND_HDA_PATCH_LOADER=y
 CONFIG_SND_HDA_CODEC_REALTEK=y
+CONFIG_SND_HDA_CODEC_REALTEK_LIB=y
+CONFIG_SND_HDA_CODEC_ALC260=y
+CONFIG_SND_HDA_CODEC_ALC262=y
+CONFIG_SND_HDA_CODEC_ALC268=y
+CONFIG_SND_HDA_CODEC_ALC269=y
+CONFIG_SND_HDA_CODEC_ALC662=y
+CONFIG_SND_HDA_CODEC_ALC680=y
+CONFIG_SND_HDA_CODEC_ALC861=y
+CONFIG_SND_HDA_CODEC_ALC861VD=y
+CONFIG_SND_HDA_CODEC_ALC880=y
+CONFIG_SND_HDA_CODEC_ALC882=y
 CONFIG_SND_HDA_CODEC_SIGMATEL=y
 CONFIG_SND_HDA_CODEC_HDMI=y
+CONFIG_SND_HDA_CODEC_HDMI_GENERIC=y
+CONFIG_SND_HDA_CODEC_HDMI_INTEL=y
+CONFIG_SND_HDA_CODEC_HDMI_ATI=y
+CONFIG_SND_HDA_CODEC_HDMI_NVIDIA=y
 CONFIG_SND_HDA_CODEC_CONEXANT=y
 CONFIG_SND_USB_AUDIO=m
 CONFIG_SND_SOC=m
--

2.50.1

maintainer Reviewed-by
#5 lore raw

Re: [PATCH v2 2/3] LoongArch: Update HD-audio codec configs

Quoted 6 lines · Takashi Iwai
Quoted 3 lines · Huacai Chen
Quoted 1 line · Takashi Iwai
Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

The HD-audio codec driver configs have been updated again the drivers got split with different kconfigs.

I'm sorry for making noise, but is SND_HDA_INTEL_HDMI_SILENT_STREAM needed for common use? If yes, I also prefer it be enabled.

It's better to be disabled, IMO.
(And this config hasn't been changed at all.)

OK.

Quoted 55 lines

Takashi

Quoted 51 lines

Huacai

Quoted 48 lines

Enable all Realtek HD-audio codecs and HDMI codecs (except for NVIDIA_MCP and TEGRA) per request.

Fixes 1d8dd982c409 ("ALSA: hda/realtek: Enable drivers as default")
Fixes 81231ad173d8 ("ALSA: hda/hdmi: Enable drivers as default")

---
v1->v2: enable all Realtek codecs and most of HDMI codecs

The changes are only in sound.git tree, so I'll pick up this there, too

 arch/loongarch/configs/loongson3_defconfig | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
arch/loongarch/configs/loongson3_defconfig +15 -1
index 0d59af6007b7..7993020ffebb 100644
@@ -784,8 +784,23 @@ CONFIG_SND_HDA_HWDEP=y
 CONFIG_SND_HDA_INPUT_BEEP=y
 CONFIG_SND_HDA_PATCH_LOADER=y
 CONFIG_SND_HDA_CODEC_REALTEK=y
+CONFIG_SND_HDA_CODEC_REALTEK_LIB=y
+CONFIG_SND_HDA_CODEC_ALC260=y
+CONFIG_SND_HDA_CODEC_ALC262=y
+CONFIG_SND_HDA_CODEC_ALC268=y
+CONFIG_SND_HDA_CODEC_ALC269=y
+CONFIG_SND_HDA_CODEC_ALC662=y
+CONFIG_SND_HDA_CODEC_ALC680=y
+CONFIG_SND_HDA_CODEC_ALC861=y
+CONFIG_SND_HDA_CODEC_ALC861VD=y
+CONFIG_SND_HDA_CODEC_ALC880=y
+CONFIG_SND_HDA_CODEC_ALC882=y
 CONFIG_SND_HDA_CODEC_SIGMATEL=y
 CONFIG_SND_HDA_CODEC_HDMI=y
+CONFIG_SND_HDA_CODEC_HDMI_GENERIC=y
+CONFIG_SND_HDA_CODEC_HDMI_INTEL=y
+CONFIG_SND_HDA_CODEC_HDMI_ATI=y
+CONFIG_SND_HDA_CODEC_HDMI_NVIDIA=y
 CONFIG_SND_HDA_CODEC_CONEXANT=y
 CONFIG_SND_USB_AUDIO=m
 CONFIG_SND_SOC=m
--

2.50.1

#6 lore raw

PATCH v2 3/3 mips: Update HD-audio configs again

In reply to Takashi Iwai

The HD-audio codec driver configs have been updated again since the previous change. Correct the types and enable all Realtek HD-audio codecs for loongson, per request.

Fixes 1d8dd982c409 ("ALSA: hda/realtek: Enable drivers as default")
Fixes 81231ad173d8 ("ALSA: hda/hdmi: Enable drivers as default")

---
v1->v2: enable all Realtek codecs and most of HDMI codecs

The changes are only in sound.git tree, so I'll pick up this there, too

 arch/mips/configs/loongson2k_defconfig | 11 +++++++++++
 arch/mips/configs/loongson3_defconfig  | 15 ++++++++++++++-
 2 files changed, 25 insertions(+), 1 deletion(-)
arch/mips/configs/loongson2k_defconfig +11 -0
index 4b7f914d01d0..7a86632b87e9 100644
@@ -257,6 +257,17 @@ CONFIG_SND_HDA_INTEL=y
 CONFIG_SND_HDA_HWDEP=y
 CONFIG_SND_HDA_PATCH_LOADER=y
 CONFIG_SND_HDA_CODEC_REALTEK=y
+CONFIG_SND_HDA_CODEC_REALTEK_LIB=y
+CONFIG_SND_HDA_CODEC_ALC260=y
+CONFIG_SND_HDA_CODEC_ALC262=y
+CONFIG_SND_HDA_CODEC_ALC268=y
+CONFIG_SND_HDA_CODEC_ALC269=y
+CONFIG_SND_HDA_CODEC_ALC662=y
+CONFIG_SND_HDA_CODEC_ALC680=y
+CONFIG_SND_HDA_CODEC_ALC861=y
+CONFIG_SND_HDA_CODEC_ALC861VD=y
+CONFIG_SND_HDA_CODEC_ALC880=y
+CONFIG_SND_HDA_CODEC_ALC882=y
 CONFIG_SND_HDA_CODEC_ANALOG=y
 CONFIG_SND_HDA_CODEC_SIGMATEL=y
 CONFIG_SND_HDA_CODEC_VIA=y
arch/mips/configs/loongson3_defconfig +14 -1
index 5ff0c1554168..315ab7ec17b6 100644
@@ -292,11 +292,24 @@ CONFIG_SND_SEQ_DUMMY=m
 # CONFIG_SND_ISA is not set
 CONFIG_SND_HDA_INTEL=m
 CONFIG_SND_HDA_PATCH_LOADER=y
-CONFIG_SND_HDA_CODEC_REALTEK=y
+CONFIG_SND_HDA_CODEC_REALTEK=m
 CONFIG_SND_HDA_CODEC_REALTEK_LIB=m
+CONFIG_SND_HDA_CODEC_ALC260=m
+CONFIG_SND_HDA_CODEC_ALC262=m
+CONFIG_SND_HDA_CODEC_ALC268=m
 CONFIG_SND_HDA_CODEC_ALC269=m
+CONFIG_SND_HDA_CODEC_ALC662=m
+CONFIG_SND_HDA_CODEC_ALC680=m
+CONFIG_SND_HDA_CODEC_ALC861=m
+CONFIG_SND_HDA_CODEC_ALC861VD=m
+CONFIG_SND_HDA_CODEC_ALC880=m
+CONFIG_SND_HDA_CODEC_ALC882=m
 CONFIG_SND_HDA_CODEC_SIGMATEL=m
 CONFIG_SND_HDA_CODEC_HDMI=m
+CONFIG_SND_HDA_CODEC_HDMI_GENERIC=m
+CONFIG_SND_HDA_CODEC_HDMI_INTEL=m
+CONFIG_SND_HDA_CODEC_HDMI_ATI=m
+CONFIG_SND_HDA_CODEC_HDMI_NVIDIA=m
 CONFIG_SND_HDA_CODEC_CONEXANT=m
 # CONFIG_SND_USB is not set
 CONFIG_HIDRAW=y
Signature · 1 line
2.50.1
maintainer Reviewed-by on v2 3/3
#7 lore raw

Re: [PATCH v2 3/3] mips: Update HD-audio configs again

Quoted 9 lines · Takashi Iwai

The HD-audio codec driver configs have been updated again since the previous change. Correct the types and enable all Realtek HD-audio codecs for loongson, per request.

Fixes 1d8dd982c409 ("ALSA: hda/realtek: Enable drivers as default")
Fixes 81231ad173d8 ("ALSA: hda/hdmi: Enable drivers as default")
Quoted 65 lines

---
v1->v2: enable all Realtek codecs and most of HDMI codecs

The changes are only in sound.git tree, so I'll pick up this there, too

 arch/mips/configs/loongson2k_defconfig | 11 +++++++++++
 arch/mips/configs/loongson3_defconfig  | 15 ++++++++++++++-
 2 files changed, 25 insertions(+), 1 deletion(-)
arch/mips/configs/loongson2k_defconfig +11 -0
index 4b7f914d01d0..7a86632b87e9 100644
@@ -257,6 +257,17 @@ CONFIG_SND_HDA_INTEL=y
 CONFIG_SND_HDA_HWDEP=y
 CONFIG_SND_HDA_PATCH_LOADER=y
 CONFIG_SND_HDA_CODEC_REALTEK=y
+CONFIG_SND_HDA_CODEC_REALTEK_LIB=y
+CONFIG_SND_HDA_CODEC_ALC260=y
+CONFIG_SND_HDA_CODEC_ALC262=y
+CONFIG_SND_HDA_CODEC_ALC268=y
+CONFIG_SND_HDA_CODEC_ALC269=y
+CONFIG_SND_HDA_CODEC_ALC662=y
+CONFIG_SND_HDA_CODEC_ALC680=y
+CONFIG_SND_HDA_CODEC_ALC861=y
+CONFIG_SND_HDA_CODEC_ALC861VD=y
+CONFIG_SND_HDA_CODEC_ALC880=y
+CONFIG_SND_HDA_CODEC_ALC882=y
 CONFIG_SND_HDA_CODEC_ANALOG=y
 CONFIG_SND_HDA_CODEC_SIGMATEL=y
 CONFIG_SND_HDA_CODEC_VIA=y
arch/mips/configs/loongson3_defconfig +14 -2
index 5ff0c1554168..315ab7ec17b6 100644
@@ -292,11 +292,24 @@ CONFIG_SND_SEQ_DUMMY=m
 # CONFIG_SND_ISA is not set
 CONFIG_SND_HDA_INTEL=m
 CONFIG_SND_HDA_PATCH_LOADER=y
-CONFIG_SND_HDA_CODEC_REALTEK=y
+CONFIG_SND_HDA_CODEC_REALTEK=m
 CONFIG_SND_HDA_CODEC_REALTEK_LIB=m
+CONFIG_SND_HDA_CODEC_ALC260=m
+CONFIG_SND_HDA_CODEC_ALC262=m
+CONFIG_SND_HDA_CODEC_ALC268=m
 CONFIG_SND_HDA_CODEC_ALC269=m
+CONFIG_SND_HDA_CODEC_ALC662=m
+CONFIG_SND_HDA_CODEC_ALC680=m
+CONFIG_SND_HDA_CODEC_ALC861=m
+CONFIG_SND_HDA_CODEC_ALC861VD=m
+CONFIG_SND_HDA_CODEC_ALC880=m
+CONFIG_SND_HDA_CODEC_ALC882=m
 CONFIG_SND_HDA_CODEC_SIGMATEL=m
 CONFIG_SND_HDA_CODEC_HDMI=m
+CONFIG_SND_HDA_CODEC_HDMI_GENERIC=m
+CONFIG_SND_HDA_CODEC_HDMI_INTEL=m
+CONFIG_SND_HDA_CODEC_HDMI_ATI=m
+CONFIG_SND_HDA_CODEC_HDMI_NVIDIA=m
 CONFIG_SND_HDA_CODEC_CONEXANT=m
 # CONFIG_SND_USB is not set
 CONFIG_HIDRAW=y
--

2.50.1