Add HS I2S DMA capabilities.

Define HS I2S DMA capabilities.

Signed-off-by: SaiSurya, Ch <saisurya.chakkaveeravenkatanaga@amd.com>
This commit is contained in:
SaiSurya, Ch 2023-06-20 13:57:15 +05:30 committed by Liam Girdwood
parent d033181551
commit 90ac563cee
2 changed files with 3 additions and 0 deletions

View File

@ -42,6 +42,7 @@ int acp_dma_init(struct sof *sof);
#define ACP_DRAM_ADDRESS_MASK 0x0FFFFFFF #define ACP_DRAM_ADDRESS_MASK 0x0FFFFFFF
#define ACP_ACLK_CLK_SEL 0x3 #define ACP_ACLK_CLK_SEL 0x3
#define ACP_INTERNAL_CLK_SEL 0x0 #define ACP_INTERNAL_CLK_SEL 0x0
#define ACP_DRAM_ADDR_TRNS 0x01000000
extern const struct dai_driver acp_spdai_driver; extern const struct dai_driver acp_spdai_driver;
extern const struct dai_driver acp_sp_virtual_dai_driver; extern const struct dai_driver acp_sp_virtual_dai_driver;

View File

@ -57,6 +57,7 @@ struct comp_buffer;
#define DMA_CAP_DMIC BIT(5) /**< ACP DMA DMIC > */ #define DMA_CAP_DMIC BIT(5) /**< ACP DMA DMIC > */
#define DMA_CAP_SP_VIRTUAL BIT(6) /**< SP VIRTUAL DMA */ #define DMA_CAP_SP_VIRTUAL BIT(6) /**< SP VIRTUAL DMA */
#define DMA_CAP_HS_VIRTUAL BIT(7) /**< HS VIRTUAL DMA */ #define DMA_CAP_HS_VIRTUAL BIT(7) /**< HS VIRTUAL DMA */
#define DMA_CAP_HS BIT(8) /**< HS DMA */
/* DMA dev type bitmasks used to define the type of DMA */ /* DMA dev type bitmasks used to define the type of DMA */
@ -73,6 +74,7 @@ struct comp_buffer;
#define DMA_DEV_AFE_MEMIF BIT(10) /**< connectable to AFE fifo */ #define DMA_DEV_AFE_MEMIF BIT(10) /**< connectable to AFE fifo */
#define DMA_DEV_SP_VIRTUAL BIT(11) /**< connectable to ACP SP VIRTUAL I2S */ #define DMA_DEV_SP_VIRTUAL BIT(11) /**< connectable to ACP SP VIRTUAL I2S */
#define DMA_DEV_HS_VIRTUAL BIT(12) /**< connectable to ACP HS VIRTUAL I2S */ #define DMA_DEV_HS_VIRTUAL BIT(12) /**< connectable to ACP HS VIRTUAL I2S */
#define DMA_DEV_HS BIT(13) /**< connectable to ACP HS I2S */
/* DMA access privilege flag */ /* DMA access privilege flag */
#define DMA_ACCESS_EXCLUSIVE 1 #define DMA_ACCESS_EXCLUSIVE 1