[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250207062819.1527184-1-Vijendar.Mukunda@amd.com>
Date: Fri, 7 Feb 2025 11:57:54 +0530
From: Vijendar Mukunda <Vijendar.Mukunda@....com>
To: <broonie@...nel.org>, <alsa-devel@...a-project.org>
CC: <venkataprasad.potturu@....com>, <Basavaraj.Hiregoudar@....com>,
<Sunil-kumar.Dommati@....com>, <lgirdwood@...il.com>, <perex@...ex.cz>,
<tiwai@...e.com>, <linux-kernel@...r.kernel.org>,
<linux-sound@...r.kernel.org>, <Syed.SabaKareem@....com>,
<Mario.Limonciello@....com>, Vijendar Mukunda <Vijendar.Mukunda@....com>
Subject: [PATCH V3 00/25] ASoC: amd: Add support for ACP7.0 & ACP7.1 platforms
This patch series includes the below changes
- Refactor existing ACP6.3 platform ACP PCI driver, SoundWire
DMA driver code.
- Add Audio IO support for ACP7.0 and ACP7.1 platforms for
SoundWire IO and ACP PDM controller combination.
- Add SoundWire generic machine driver changes for legacy stack
(No DSP enabled) for ACP7.0 & ACP7.1 platforms.
- Add SoundWire machines for ACP7.0 & ACP7.1 platforms.
Changes since v2:
- As per Mark's comment, to avoid code duplication drop separate
folder(acp70) for ACP7.0 & ACP7.1 platforms and refactor
existing ACP6.3 platform ACP PCI driver, SoundWire DMA driver
code and add support for ACP7.0 & ACP7.1 platforms.
- Add ACP PCI driver hw_ops for ACP6.3, ACP7.0 & ACP7.1 platforms.
- Implement platform specific code in Soundwire DMA driver by
adding acp pci revision id checks for ACP6.3/ACP7.0/ACP7.1
platforms.
- Refactor existing ACP PCI driver Interrupt handler code.
- Add new Soundwire machine for RT1320 Speaker + RT722 multi
function codec combination.
- Add machine driver quirks for Dell SKU's.
Changes since v1:
- Change the code sequence for handling SoundWire wake interrupts.
- Add new patch to restore host wake interrupt mask
- Add new patch to enable ACP PME during ACP init sequence.
- Change ACP PCI driver PM ops code sequence.
Vijendar Mukunda (25):
ASoC: amd: ps: rename structure names, variable and other macros
ASoC: amd: ps: use macro for ACP6.3 pci revision id
ASoC: amd: ps: add acp pci driver hw_ops for acp6.3 platform
ASoC: amd: ps: add callback functions for acp pci driver pm ops
ASoC: amd: ps: add callback to read acp pin configuration
ASoC: amd: ps: add soundwire dma irq thread callback
ASoC: amd: ps: refactor soundwire dma interrupt handling
ASoC: amd: ps: store acp revision id in SoundWire dma driver private
data
ASoC: amd: ps: refactor soundwire dma driver code
ASoC: amd: ps: refactor soundwire dma interrupts enable/disable
sequence
ASoC: amd: ps: rename acp_restore_sdw_dma_config() function
ASoC: amd: ps: add pci driver hw_ops for ACP7.0 & ACP7.1 variants
ASoC: amd: ps: add pm ops related hw_ops for ACP7.0 & ACP7.1 platforms
ASoC: amd: ps: add ACP7.0 & ACP7.1 specific soundwire dma driver
changes
ASoC: amd: ps: implement function to restore dma config for ACP7.0
platform
ASoC: amd: ps: add soundwire dma interrupts handling for ACP7.0
platform
ASoC: amd: ps: add soundwire wake interrupt handling
ASoC: amd: ps: update module description
ASoC: amd: ps: update file description and copyright year
ASoC: amd: update Pink Sardine platform Kconfig description
ASoC: amd: acp: add machine driver changes for ACP7.0 and ACP7.1
platforms
ASoC: amd: acp: add RT711, RT714 & RT1316 support for ACP7.0 platform
ASoC: amd: acp: amd-acp70-acpi-match: Add rt722 support
ASoC: amd: acp: amd-acp70-acpi-match: Add RT1320 & RT722 combination
soundwire machine
ASoC: amd: amd_sdw: Add quirks for Dell SKU's
sound/soc/amd/Kconfig | 10 +-
sound/soc/amd/acp/Kconfig | 1 +
sound/soc/amd/acp/Makefile | 2 +-
sound/soc/amd/acp/acp-sdw-legacy-mach.c | 45 +++
sound/soc/amd/acp/acp-sdw-mach-common.c | 34 ++
sound/soc/amd/acp/amd-acp70-acpi-match.c | 160 ++++++++
sound/soc/amd/acp/soc_amd_sdw_common.h | 12 +
sound/soc/amd/mach-config.h | 1 +
sound/soc/amd/ps/Makefile | 2 +-
sound/soc/amd/ps/acp63.h | 246 ++++++++++--
sound/soc/amd/ps/pci-ps.c | 422 +++++++++-----------
sound/soc/amd/ps/ps-common.c | 475 +++++++++++++++++++++++
sound/soc/amd/ps/ps-pdm-dma.c | 6 +-
sound/soc/amd/ps/ps-sdw-dma.c | 375 ++++++++++++++----
14 files changed, 1440 insertions(+), 351 deletions(-)
create mode 100644 sound/soc/amd/acp/amd-acp70-acpi-match.c
create mode 100644 sound/soc/amd/ps/ps-common.c
--
2.34.1
Powered by blists - more mailing lists