mbox series

[RESEND,v5,00/13] ASoC: mediatek: Add support for MT8188 SoC

Message ID 20230116034131.23943-1-trevor.wu@mediatek.com (mailing list archive)
Headers show
Series ASoC: mediatek: Add support for MT8188 SoC | expand

Message

Trevor Wu (吳文良) Jan. 16, 2023, 3:41 a.m. UTC
This series of patches adds support for Mediatek AFE of MT8188 SoC.
Patches are based on broonie tree "for-next" branch.

Changes since v4:
  - refine etdm dai driver based on reviewer's suggestions
  - refine dt-binding files based on reviewer's suggestions

Changes since v3:
  - replace apll_ck with apll to sync with the relationship in CCF
  - add mtk-soundcard-driver.c to support codec parsing
  - drop mclk-always-on-rates support in mt8188-dai-etdm.c
  - refine dt-binding files based on reviewer's suggestions

Changes since v2:
  - drop CLK_IGNORE_UNUSED flag
  - include bitfield.h to reslove the issue reported by kernel test robot
  - rename mt8188-afe-pcm.yaml to mt8188-afe.yaml
  - refine dt-binding files based on reviewer's suggestions

Changes since v1:
  - remove bus protection functions in case of unmerged dependency problem
  - replace some bit operation macro with FIELD_PREP
  - simplify register control by regmap_set_bits and regmap_clear_bits
  - fix dt-binding errors
  - rename compatible string for recognition

Trevor Wu (13):
  ASoC: mediatek: common: add SMC ops and SMC CMD
  ASoC: mediatek: mt8188: add common header
  ASoC: mediatek: mt8188: support audsys clock
  ASoC: mediatek: mt8188: support adda in platform driver
  ASoC: mediatek: mt8188: support etdm in platform driver
  ASoC: mediatek: mt8188: support pcmif in platform driver
  ASoC: mediatek: mt8188: support audio clock control
  ASoC: mediatek: mt8188: add platform driver
  ASoC: mediatek: mt8188: add control for timing select
  ASoC: dt-bindings: mediatek,mt8188-afe: add audio afe document
  ASoC: mediatek: common: add soundcard driver common code
  ASoC: mediatek: mt8188: add machine driver with mt6359
  ASoC: dt-bindings: mediatek,mt8188-mt6359: add mt8188-mt6359 document

 .../bindings/sound/mediatek,mt8188-afe.yaml   |  208 +
 .../sound/mediatek,mt8188-mt6359.yaml         |   97 +
 sound/soc/mediatek/Kconfig                    |   23 +
 sound/soc/mediatek/Makefile                   |    1 +
 sound/soc/mediatek/common/Makefile            |    2 +-
 sound/soc/mediatek/common/mtk-base-afe.h      |   19 +
 .../mediatek/common/mtk-soundcard-driver.c    |   79 +
 .../mediatek/common/mtk-soundcard-driver.h    |   14 +
 sound/soc/mediatek/mt8188/Makefile            |   15 +
 sound/soc/mediatek/mt8188/mt8188-afe-clk.c    |  658 ++++
 sound/soc/mediatek/mt8188/mt8188-afe-clk.h    |  115 +
 sound/soc/mediatek/mt8188/mt8188-afe-common.h |  151 +
 sound/soc/mediatek/mt8188/mt8188-afe-pcm.c    | 3359 +++++++++++++++++
 sound/soc/mediatek/mt8188/mt8188-audsys-clk.c |  205 +
 sound/soc/mediatek/mt8188/mt8188-audsys-clk.h |   15 +
 .../soc/mediatek/mt8188/mt8188-audsys-clkid.h |   83 +
 sound/soc/mediatek/mt8188/mt8188-dai-adda.c   |  632 ++++
 sound/soc/mediatek/mt8188/mt8188-dai-etdm.c   | 2588 +++++++++++++
 sound/soc/mediatek/mt8188/mt8188-dai-pcm.c    |  367 ++
 sound/soc/mediatek/mt8188/mt8188-mt6359.c     |  785 ++++
 sound/soc/mediatek/mt8188/mt8188-reg.h        | 3180 ++++++++++++++++
 21 files changed, 12595 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/devicetree/bindings/sound/mediatek,mt8188-afe.yaml
 create mode 100644 Documentation/devicetree/bindings/sound/mediatek,mt8188-mt6359.yaml
 create mode 100644 sound/soc/mediatek/common/mtk-soundcard-driver.c
 create mode 100644 sound/soc/mediatek/common/mtk-soundcard-driver.h
 create mode 100644 sound/soc/mediatek/mt8188/Makefile
 create mode 100644 sound/soc/mediatek/mt8188/mt8188-afe-clk.c
 create mode 100644 sound/soc/mediatek/mt8188/mt8188-afe-clk.h
 create mode 100644 sound/soc/mediatek/mt8188/mt8188-afe-common.h
 create mode 100644 sound/soc/mediatek/mt8188/mt8188-afe-pcm.c
 create mode 100644 sound/soc/mediatek/mt8188/mt8188-audsys-clk.c
 create mode 100644 sound/soc/mediatek/mt8188/mt8188-audsys-clk.h
 create mode 100644 sound/soc/mediatek/mt8188/mt8188-audsys-clkid.h
 create mode 100644 sound/soc/mediatek/mt8188/mt8188-dai-adda.c
 create mode 100644 sound/soc/mediatek/mt8188/mt8188-dai-etdm.c
 create mode 100644 sound/soc/mediatek/mt8188/mt8188-dai-pcm.c
 create mode 100644 sound/soc/mediatek/mt8188/mt8188-mt6359.c
 create mode 100644 sound/soc/mediatek/mt8188/mt8188-reg.h

