linux-sound.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 00/10] ASoC: mediatek: Add support for MT8189 SoC
@ 2025-09-05  7:15 Cyril Chao
  2025-09-05  7:15 ` [PATCH v2 01/10] ASoC: mediatek: mt8189: add common header Cyril Chao
                   ` (9 more replies)
  0 siblings, 10 replies; 12+ messages in thread
From: Cyril Chao @ 2025-09-05  7:15 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Matthias Brugger, AngeloGioacchino Del Regno,
	Jaroslav Kysela, Takashi Iwai, Darren Ye, Cyril Chao
  Cc: linux-sound, devicetree, linux-kernel, linux-arm-kernel,
	linux-mediatek, Project_Global_Chrome_Upstream_Group, Cyril Chao

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


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2025-09-05 22:52 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-05  7:15 [PATCH v2 00/10] ASoC: mediatek: Add support for MT8189 SoC Cyril Chao
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).