[PATCH v2 0/8] ASoC: SOF: Add support for Mediatek MT8195

Daniel Baluta posted 8 patches 2 years, 10 months ago
include/sound/sof/dai-mediatek.h              |  23 +
include/sound/sof/dai.h                       |   3 +
include/uapi/sound/sof/tokens.h               |   5 +
sound/soc/sof/Kconfig                         |   3 +-
sound/soc/sof/Makefile                        |   1 +
sound/soc/sof/mediatek/Kconfig                |  33 ++
sound/soc/sof/mediatek/Makefile               |   2 +
sound/soc/sof/mediatek/adsp_helper.h          |  49 ++
sound/soc/sof/mediatek/mediatek-ops.h         |   8 +
sound/soc/sof/mediatek/mt8195/Makefile        |   3 +
sound/soc/sof/mediatek/mt8195/mt8195-clk.c    | 158 +++++++
sound/soc/sof/mediatek/mt8195/mt8195-clk.h    |  28 ++
sound/soc/sof/mediatek/mt8195/mt8195-loader.c |  56 +++
sound/soc/sof/mediatek/mt8195/mt8195.c        | 437 ++++++++++++++++++
sound/soc/sof/mediatek/mt8195/mt8195.h        | 158 +++++++
sound/soc/sof/pcm.c                           |  12 +
sound/soc/sof/sof-of-dev.c                    |  13 +
sound/soc/sof/topology.c                      |  59 +++
18 files changed, 1050 insertions(+), 1 deletion(-)
create mode 100644 include/sound/sof/dai-mediatek.h
create mode 100644 sound/soc/sof/mediatek/Kconfig
create mode 100644 sound/soc/sof/mediatek/Makefile
create mode 100644 sound/soc/sof/mediatek/adsp_helper.h
create mode 100644 sound/soc/sof/mediatek/mediatek-ops.h
create mode 100644 sound/soc/sof/mediatek/mt8195/Makefile
create mode 100644 sound/soc/sof/mediatek/mt8195/mt8195-clk.c
create mode 100644 sound/soc/sof/mediatek/mt8195/mt8195-clk.h
create mode 100644 sound/soc/sof/mediatek/mt8195/mt8195-loader.c
create mode 100644 sound/soc/sof/mediatek/mt8195/mt8195.c
create mode 100644 sound/soc/sof/mediatek/mt8195/mt8195.h
[PATCH v2 0/8] ASoC: SOF: Add support for Mediatek MT8195
Posted by Daniel Baluta 2 years, 10 months ago
From: Daniel Baluta <daniel.baluta@nxp.com>

This adds sound open firmware driver support for MT8915 platform.

Changes since v1:
- removed AMD patches since they were already applied
- fixed compilation error reported by Mark, generated by the fact that
  mt8195_run was declared too early in the series.

YC Hung (8):
  ASoC: SOF: mediatek: Add mt8195 hardware support
  ASoC: SOF: tokens: add token for Mediatek AFE
  ASoC: SOF: topology: Add support for Mediatek AFE DAI
  ASoC: SOF: mediatek: Add fw loader and mt8195 dsp ops to load firmware
  ASoC: SOF: Add mt8195 device descriptor
  ASoC: SOF: mediatek: Add dai driver dsp ops callback for mt8195
  ASoC: SOF: mediatek: Add mt8195 dsp clock support
  ASoC: SOF: mediatek: Add DSP system PM callback for mt8195

 include/sound/sof/dai-mediatek.h              |  23 +
 include/sound/sof/dai.h                       |   3 +
 include/uapi/sound/sof/tokens.h               |   5 +
 sound/soc/sof/Kconfig                         |   3 +-
 sound/soc/sof/Makefile                        |   1 +
 sound/soc/sof/mediatek/Kconfig                |  33 ++
 sound/soc/sof/mediatek/Makefile               |   2 +
 sound/soc/sof/mediatek/adsp_helper.h          |  49 ++
 sound/soc/sof/mediatek/mediatek-ops.h         |   8 +
 sound/soc/sof/mediatek/mt8195/Makefile        |   3 +
 sound/soc/sof/mediatek/mt8195/mt8195-clk.c    | 158 +++++++
 sound/soc/sof/mediatek/mt8195/mt8195-clk.h    |  28 ++
 sound/soc/sof/mediatek/mt8195/mt8195-loader.c |  56 +++
 sound/soc/sof/mediatek/mt8195/mt8195.c        | 437 ++++++++++++++++++
 sound/soc/sof/mediatek/mt8195/mt8195.h        | 158 +++++++
 sound/soc/sof/pcm.c                           |  12 +
 sound/soc/sof/sof-of-dev.c                    |  13 +
 sound/soc/sof/topology.c                      |  59 +++
 18 files changed, 1050 insertions(+), 1 deletion(-)
 create mode 100644 include/sound/sof/dai-mediatek.h
 create mode 100644 sound/soc/sof/mediatek/Kconfig
 create mode 100644 sound/soc/sof/mediatek/Makefile
 create mode 100644 sound/soc/sof/mediatek/adsp_helper.h
 create mode 100644 sound/soc/sof/mediatek/mediatek-ops.h
 create mode 100644 sound/soc/sof/mediatek/mt8195/Makefile
 create mode 100644 sound/soc/sof/mediatek/mt8195/mt8195-clk.c
 create mode 100644 sound/soc/sof/mediatek/mt8195/mt8195-clk.h
 create mode 100644 sound/soc/sof/mediatek/mt8195/mt8195-loader.c
 create mode 100644 sound/soc/sof/mediatek/mt8195/mt8195.c
 create mode 100644 sound/soc/sof/mediatek/mt8195/mt8195.h

-- 
2.27.0

Re: [PATCH v2 0/8] ASoC: SOF: Add support for Mediatek MT8195
Posted by Mark Brown 2 years, 10 months ago
On Thu, 18 Nov 2021 12:07:41 +0200, Daniel Baluta wrote:
> From: Daniel Baluta <daniel.baluta@nxp.com>
> 
> This adds sound open firmware driver support for MT8915 platform.
> 
> Changes since v1:
> - removed AMD patches since they were already applied
> - fixed compilation error reported by Mark, generated by the fact that
>   mt8195_run was declared too early in the series.
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/8] ASoC: SOF: mediatek: Add mt8195 hardware support
      commit: 32d7e03d26fd93187c87ed0fbf59ec7023a61404
[2/8] ASoC: SOF: tokens: add token for Mediatek AFE
      commit: e6feefa541f309afed8aa54431681261bc57bcde
[3/8] ASoC: SOF: topology: Add support for Mediatek AFE DAI
      commit: b72bfcffcfc11858a8fc92998733372606db485e
[4/8] ASoC: SOF: mediatek: Add fw loader and mt8195 dsp ops to load firmware
      commit: b7f6503830cd8f3f7076635409460861b5ff6310
[5/8] ASoC: SOF: Add mt8195 device descriptor
      commit: 24281bc2bf1884e665dfbcd17aaaabbc5872e501
[6/8] ASoC: SOF: mediatek: Add dai driver dsp ops callback for mt8195
      commit: 24d75049c5ed5193bd12ce0d43c355c4ef74a7fa
[7/8] ASoC: SOF: mediatek: Add mt8195 dsp clock support
      commit: 424d6d1a9a51b7e6ab397132700a237082d64cf4
[8/8] ASoC: SOF: mediatek: Add DSP system PM callback for mt8195
      commit: 163fa3a5927e1d8f948ea1fc16c897944933a06a

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