]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: mediatek: mt8188: Add support for DMIC
authorparkeryang <Parker.Yang@mediatek.com>
Tue, 25 Feb 2025 14:33:50 +0000 (11:33 -0300)
committerMark Brown <broonie@kernel.org>
Tue, 25 Feb 2025 14:58:50 +0000 (14:58 +0000)
commitc1e42ec04197ac013d049dde40d9c72cf543b5f6
treef3fe42ca2e76a690157e818eb3a6cee17d447db7
parent7d87bde21c73731ddaf15e572020f80999c38ee3
ASoC: mediatek: mt8188: Add support for DMIC

Add support for the DMIC DAIs present on the MT8188 SoC. To achieve
that, add a DAI driver for DMIC and register it during probe, and
describe the AFE routes that connect the DMIC (I004-I011) to the UL9
frontend (O002-O009).

Signed-off-by: parkeryang <Parker.Yang@mediatek.com>
Co-developed-by: NĂ­colas F. R. A. Prado <nfraprado@collabora.com>
Signed-off-by: NĂ­colas F. R. A. Prado <nfraprado@collabora.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://patch.msgid.link/20250225-genio700-dmic-v2-4-3076f5b50ef7@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mediatek/mt8188/Makefile
sound/soc/mediatek/mt8188/mt8188-afe-common.h
sound/soc/mediatek/mt8188/mt8188-afe-pcm.c
sound/soc/mediatek/mt8188/mt8188-dai-dmic.c [new file with mode: 0644]
sound/soc/mediatek/mt8188/mt8188-reg.h