Skip to content

ASoC: SOF: amd: add SOF support for ACP7.B/7.F platforms#5813

Closed
vijendarmukunda wants to merge 17 commits into
thesofproject:topic/sof-devfrom
vijendarmukunda:topic/sof-dev
Closed

ASoC: SOF: amd: add SOF support for ACP7.B/7.F platforms#5813
vijendarmukunda wants to merge 17 commits into
thesofproject:topic/sof-devfrom
vijendarmukunda:topic/sof-dev

Conversation

@vijendarmukunda

@vijendarmukunda vijendarmukunda commented Jun 12, 2026

Copy link
Copy Markdown

This series adds Sound Open Firmware (SOF) support for AMD Audio Co-Processor revisions ACP7.B (PCI rev 0x7B) and ACP7.F (PCI rev 0x7F). It builds on the existing ACP6x/ACP70 SOF PCI path with ACP7x-specific probe/remove, IRQ, signed firmware handling (including SRAM data load), power management, and IPC3 topology/DAI extensions for I2S/TDM.

What this PR does
Platform / PCI — Kconfig, build wiring, register offsets, PGFSM power-on, ACP7x PCI driver and DSP ops, SW interrupt trigger offset selection for ACP7.B/7.F.
Power — PGFSM tile status polling restricted to P0–P4; system and runtime suspend/resume for ACP7x; optional post–firmware-run delay when the ACPI property is present (same idea as existing platforms such as Van Gogh).
Firmware — ACPI-driven signed image path: configure_and_run_sha_dma honors ACPI signed firmware as well as quirks; SizeFWSigned from the ACP header with buffer and header length checks before SHA DMA length; signed data blocks routed to SRAM for 0x7B+.
IRQ — ACP7x IRQ handler for DSP IPC, using chip descriptor DSP / extended / error status fields; SW1 I2S error reason clearing refactored behind an explicit switch on PCI revision.
Topology / DAI — New SOF_DAI_AMD_I2S DAI type for ACP7x I2S/TDM; topology uses the ACPTDM DAI name for these links. IPC3 still fills sof_ipc_dai_acp_params through the existing SOF_ACPI2S_TOKENS / acpi2s_tokens[] tuple, extended with SOF_TKN_AMD_ACPI2S_FORMAT for the new format field (this is not a separate parallel “ACPTDM token group”).
Machines (if in this PR) — ACPI machine table entries for ACP7.B/7.F SOF platforms and declaration in mach-config.h so the SOF PCI driver can select firmware/topology.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants