diff options
author | 2022-11-29 15:30:59 +0530 | |
---|---|---|
committer | 2022-11-29 12:56:09 +0000 | |
commit | 75af41991955205fa0958feb587ce22b35aaa7b0 (patch) | |
tree | e2f61028b2d6e18bad7df4c54c49dc87cf006cbe /include/sound/sof | |
parent | ASoC: Merge up fixes (diff) | |
download | linux-75af41991955205fa0958feb587ce22b35aaa7b0.tar.gz linux-75af41991955205fa0958feb587ce22b35aaa7b0.tar.bz2 linux-75af41991955205fa0958feb587ce22b35aaa7b0.zip |
ASoC: SOF: Add DAI configuration support for AMD platforms.
Add support for configuring sp and hs DAI from topology.
Signed-off-by: V sujith kumar Reddy <Vsujithkumar.Reddy@amd.com>
Link: https://lore.kernel.org/r/20221129100102.826781-1-vsujithkumar.reddy@amd.corp-partner.google.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/sof')
-rw-r--r-- | include/sound/sof/dai-amd.h | 1 | ||||
-rw-r--r-- | include/sound/sof/dai.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/sound/sof/dai-amd.h b/include/sound/sof/dai-amd.h index 92f45c180b7c..9df7ac824efe 100644 --- a/include/sound/sof/dai-amd.h +++ b/include/sound/sof/dai-amd.h @@ -17,6 +17,7 @@ struct sof_ipc_dai_acp_params { uint32_t fsync_rate; /* FSYNC frequency in Hz */ uint32_t tdm_slots; + uint32_t tdm_mode; } __packed; /* ACPDMIC Configuration Request - SOF_IPC_DAI_AMD_CONFIG */ diff --git a/include/sound/sof/dai.h b/include/sound/sof/dai.h index 9fbd3832bcdc..3041f5805b7b 100644 --- a/include/sound/sof/dai.h +++ b/include/sound/sof/dai.h @@ -86,6 +86,8 @@ enum sof_ipc_dai_type { SOF_DAI_AMD_DMIC, /**< AMD ACP DMIC */ SOF_DAI_MEDIATEK_AFE, /**< Mediatek AFE */ SOF_DAI_AMD_HS, /**< Amd HS */ + SOF_DAI_AMD_SP_VIRTUAL, /**< AMD ACP SP VIRTUAL */ + SOF_DAI_AMD_HS_VIRTUAL, /**< AMD ACP HS VIRTUAL */ }; /* general purpose DAI configuration */ |