Uh oh!
There was an error while loading. Please reload this page.
forked from torvalds/linux
- Notifications
You must be signed in to change notification settings - Fork 150
Add support for ADL devices - SNDW and I2S#2786
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
kv2019i
merged 4 commits into
thesofproject:topic/sof-dev
from
sathyap-chrome:topic/sof-devApr 8, 2021
Uh oh!
There was an error while loading. Please reload this page.
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
d09bc51
ASoC: SOF: Intel: Update ADL P to use its own descriptor
sathyap-chrome 25e2678
ASoC: Intel: common: add entries for i2s machines in ADL match table
Vamshigopal 083136b
ASoC: Intel: sof_sdw: add quirk for new ADL-P Rvp
Vamshigopal 3892f60
ASoC: Intel: boards: add support for adl boards in sof-rt5682
Vamshigopal File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading. Please reload this page.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -84,6 +84,22 @@ static const struct sof_dev_desc adls_desc = { | ||
| .ops = &sof_tgl_ops, | ||
| }; | ||
| static const struct sof_dev_desc adl_desc = { | ||
| .machines = snd_soc_acpi_intel_adl_machines, | ||
| .alt_machines = snd_soc_acpi_intel_adl_sdw_machines, | ||
| .resindex_lpe_base = 0, | ||
| .resindex_pcicfg_base = -1, | ||
| .resindex_imr_base = -1, | ||
| .irqindex_host_ipc = -1, | ||
| .resindex_dma_base = -1, | ||
| .chip_info = &tgl_chip_info, | ||
sathyap-chrome marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| .default_fw_path = "intel/sof", | ||
| .default_tplg_path = "intel/sof-tplg", | ||
| .default_fw_filename = "sof-adl.ri", | ||
| .nocodec_tplg_filename = "sof-adl-nocodec.tplg", | ||
| .ops = &sof_tgl_ops, | ||
| }; | ||
sathyap-chrome marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| /* PCI IDs */ | ||
| static const struct pci_device_id sof_pci_ids[] = { | ||
| { PCI_DEVICE(0x8086, 0xa0c8), /* TGL-LP */ | ||
| @@ -97,7 +113,7 @@ static const struct pci_device_id sof_pci_ids[] = { | ||
| { PCI_DEVICE(0x8086, 0x7ad0), /* ADL-S */ | ||
| .driver_data = (unsigned long)&adls_desc}, | ||
| { PCI_DEVICE(0x8086, 0x51c8), /* ADL-P */ | ||
| .driver_data = (unsigned long)&tgl_desc}, | ||
| .driver_data = (unsigned long)&adl_desc}, | ||
| { 0, } | ||
| }; | ||
| MODULE_DEVICE_TABLE(pci, sof_pci_ids); | ||
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merged too quickly @kv2019i: this doesn't work for a UEFI BIOS.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, sorry @plbossart , I read the comments in wrong order... the comment on this was more recent than your approval. Let's do a fixup for this before sending upstream. Should we have another match case for UEFI case? @sathyap-chrome and @libinyang ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@plbossart
I requested coreboot to fix the match to be same as UEFI BIOS. once the fix is merged, i can send the fixup. maybe a day or 2.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no worries, let's do a fixup
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kv2019i , We need the quirk for UEFI. The DMI info is like what @fredoh9 provided.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sathyap-chrome ping. we need the fix to upstream this series. We only have 2-3 days left before the next cycle. Thanks for prioritizing this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@plbossart will share the new patch today itself