forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 143
Audio support for WCL #5397
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
Merged
ranj063
merged 4 commits into
thesofproject:topic/sof-dev
from
ujfalusi:peter/sof/pr/wcl-support-01
Apr 30, 2025
Merged
Audio support for WCL #5397
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -126,6 +126,29 @@ const struct sof_intel_dsp_desc ptl_chip_info = { | |
| .hw_ip_version = SOF_INTEL_ACE_3_0, | ||
| }; | ||
|
|
||
| const struct sof_intel_dsp_desc wcl_chip_info = { | ||
| .cores_num = 3, | ||
| .init_core_mask = BIT(0), | ||
| .host_managed_cores_mask = BIT(0), | ||
| .ipc_req = MTL_DSP_REG_HFIPCXIDR, | ||
| .ipc_req_mask = MTL_DSP_REG_HFIPCXIDR_BUSY, | ||
| .ipc_ack = MTL_DSP_REG_HFIPCXIDA, | ||
| .ipc_ack_mask = MTL_DSP_REG_HFIPCXIDA_DONE, | ||
| .ipc_ctl = MTL_DSP_REG_HFIPCXCTL, | ||
| .rom_status_reg = LNL_DSP_REG_HFDSC, | ||
| .rom_init_timeout = 300, | ||
| .ssp_count = MTL_SSP_COUNT, | ||
| .d0i3_offset = MTL_HDA_VS_D0I3C, | ||
| .read_sdw_lcount = hda_sdw_check_lcount_ext, | ||
| .check_sdw_irq = lnl_dsp_check_sdw_irq, | ||
| .check_sdw_wakeen_irq = lnl_sdw_check_wakeen_irq, | ||
| .check_ipc_irq = mtl_dsp_check_ipc_irq, | ||
| .cl_init = mtl_dsp_cl_init, | ||
| .power_down_dsp = mtl_power_down_dsp, | ||
| .disable_interrupts = lnl_dsp_disable_interrupts, | ||
| .hw_ip_version = SOF_INTEL_ACE_3_0, | ||
| }; | ||
|
Collaborator
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. @ujfalusi this patch is good for now but yuou know what I'm thinking. We should abstract some of the fields here that are largely unmodified gen to gen. something to consider doing in the future. |
||
|
|
||
| MODULE_IMPORT_NS("SND_SOC_SOF_INTEL_MTL"); | ||
| MODULE_IMPORT_NS("SND_SOC_SOF_INTEL_LNL"); | ||
| MODULE_IMPORT_NS("SND_SOC_SOF_HDA_MLINK"); | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.