-
Notifications
You must be signed in to change notification settings - Fork 143
ASoC: Intel: soc-acpi-intel-ptl-match: Add support for rt722_l0_rt132… #5501
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
1b669e8
c598773
576e368
00acb4a
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 |
|---|---|---|
|
|
@@ -46,11 +46,11 @@ enum { | |
| #define SOC_SDW_NO_AGGREGATION BIT(14) | ||
|
|
||
| /* BT audio offload: reserve 3 bits for future */ | ||
| #define SOF_BT_OFFLOAD_SSP_SHIFT 15 | ||
| #define SOF_BT_OFFLOAD_SSP_MASK (GENMASK(17, 15)) | ||
| #define SOF_BT_OFFLOAD_SSP_SHIFT 18 | ||
| #define SOF_BT_OFFLOAD_SSP_MASK (GENMASK(20, 18)) | ||
| #define SOF_BT_OFFLOAD_SSP(quirk) \ | ||
| (((quirk) << SOF_BT_OFFLOAD_SSP_SHIFT) & SOF_BT_OFFLOAD_SSP_MASK) | ||
| #define SOF_SSP_BT_OFFLOAD_PRESENT BIT(18) | ||
| #define SOF_SSP_BT_OFFLOAD_PRESENT BIT(21) | ||
|
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.
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.
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. I think this is @bardliao ok as we have not upstreamed the BT offload quirk bits yet. All shipping devices (all chromebooks) have a hardcoded SSP port for BT, so I think this is ok change to make.
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. Ok update. So we have had the SOF_BT_OFFLOAD* defs in upstream for some time, and as all flags are exposed via the quirk module param, these have been available as module params as well. So this is a bit iffy situation (created when common flags were moved to vendor neutral soc_sdw_utils.h). There is a conflict, so we need to resolve this anyways. I think this PR is the right path. The BT_OFFLOAD bits have only been used in the DMI overrides and given this feature is not availble outside Chromebooks, there's no known usage of this by end-users (via module params). The SOC_SDW_CODEC_SPKR bit OTOH has seen a lot of use by actual users, so this we cannot change at this point. So as a summary, I think the change in this PR is good. We do need to be very careful aligning soc_sdw_utils.h and this SOF specific file. |
||
|
|
||
| struct intel_mc_ctx { | ||
| struct sof_hdmi_private hdmi; | ||
|
|
||
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.
sof_sdw_quirkcould also from module parameter. Not sure which one should have higher priority.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.
Even when the sof_sdw_quirk override is used alone or together with bt_link_mask, it is the bt_link_mask that ultimately determines which topology with the BT prefix is loaded.