[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250905071659.25805-1-Cyril.Chao@mediatek.com>
Date: Fri, 5 Sep 2025 15:15:45 +0800
From: Cyril Chao <Cyril.Chao@...iatek.com>
To: Liam Girdwood <lgirdwood@...il.com>, Mark Brown <broonie@...nel.org>, Rob
Herring <robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>, Conor
Dooley <conor+dt@...nel.org>, Matthias Brugger <matthias.bgg@...il.com>,
AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>,
Jaroslav Kysela <perex@...ex.cz>, Takashi Iwai <tiwai@...e.com>, Darren Ye
<darren.ye@...iatek.com>, Cyril Chao <cyril.chao@...iatek.com>
CC: <linux-sound@...r.kernel.org>, <devicetree@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <linux-arm-kernel@...ts.infradead.org>,
<linux-mediatek@...ts.infradead.org>,
<Project_Global_Chrome_Upstream_Group@...iatek.com>, Cyril Chao
<Cyril.Chao@...iatek.com>
Subject: [PATCH v2 00/10] ASoC: mediatek: Add support for MT8189 SoC
Based on tag: next-20250903, linux-next/master
This series of patches adds support for Mediatek AFE of MT8189 SoC.
Patches are based on broonie tree "for-next" branch.
Changes in v2:
This version refines the implementation of the MT8189 audio driver,
leveraging the feedback and comments provided during the review of the
MT8196 v6 patch series since they have samilar code structure.
- Refined the I2S DAI implementation based on reviewer comments,
removed unused widgets.
- Refined the TDM DAI implementation based on reviewer comments,
optimized the MUX widget flow.
- Refined the ADDA DAI implementation based on reviewer comments.
- Refined the PCM DAI implementation based on reviewer comments.
- Refined the platform driver based on reviewers comments, optimized
the Channel Merge(CM) related flow.
- Moved the pinctrl widget from the machine driver to the platform
driver based on reviewer comments.
- Removed unused clock initialization and settings to reduce redundancy.
- Added a restriction to limit the sample rate to 48kHz.
- Updated the machine driver’s compatible name as per the reviewer’s suggestions.
- Modify the patch order of the dt-bindings and driver implementation.
Cyril Chao (10):
ASoC: mediatek: mt8189: add common header
ASoC: mediatek: mt8189: support audio clock control
ASoC: mediatek: mt8189: support ADDA in platform driver
ASoC: mediatek: mt8189: support I2S in platform driver
ASoC: mediatek: mt8189: support TDM in platform driver
ASoC: mediatek: mt8189: support PCM in platform driver
ASoC: dt-bindings: mediatek,mt8189-afe-pcm: add audio afe document
ASoC: mediatek: mt8189: add platform driver
ASoC: dt-bindings: mediatek,mt8189-nau8825: add mt8189-nau8825
document
ASoC: mediatek: mt8189: add machine driver with nau8825
.../sound/mediatek,mt8189-afe-pcm.yaml | 162 +
.../sound/mediatek,mt8189-nau8825.yaml | 101 +
sound/soc/mediatek/Kconfig | 28 +
sound/soc/mediatek/Makefile | 1 +
sound/soc/mediatek/mt8189/Makefile | 18 +
sound/soc/mediatek/mt8189/mt8189-afe-clk.c | 738 ++
sound/soc/mediatek/mt8189/mt8189-afe-clk.h | 72 +
sound/soc/mediatek/mt8189/mt8189-afe-common.h | 238 +
sound/soc/mediatek/mt8189/mt8189-afe-pcm.c | 2617 ++++
sound/soc/mediatek/mt8189/mt8189-dai-adda.c | 1228 ++
sound/soc/mediatek/mt8189/mt8189-dai-i2s.c | 1463 +++
sound/soc/mediatek/mt8189/mt8189-dai-pcm.c | 332 +
sound/soc/mediatek/mt8189/mt8189-dai-tdm.c | 672 +
.../mediatek/mt8189/mt8189-interconnection.h | 97 +
sound/soc/mediatek/mt8189/mt8189-nau8825.c | 1041 ++
sound/soc/mediatek/mt8189/mt8189-reg.h | 10773 ++++++++++++++++
16 files changed, 19581 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/mediatek,mt8189-afe-pcm.yaml
create mode 100644 Documentation/devicetree/bindings/sound/mediatek,mt8189-nau8825.yaml
create mode 100644 sound/soc/mediatek/mt8189/Makefile
create mode 100644 sound/soc/mediatek/mt8189/mt8189-afe-clk.c
create mode 100644 sound/soc/mediatek/mt8189/mt8189-afe-clk.h
create mode 100644 sound/soc/mediatek/mt8189/mt8189-afe-common.h
create mode 100644 sound/soc/mediatek/mt8189/mt8189-afe-pcm.c
create mode 100644 sound/soc/mediatek/mt8189/mt8189-dai-adda.c
create mode 100644 sound/soc/mediatek/mt8189/mt8189-dai-i2s.c
create mode 100644 sound/soc/mediatek/mt8189/mt8189-dai-pcm.c
create mode 100644 sound/soc/mediatek/mt8189/mt8189-dai-tdm.c
create mode 100644 sound/soc/mediatek/mt8189/mt8189-interconnection.h
create mode 100644 sound/soc/mediatek/mt8189/mt8189-nau8825.c
create mode 100644 sound/soc/mediatek/mt8189/mt8189-reg.h
--
2.45.2
Powered by blists - more mailing lists