From: Cyril Chao <Cyril.Chao@mediatek.com>
To: Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Matthias Brugger <matthias.bgg@gmail.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>,
Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
Darren Ye <darren.ye@mediatek.com>,
Cyril Chao <cyril.chao@mediatek.com>
Cc: <linux-sound@vger.kernel.org>, <devicetree@vger.kernel.org>,
<linux-kernel@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
<linux-mediatek@lists.infradead.org>,
<Project_Global_Chrome_Upstream_Group@mediatek.com>,
Cyril Chao <Cyril.Chao@mediatek.com>
Subject: [PATCH v2 00/10] ASoC: mediatek: Add support for MT8189 SoC
Date: Fri, 5 Sep 2025 15:15:45 +0800 [thread overview]
Message-ID: <20250905071659.25805-1-Cyril.Chao@mediatek.com> (raw)
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
next reply other threads:[~2025-09-05 7:17 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-05 7:15 Cyril Chao [this message]
2025-09-05 7:15 ` [PATCH v2 01/10] ASoC: mediatek: mt8189: add common header Cyril Chao
2025-09-05 7:15 ` [PATCH v2 02/10] ASoC: mediatek: mt8189: support audio clock control Cyril Chao
2025-09-05 7:15 ` [PATCH v2 03/10] ASoC: mediatek: mt8189: support ADDA in platform driver Cyril Chao
2025-09-05 7:15 ` [PATCH v2 04/10] ASoC: mediatek: mt8189: support I2S " Cyril Chao
2025-09-05 7:15 ` [PATCH v2 05/10] ASoC: mediatek: mt8189: support TDM " Cyril Chao
2025-09-05 7:15 ` [PATCH v2 06/10] ASoC: mediatek: mt8189: support PCM " Cyril Chao
2025-09-05 7:15 ` [PATCH v2 07/10] ASoC: dt-bindings: mediatek,mt8189-afe-pcm: add audio afe document Cyril Chao
2025-09-05 7:15 ` [PATCH v2 08/10] ASoC: mediatek: mt8189: add platform driver Cyril Chao
2025-09-05 7:15 ` [PATCH v2 09/10] ASoC: dt-bindings: mediatek,mt8189-nau8825: add mt8189-nau8825 document Cyril Chao
2025-09-05 22:52 ` Rob Herring
2025-09-05 7:15 ` [PATCH v2 10/10] ASoC: mediatek: mt8189: add machine driver with nau8825 Cyril Chao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250905071659.25805-1-Cyril.Chao@mediatek.com \
--to=cyril.chao@mediatek.com \
--cc=Project_Global_Chrome_Upstream_Group@mediatek.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=darren.ye@mediatek.com \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-sound@vger.kernel.org \
--cc=matthias.bgg@gmail.com \
--cc=perex@perex.cz \
--cc=robh@kernel.org \
--cc=tiwai@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®