diff options
| author | Venkata Prasad Potturu <venkataprasad.potturu@amd.com> | 2023-01-09 18:51:03 +0530 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2023-01-11 18:28:54 +0000 |
| commit | 200553008e9f5b613aa9ea75a68210861bff511f (patch) | |
| tree | 58b32b2909d6894bcad1f4e55fbd4e112d612961 /sound/soc/amd/acp/acp-mach.h | |
| parent | ca9d237994db63dca68f2b04e257a4738847deee (diff) | |
ASoC: amd: acp: Add i2s tdm support in machine driver
Add i2s tdm support for amd platforms.
Signed-off-by: Venkata Prasad Potturu <venkataprasad.potturu@amd.com>
Link: https://lore.kernel.org/r/20230109132104.1259479-5-venkataprasad.potturu@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/amd/acp/acp-mach.h')
| -rw-r--r-- | sound/soc/amd/acp/acp-mach.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/amd/acp/acp-mach.h b/sound/soc/amd/acp/acp-mach.h index 20583ef902df..9f87439b3cfd 100644 --- a/sound/soc/amd/acp/acp-mach.h +++ b/sound/soc/amd/acp/acp-mach.h @@ -18,6 +18,8 @@ #include <linux/module.h> #include <sound/soc.h> +#define TDM_CHANNELS 8 + enum be_id { HEADSET_BE_ID = 0, AMP_BE_ID, @@ -58,6 +60,7 @@ struct acp_card_drvdata { struct clk *wclk; struct clk *bclk; bool soc_mclk; + bool tdm_mode; }; int acp_sofdsp_dai_links_create(struct snd_soc_card *card); |
