-
Notifications
You must be signed in to change notification settings - Fork 349
remove platform lib/dai.h from SOF Zephyr builds #9653
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
0e25512
afb6401
ac4029f
57c15a0
21cd3f4
11f55f6
c9fd56c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -36,10 +36,19 @@ | |
| #define IPC4_ALH_DAI_INDEX_OFFSET 0 | ||
| #endif | ||
|
|
||
| #if defined(CONFIG_SOC_SERIES_INTEL_ADSP_CAVS) || \ | ||
| defined(CONFIG_SOC_INTEL_ACE15_MTPM) | ||
| #define IPC4_DAI_NUM_ALH_BI_DIR_LINKS 16 | ||
| #define IPC4_DAI_NUM_ALH_BI_DIR_LINKS_GROUP 4 | ||
| #else | ||
| #define IPC4_DAI_NUM_ALH_BI_DIR_LINKS 0 | ||
| #define IPC4_DAI_NUM_ALH_BI_DIR_LINKS_GROUP 0 | ||
| #endif | ||
|
|
||
| /* copier id = (group id << 4) + codec id + IPC4_ALH_DAI_INDEX_OFFSET | ||
| * dai_index = (group id << 8) + codec id; | ||
| */ | ||
| #define IPC4_ALH_DAI_INDEX(x) ((((x) & 0xF0) << DAI_NUM_ALH_BI_DIR_LINKS_GROUP) + \ | ||
| #define IPC4_ALH_DAI_INDEX(x) ((((x) & 0xF0) << IPC4_DAI_NUM_ALH_BI_DIR_LINKS_GROUP) + \ | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Btw, should this be in Zephyr now ?
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @lgirdwood I took a look at this, but we don't really have a good schema for ALH instances in DT, and on newer platforms (ace20 onwards), this is really replaced by the HDA link DMA. And to add to that, this bi-dir-link group is really only used to parse the blob, so it's not even strictly tied to hw interface and its use, so in the end did not seem worth the effort. |
||
| (((x) & 0xF) - IPC4_ALH_DAI_INDEX_OFFSET)) | ||
|
|
||
| /* Multi-gateways addressing starts from IPC4_ALH_MULTI_GTW_BASE */ | ||
|
|
||
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.