[SRU][F][PATCH v2 00/18] ASoC/amd: add audio driver for amd renoir

Hui Wang hui.wang at canonical.com
Mon Jun 1 02:18:28 UTC 2020


BugLink: https://bugs.launchpad.net/bugs/1881046

The SRU of v1 is only for oem-5.6 and unstable, it has some problem for
focal, so I did some change for focal and sent this v2 for focal only.

v1 is for oem-5.6 and unstable
v2 is for focal


[Impact]
We have a couple of LENOVO machines which has amd renoir audio on
them, our kernel doesn't have the driver for it yet.

[Fix]
amd just upstreamed the driver, it is for kernel-5.8, we backport
them to ubunt kernel.

[Test Case]
boot the kernel with those patches, we could see a sound card named
"acp" and the dmic on it could record sound via arecord.

[Regression Risk]
Low, just adding a new driver, no change to existing drivers.


Hui Wang (1):
  UBUNTU: [Config]: enable amd renoir ASoC audio

Vijendar Mukunda (17):
  ASoC: amd: add Renoir ACP3x IP register header
  ASoC: amd: add Renoir ACP PCI driver
  ASoC: amd: add acp init/de-init functions
  ASoC: amd: create acp3x pdm platform device
  ASoC: amd: add ACP3x PDM platform driver
  ASoC: amd: irq handler changes for ACP3x PDM dma driver
  ASoC: amd: add acp3x pdm driver dma ops
  ASoC: amd: add ACP PDM DMA driver dai ops
  ASoC: amd: add Renoir ACP PCI driver PM ops
  ASoC: amd: add ACP PDM DMA driver pm ops
  ASoC: amd: enable Renoir acp3x drivers build
  ASoC: amd: create platform devices for Renoir
  ASoC: amd: RN machine driver using dmic
  ASoC: amd: enable build for RN machine driver
  ASoC: amd: fix kernel warning
  ASoC: amd: refactoring dai_hw_params() callback
  ASoC: amd: return error when acp de-init fails

 debian.master/config/annotations           |   4 +
 debian.master/config/config.common.ubuntu  |   2 +
 sound/soc/amd/Kconfig                      |  13 +
 sound/soc/amd/Makefile                     |   1 +
 sound/soc/amd/renoir/Makefile              |   7 +
 sound/soc/amd/renoir/acp3x-pdm-dma.c       | 549 +++++++++++++++++++++
 sound/soc/amd/renoir/acp3x-rn.c            |  77 +++
 sound/soc/amd/renoir/rn-pci-acp3x.c        | 344 +++++++++++++
 sound/soc/amd/renoir/rn_acp3x.h            |  88 ++++
 sound/soc/amd/renoir/rn_chip_offset_byte.h | 349 +++++++++++++
 10 files changed, 1434 insertions(+)
 create mode 100644 sound/soc/amd/renoir/Makefile
 create mode 100644 sound/soc/amd/renoir/acp3x-pdm-dma.c
 create mode 100644 sound/soc/amd/renoir/acp3x-rn.c
 create mode 100644 sound/soc/amd/renoir/rn-pci-acp3x.c
 create mode 100644 sound/soc/amd/renoir/rn_acp3x.h
 create mode 100644 sound/soc/amd/renoir/rn_chip_offset_byte.h

-- 
2.17.1




More information about the kernel-team mailing list