mbox series

[v5,00/12] Add Vangogh ACP ASoC driver

Message ID 20210721180430.11571-1-Vijendar.Mukunda@amd.com (mailing list archive)
Headers show
Series Add Vangogh ACP ASoC driver | expand

Message

Vijendar Mukunda July 21, 2021, 6:04 p.m. UTC
This adds an ASoC driver for the ACP (Audio CoProcessor)
block on AMD Vangogh APU.

Changes since v4:
         - Fixed indentaion issue
         - Fixed error handling
         - reverted hex notation for macros
         - Fixed typo error in Kconfig file
  
Changes since v3:
         - Fixed typo errors
         - Fixed platform devices unregister logic
         - Updated acp resources count with macro value
         - updated ACP5x_I2S_MODE macro value to avoid
           unregistering platform devices for other ACP
           audio configurations in driver remove callback
         - Fixed error handling 
         - Fixed indentation issues in irq handler
         - Add __maybe_unused for PM functions

Changes since v2:
          - remove extra stuff from Make file

Changes since v1:
          - add comment for acp_readl() & acp_writel() API's in
            common header file.
          - add amd: tag in commit message
          - modify condition check in acp5x_power_on()
          - removed acp_power_gating flag related code
          - drop acp5x_audio_remove() API
          - use single flag for handling irq status
          - fixed indetation issue and used dev_err instead of pr_err
          - drop acp5x_dai_remove() API
          - use SND_SOC_DAIFMT_CLOCK_PROVIDER_MASK
          - use PM related Macros in ACP PCI driver
          - use PM related Macros in ACP DMA driver
          - remove extra line in Make file

Vijendar Mukunda (12):
  ASoC: amd: add Vangogh ACP5x IP register header
  ASoC: amd: add Vangogh ACP PCI driver
  ASoc: amd: add acp5x init/de-init functions
  ASoC: amd: create acp5x platform devices
  ASoC: amd: add ACP5x PCM platform driver
  ASoC: amd: irq handler changes for ACP5x PCM dma driver
  ASoC: amd: add ACP5x pcm dma driver ops
  ASoC: amd: add vangogh i2s controller driver
  ASoC: amd: add vangogh i2s dai driver ops
  ASoC: amd: add vangogh pci driver pm ops
  ASoC: amd: add vangogh i2s dma driver pm ops
  ASoC: amd: enable vangogh acp5x driver build

 sound/soc/amd/Kconfig                       |   9 +
 sound/soc/amd/Makefile                      |   1 +
 sound/soc/amd/vangogh/Makefile              |   9 +
 sound/soc/amd/vangogh/acp5x-i2s.c           | 427 ++++++++++++++++
 sound/soc/amd/vangogh/acp5x-pcm-dma.c       | 525 ++++++++++++++++++++
 sound/soc/amd/vangogh/acp5x.h               | 193 +++++++
 sound/soc/amd/vangogh/pci-acp5x.c           | 326 ++++++++++++
 sound/soc/amd/vangogh/vg_chip_offset_byte.h | 337 +++++++++++++
 8 files changed, 1827 insertions(+)
 create mode 100644 sound/soc/amd/vangogh/Makefile
 create mode 100644 sound/soc/amd/vangogh/acp5x-i2s.c
 create mode 100644 sound/soc/amd/vangogh/acp5x-pcm-dma.c
 create mode 100644 sound/soc/amd/vangogh/acp5x.h
 create mode 100644 sound/soc/amd/vangogh/pci-acp5x.c
 create mode 100644 sound/soc/amd/vangogh/vg_chip_offset_byte.h

Comments

Mark Brown July 22, 2021, 5:10 p.m. UTC | #1
On Wed, 21 Jul 2021 23:34:16 +0530, Vijendar Mukunda wrote:
> This adds an ASoC driver for the ACP (Audio CoProcessor)
> block on AMD Vangogh APU.
> 
> Changes since v4:
>          - Fixed indentaion issue
>          - Fixed error handling
>          - reverted hex notation for macros
>          - Fixed typo error in Kconfig file
> 
> [...]

Applied to

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

Thanks!

[01/12] ASoC: amd: add Vangogh ACP5x IP register header
        commit: 7bf060d0d579129e5f405d2300fbaa5222e3d1cb
[02/12] ASoC: amd: add Vangogh ACP PCI driver
        commit: 4a7151c9688cc166ff6bf5a1a00e3cee429a2f11
[03/12] ASoc: amd: add acp5x init/de-init functions
        commit: 5d9ee88a10e854c5c43e0ae6b1bb0ff454cd45d1
[04/12] ASoC: amd: create acp5x platform devices
        commit: 603f2dedccac1ae2d201dfb10df74f3cae3c7832
[05/12] ASoC: amd: add ACP5x PCM platform driver
        commit: 77f61444e48b79e991b15da6399cf24685a042c9
[06/12] ASoC: amd: irq handler changes for ACP5x PCM dma driver
        commit: fc2c8067c76b3f322447491efb9837f051e86c69
[07/12] ASoC: amd: add ACP5x pcm dma driver ops
        commit: cab396d8b22c13b424d9ba66f626f036f802658c
[08/12] ASoC: amd: add vangogh i2s controller driver
        commit: e550339ee65226b059b4647f12c16710181e36b2
[09/12] ASoC: amd: add vangogh i2s dai driver ops
        commit: b80556addd1a0db551a0c82fb9651e502ac0119b
[10/12] ASoC: amd: add vangogh pci driver pm ops
        commit: b0a37ac6782fa0a62cf90e40e81e01728b07922a
[11/12] ASoC: amd: add vangogh i2s dma driver pm ops
        commit: 361414dc1f07b72f2f6942fca60f2f158c022a6d
[12/12] ASoC: amd: enable vangogh acp5x driver build
        commit: 08413fca62c63ccd245d20985460759c84499ebc

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