ASoC: SOF: amd: add SOF support for ACP7.B/7.F platforms#5813
Closed
vijendarmukunda wants to merge 17 commits into
Closed
ASoC: SOF: amd: add SOF support for ACP7.B/7.F platforms#5813vijendarmukunda wants to merge 17 commits into
vijendarmukunda wants to merge 17 commits into
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.