|
|
Log in / Subscribe / Register

ASoC: mediatek: Add support for MT8196 SoC

From:  "Darren.Ye" <darren.ye-AT-mediatek.com>
To:  Liam Girdwood <lgirdwood-AT-gmail.com>, Mark Brown <broonie-AT-kernel.org>, Rob Herring <robh-AT-kernel.org>, Krzysztof Kozlowski <krzk+dt-AT-kernel.org>, Conor Dooley <conor+dt-AT-kernel.org>, Matthias Brugger <matthias.bgg-AT-gmail.com>, AngeloGioacchino Del Regno <angelogioacchino.delregno-AT-collabora.com>, Jaroslav Kysela <perex-AT-perex.cz>, Takashi Iwai <tiwai-AT-suse.com>, Linus Walleij <linus.walleij-AT-linaro.org>, Bartosz Golaszewski <brgl-AT-bgdev.pl>
Subject:  [PATCH 00/14] ASoC: mediatek: Add support for MT8196 SoC
Date:  Fri, 07 Mar 2025 20:47:26 +0800
Message-ID:  <20250307124841.23777-1-darren.ye@mediatek.com>
Cc:  <linux-sound-AT-vger.kernel.org>, <devicetree-AT-vger.kernel.org>, <linux-kernel-AT-vger.kernel.org>, <linux-arm-kernel-AT-lists.infradead.org>, <linux-mediatek-AT-lists.infradead.org>, <linux-gpio-AT-vger.kernel.org>, Darren Ye <darren.ye-AT-mediatek.com>
Archive-link:  Article

From: Darren Ye <darren.ye@mediatek.com>

This series of patches adds support for Mediatek AFE of MT8196 SoC.
Patches are based on broonie tree "for-next" branch.

---
This series patches dependent on:
[1]
https://lore.kernel.org/all/20250307032942.10447-1-guangj...

Darren Ye (14):
  ASoC: mediatek: common: modify mtk afe common driver for mt8196
  ASoC: mediatek: common: modify mtk afe platform driver for mt8196
  ASoC: mediatek: mt8196: add common header
  ASoC: mediatek: mt8196: add common interface for mt8196 DAI driver
  ASoC: mediatek: mt8196: support audio clock control
  ASoC: mediatek: mt8196: support audio GPIO control
  ASoC: mediatek: mt8196: support ADDA in platform driver
  ASoC: mediatek: mt8196: support I2S in platform driver
  ASoC: mediatek: mt8196: support TDM in platform driver
  ASoC: mediatek: mt8196: support CM in platform driver
  ASoC: mediatek: mt8196: add platform driver
  dt-bindings: mediatek: mt8196: add audio AFE document
  ASoC: mediatek: mt8196: add machine driver with mt6681
  dt-bindings: mediatek: mt8196: add mt8196-mt6681 document

 .../bindings/sound/mediatek,mt8196-afe.yaml   |   259 +
 .../sound/mediatek,mt8196-mt6681.yaml         |   122 +
 sound/soc/mediatek/Kconfig                    |    30 +
 sound/soc/mediatek/Makefile                   |     1 +
 sound/soc/mediatek/common/mtk-afe-fe-dai.c    |    30 +-
 sound/soc/mediatek/common/mtk-afe-fe-dai.h    |     6 +
 .../mediatek/common/mtk-afe-platform-driver.c |    63 +-
 .../mediatek/common/mtk-afe-platform-driver.h |     5 +
 sound/soc/mediatek/common/mtk-base-afe.h      |    13 +
 sound/soc/mediatek/mt8196/Makefile            |    19 +
 sound/soc/mediatek/mt8196/mt8196-afe-clk.c    |   698 +
 sound/soc/mediatek/mt8196/mt8196-afe-clk.h    |   313 +
 sound/soc/mediatek/mt8196/mt8196-afe-cm.c     |    94 +
 sound/soc/mediatek/mt8196/mt8196-afe-cm.h     |    23 +
 sound/soc/mediatek/mt8196/mt8196-afe-common.h |   290 +
 .../soc/mediatek/mt8196/mt8196-afe-control.c  |   109 +
 sound/soc/mediatek/mt8196/mt8196-afe-gpio.c   |   239 +
 sound/soc/mediatek/mt8196/mt8196-afe-gpio.h   |    58 +
 sound/soc/mediatek/mt8196/mt8196-afe-pcm.c    |  5134 +++++++
 sound/soc/mediatek/mt8196/mt8196-dai-adda.c   |  2207 +++
 sound/soc/mediatek/mt8196/mt8196-dai-i2s.c    |  4399 ++++++
 sound/soc/mediatek/mt8196/mt8196-dai-tdm.c    |   837 ++
 .../mediatek/mt8196/mt8196-interconnection.h  |   121 +
 sound/soc/mediatek/mt8196/mt8196-mt6681.c     |   879 ++
 sound/soc/mediatek/mt8196/mt8196-reg.h        | 12133 ++++++++++++++++
 25 files changed, 28055 insertions(+), 27 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/sound/mediatek,mt8196-afe.yaml
 create mode 100644 Documentation/devicetree/bindings/sound/mediatek,mt8196-mt6681.yaml
 create mode 100644 sound/soc/mediatek/mt8196/Makefile
 create mode 100644 sound/soc/mediatek/mt8196/mt8196-afe-clk.c
 create mode 100644 sound/soc/mediatek/mt8196/mt8196-afe-clk.h
 create mode 100644 sound/soc/mediatek/mt8196/mt8196-afe-cm.c
 create mode 100644 sound/soc/mediatek/mt8196/mt8196-afe-cm.h
 create mode 100644 sound/soc/mediatek/mt8196/mt8196-afe-common.h
 create mode 100644 sound/soc/mediatek/mt8196/mt8196-afe-control.c
 create mode 100644 sound/soc/mediatek/mt8196/mt8196-afe-gpio.c
 create mode 100644 sound/soc/mediatek/mt8196/mt8196-afe-gpio.h
 create mode 100644 sound/soc/mediatek/mt8196/mt8196-afe-pcm.c
 create mode 100644 sound/soc/mediatek/mt8196/mt8196-dai-adda.c
 create mode 100644 sound/soc/mediatek/mt8196/mt8196-dai-i2s.c
 create mode 100644 sound/soc/mediatek/mt8196/mt8196-dai-tdm.c
 create mode 100644 sound/soc/mediatek/mt8196/mt8196-interconnection.h
 create mode 100644 sound/soc/mediatek/mt8196/mt8196-mt6681.c
 create mode 100644 sound/soc/mediatek/mt8196/mt8196-reg.h

-- 
2.45.2




Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds