[PATCH 00/18] Add audio support for the MediaTek Genio 350-evk board

Alexandre Mergnat
2024-02-26T15:16:29Z

This serie aim to add the following audio support for the Genio 350-evk:
- Playback
- 2ch Headset Jack (Earphone)
- 1ch Line-out Jack (Speaker)
- 8ch HDMI Tx
- Capture
- 1ch DMIC (On-board Digital Microphone)
- 1ch AMIC (On-board Analogic Microphone)
- 1ch Headset Jack (External Analogic Microphone)

Of course, HDMI playback need the MT8365 display patches [1] and a DTS
change documented in "mediatek,mt8365-mt6357.yaml".

[1]: https://lore.kernel.org/all/20231023-display-support-v1-0-5c860ed5c33b@baylibre.com/

Signed-off-by: Alexandre Mergnat <amergnat@baylibre.com>
---
Alexandre Mergnat (15):
ASoC: dt-bindings: mediatek,mt8365-afe: Add audio afe document
ASoC: dt-bindings: mediatek,mt8365-mt6357: Add audio sound card document
dt-bindings: mfd: mediatek: Add codec property for MT6357 PMIC
ASoC: mediatek: mt8365: Add common header
SoC: mediatek: mt8365: support audio clock control
ASoC: mediatek: mt8365: Add I2S DAI support
ASoC: mediatek: mt8365: Add ADDA DAI support
ASoC: mediatek: mt8365: Add DMIC DAI support
ASoC: mediatek: mt8365: Add PCM DAI support
ASoC: mediatek: mt8365: Add platform driver
ASoC: mediatek: Add MT8365 support
arm64: defconfig: enable mt8365 sound
arm64: dts: mediatek: add mt6357 audio codec support
arm64: dts: mediatek: add afe support for mt8365 SoC
arm64: dts: mediatek: add audio support for mt8365-evk

Fabien Parent (1):
mfd: mt6397-core: register mt6357 sound codec

Nicolas Belin (2):
ASoc: mediatek: mt8365: Add a specific soundcard for EVK
ASoC: codecs: mt6357: add MT6357 codec

.../devicetree/bindings/mfd/mediatek,mt6357.yaml | 11 +
.../bindings/sound/mediatek,mt8365-afe.yaml | 164 ++
.../bindings/sound/mediatek,mt8365-mt6357.yaml | 127 ++
arch/arm64/boot/dts/mediatek/mt6357.dtsi | 6 +-
arch/arm64/boot/dts/mediatek/mt8365-evk.dts | 95 +-
arch/arm64/boot/dts/mediatek/mt8365.dtsi | 47 +-
arch/arm64/configs/defconfig | 2 +
drivers/mfd/mt6397-core.c | 3 +
sound/soc/codecs/Kconfig | 7 +
sound/soc/codecs/Makefile | 2 +
sound/soc/codecs/mt6357.c | 1805 +++++++++++++++
sound/soc/codecs/mt6357.h | 674 ++++++
sound/soc/mediatek/Kconfig | 20 +
sound/soc/mediatek/Makefile | 1 +
sound/soc/mediatek/mt8365/Makefile | 15 +
sound/soc/mediatek/mt8365/mt8365-afe-clk.c | 455 ++++
sound/soc/mediatek/mt8365/mt8365-afe-clk.h | 55 +
sound/soc/mediatek/mt8365/mt8365-afe-common.h | 495 +++++
sound/soc/mediatek/mt8365/mt8365-afe-pcm.c | 2347 ++++++++++++++++++++
sound/soc/mediatek/mt8365/mt8365-dai-adda.c | 355 +++
sound/soc/mediatek/mt8365/mt8365-dai-dmic.c | 475 ++++
sound/soc/mediatek/mt8365/mt8365-dai-i2s.c | 901 ++++++++
sound/soc/mediatek/mt8365/mt8365-dai-pcm.c | 298 +++
sound/soc/mediatek/mt8365/mt8365-mt6357.c | 379 ++++
sound/soc/mediatek/mt8365/mt8365-reg.h | 987 ++++++++
25 files changed, 9718 insertions(+), 8 deletions(-)
---
base-commit: 6613476e225e090cc9aad49be7fa504e290dd33d
change-id: 20240226-audio-i350-4e11da088e55

Best regards,
--
Alexandre Mergnat <amergnat@baylibre.com>