diff options
author | 2025-03-11 00:01:57 +0530 | |
---|---|---|
committer | 2025-03-11 17:18:32 +0000 | |
commit | f8b4f3f525e82d78079a6ebbde68e4a0d79fd1c0 (patch) | |
tree | 5bb84250a1348410e6d7a56d56968c8b4206cea7 /sound/soc/amd/acp/amd.h | |
parent | ASoC: amd: acp: Remove white line (diff) | |
download | wireguard-linux-f8b4f3f525e82d78079a6ebbde68e4a0d79fd1c0.tar.xz wireguard-linux-f8b4f3f525e82d78079a6ebbde68e4a0d79fd1c0.zip |
ASoC: amd: acp: Refactor acp70 platform resource structure
Refactor acp70 platform resource private structure to amd.h
header file.
Signed-off-by: Venkata Prasad Potturu <venkataprasad.potturu@amd.com>
Link: https://patch.msgid.link/20250310183201.11979-11-venkataprasad.potturu@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to '')
-rw-r--r-- | sound/soc/amd/acp/amd.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sound/soc/amd/acp/amd.h b/sound/soc/amd/acp/amd.h index 084d9db1b65c..979d8b8801a3 100644 --- a/sound/soc/amd/acp/amd.h +++ b/sound/soc/amd/acp/amd.h @@ -238,6 +238,16 @@ enum acp_config { ACP_CONFIG_20, }; +struct acp_resource acp70_rsrc = { + .offset = 0, + .no_of_ctrls = 2, + .irqp_used = 1, + .soc_mclk = true, + .irq_reg_offset = 0x1a00, + .scratch_reg_offset = 0x10000, + .sram_pte_offset = 0x03800000, +}; + struct snd_soc_acpi_codecs amp_rt1019 = { .num_codecs = 1, .codecs = {"10EC1019"} |