Comments

Mark Brown Jan. 19, 2023, 3:33 p.m. UTC | #1
On Mon, 16 Jan 2023 11:41:18 +0800, Trevor Wu wrote:
> This series of patches adds support for Mediatek AFE of MT8188 SoC.
> Patches are based on broonie tree "for-next" branch.
> 
> Changes since v4:
>   - refine etdm dai driver based on reviewer's suggestions
>   - refine dt-binding files based on reviewer's suggestions
> 
> [...]

Applied to

   broonie/sound.git for-next

Thanks!

[01/13] ASoC: mediatek: common: add SMC ops and SMC CMD
        commit: 7d40cc8eedbad7cce77226c5d01d891a40373eeb
[02/13] ASoC: mediatek: mt8188: add common header
        commit: f90f0dd809e6600cf20ab74f07237241925f5cf8
[03/13] ASoC: mediatek: mt8188: support audsys clock
        commit: fdd4e1a28d69648c35bea020c0df3735ddc74889
[04/13] ASoC: mediatek: mt8188: support adda in platform driver
        commit: 5d1c8e881ae0e6e931396952534d422facbebdbe
[05/13] ASoC: mediatek: mt8188: support etdm in platform driver
        commit: 2babb47774891bc8e68ae229d42ee7df90db9fd9
[06/13] ASoC: mediatek: mt8188: support pcmif in platform driver
        commit: 5d43bdd71200e1b08b7c4b7f3d3c86fdd23c4a3d
[07/13] ASoC: mediatek: mt8188: support audio clock control
        commit: f6b026479b1392b4b2aa51ed1edbfa99f6d49b59
[08/13] ASoC: mediatek: mt8188: add platform driver
        commit: bf106bf09376608e4992f9806c21842a4223f18b
[09/13] ASoC: mediatek: mt8188: add control for timing select
        commit: da387d3223aea9505fcd740105b7494df5bb44ad
[10/13] ASoC: dt-bindings: mediatek,mt8188-afe: add audio afe document
        commit: 692d25b67e1089a7683978d1860e511f2ca86e7b
[11/13] ASoC: mediatek: common: add soundcard driver common code
        commit: 4302187d955f166c03b4fa7c993b89ffbabfca4e
[12/13] ASoC: mediatek: mt8188: add machine driver with mt6359
        commit: 96035d46d4b45274208327826608b873ec6d7f06
[13/13] ASoC: dt-bindings: mediatek,mt8188-mt6359: add mt8188-mt6359 document
        commit: ce0382384e88c75d2506d4e49929ab8c22527dc7

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark