* [PATCH 0/2] ASoC: sdw_utils: make RT712/RT721 CODEC_MIC be optional
@ 2026-05-08 9:32 Bard Liao
2026-05-08 9:32 ` [PATCH 1/2] ASoC: sdw_utils: Add quirk to ignore RT712 CODEC_MIC Bard Liao
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Bard Liao @ 2026-05-08 9:32 UTC (permalink / raw)
To: broonie, tiwai; +Cc: linux-sound, bard.liao, peter.ujfalusi, mac.chiang
The RT712 and RT721 codec mic are optional and are not used on some
products. Add a quirk to make it optional and skip the codec mic DAI
when it is not present in DisCo table.
Mac Chiang (2):
ASoC: sdw_utils: Add quirk to ignore RT712 CODEC_MIC
ASoC: sdw_utils: Add quirk to ignore RT721 CODEC_MIC
sound/soc/sdw_utils/soc_sdw_utils.c | 4 ++++
1 file changed, 4 insertions(+)
--
2.43.0
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/2] ASoC: sdw_utils: Add quirk to ignore RT712 CODEC_MIC
2026-05-08 9:32 [PATCH 0/2] ASoC: sdw_utils: make RT712/RT721 CODEC_MIC be optional Bard Liao
@ 2026-05-08 9:32 ` Bard Liao
2026-05-08 9:32 ` [PATCH 2/2] ASoC: sdw_utils: Add quirk to ignore RT721 CODEC_MIC Bard Liao
2026-05-11 1:04 ` [PATCH 0/2] ASoC: sdw_utils: make RT712/RT721 CODEC_MIC be optional Mark Brown
2 siblings, 0 replies; 4+ messages in thread
From: Bard Liao @ 2026-05-08 9:32 UTC (permalink / raw)
To: broonie, tiwai; +Cc: linux-sound, bard.liao, peter.ujfalusi, mac.chiang
From: Mac Chiang <mac.chiang@intel.com>
Some devices do not use CODEC_MIC but use the host PCH_DMIC
instead. Add a quirk to skip the CODEC_MIC DAI when it is not present
in disco table, ensuring the correct capture device is used.
If CODEC_MIC is present, it continues to be used as default.
Fixes: 9489db97f6f0 ("ASoC: sdw_utils: add SmartMic DAI for RT712 VB")
Signed-off-by: Mac Chiang <mac.chiang@intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
---
sound/soc/sdw_utils/soc_sdw_utils.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sound/soc/sdw_utils/soc_sdw_utils.c b/sound/soc/sdw_utils/soc_sdw_utils.c
index 85291bfb58fb..cd4ed0e2677e 100644
--- a/sound/soc/sdw_utils/soc_sdw_utils.c
+++ b/sound/soc/sdw_utils/soc_sdw_utils.c
@@ -345,6 +345,8 @@ struct asoc_sdw_codec_info codec_info_list[] = {
.dai_type = SOC_SDW_DAI_TYPE_MIC,
.dailink = {SOC_SDW_UNUSED_DAI_ID, SOC_SDW_DMIC_DAI_ID},
.rtd_init = asoc_sdw_rt_dmic_rtd_init,
+ .quirk = SOC_SDW_CODEC_MIC,
+ .quirk_exclude = true,
},
},
.dai_num = 3,
--
2.43.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] ASoC: sdw_utils: Add quirk to ignore RT721 CODEC_MIC
2026-05-08 9:32 [PATCH 0/2] ASoC: sdw_utils: make RT712/RT721 CODEC_MIC be optional Bard Liao
2026-05-08 9:32 ` [PATCH 1/2] ASoC: sdw_utils: Add quirk to ignore RT712 CODEC_MIC Bard Liao
@ 2026-05-08 9:32 ` Bard Liao
2026-05-11 1:04 ` [PATCH 0/2] ASoC: sdw_utils: make RT712/RT721 CODEC_MIC be optional Mark Brown
2 siblings, 0 replies; 4+ messages in thread
From: Bard Liao @ 2026-05-08 9:32 UTC (permalink / raw)
To: broonie, tiwai; +Cc: linux-sound, bard.liao, peter.ujfalusi, mac.chiang
From: Mac Chiang <mac.chiang@intel.corp-partner.google.com>
Add a quirk to skip the CODEC_MIC DAI when it is not present.
This ensures PCH_DMIC is used as the fallback; otherwise,
CODEC_MIC remains the default.
Fixes: 846a8d3cf3ba ("ASoC: Intel: soc-acpi-intel-ptl-match: Add rt721 support")
Signed-off-by: Mac Chiang <mac.chiang@intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
---
sound/soc/sdw_utils/soc_sdw_utils.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sound/soc/sdw_utils/soc_sdw_utils.c b/sound/soc/sdw_utils/soc_sdw_utils.c
index cd4ed0e2677e..ede41c532c52 100644
--- a/sound/soc/sdw_utils/soc_sdw_utils.c
+++ b/sound/soc/sdw_utils/soc_sdw_utils.c
@@ -654,6 +654,8 @@ struct asoc_sdw_codec_info codec_info_list[] = {
.dai_type = SOC_SDW_DAI_TYPE_MIC,
.dailink = {SOC_SDW_UNUSED_DAI_ID, SOC_SDW_DMIC_DAI_ID},
.rtd_init = asoc_sdw_rt_dmic_rtd_init,
+ .quirk = SOC_SDW_CODEC_MIC,
+ .quirk_exclude = true,
},
},
.dai_num = 3,
--
2.43.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 0/2] ASoC: sdw_utils: make RT712/RT721 CODEC_MIC be optional
2026-05-08 9:32 [PATCH 0/2] ASoC: sdw_utils: make RT712/RT721 CODEC_MIC be optional Bard Liao
2026-05-08 9:32 ` [PATCH 1/2] ASoC: sdw_utils: Add quirk to ignore RT712 CODEC_MIC Bard Liao
2026-05-08 9:32 ` [PATCH 2/2] ASoC: sdw_utils: Add quirk to ignore RT721 CODEC_MIC Bard Liao
@ 2026-05-11 1:04 ` Mark Brown
2 siblings, 0 replies; 4+ messages in thread
From: Mark Brown @ 2026-05-11 1:04 UTC (permalink / raw)
To: tiwai, Bard Liao; +Cc: linux-sound, bard.liao, peter.ujfalusi, mac.chiang
On Fri, 08 May 2026 17:32:22 +0800, Bard Liao wrote:
> ASoC: sdw_utils: make RT712/RT721 CODEC_MIC be optional
>
> The RT712 and RT721 codec mic are optional and are not used on some
> products. Add a quirk to make it optional and skip the codec mic DAI
> when it is not present in DisCo table.
>
> Mac Chiang (2):
> ASoC: sdw_utils: Add quirk to ignore RT712 CODEC_MIC
> ASoC: sdw_utils: Add quirk to ignore RT721 CODEC_MIC
>
> [...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-7.1
Thanks!
[1/2] ASoC: sdw_utils: Add quirk to ignore RT712 CODEC_MIC
https://git.kernel.org/broonie/sound/c/9c37daee7c17
[2/2] ASoC: sdw_utils: Add quirk to ignore RT721 CODEC_MIC
https://git.kernel.org/broonie/sound/c/fa749a77bdc5
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-05-11 12:02 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-08 9:32 [PATCH 0/2] ASoC: sdw_utils: make RT712/RT721 CODEC_MIC be optional Bard Liao
2026-05-08 9:32 ` [PATCH 1/2] ASoC: sdw_utils: Add quirk to ignore RT712 CODEC_MIC Bard Liao
2026-05-08 9:32 ` [PATCH 2/2] ASoC: sdw_utils: Add quirk to ignore RT721 CODEC_MIC Bard Liao
2026-05-11 1:04 ` [PATCH 0/2] ASoC: sdw_utils: make RT712/RT721 CODEC_MIC be optional Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox