[SRU][F/OEM-5.6/unstable][PATCH 00/19] ASoC/amd: add audio driver for amd renoir

Hui Wang hui.wang at canonical.com
Thu May 28 02:10:44 UTC 2020


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

This patchset is for mainline kernel-5.8, after backporting to 5.6,
there is no need to change anything, but after backporting to 5.4
kernel, because of API differences, need to do some change to adapt
to 5.4 kernel's API. So there is one more patch for focal than for
oem-5.6.

[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 (2):
  UBUNTU: SAUCE: ASoC: amd: adapt to kernel-5.4 API
  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       | 550 +++++++++++++++++++++
 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, 1435 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