Skip to content
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

topology2: intel: fix default BT clock for ACE1.5 and newer #9809

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

kv2019i
Copy link
Collaborator

@kv2019i kv2019i commented Feb 4, 2025

Fix a bug in clock definitions for BT offload configurations. The BT_MCLK and link_control.clock_source definitions must match and this has not been the case for all ACE1.5+ scenarios.

The practical impacts are limited as this does not impact the common HFP NB/WB configuration, as the DSP is not the clock provider in these cases.

Impacts can be seen on ACE1.5+ with A2DP offload and BT HFP LBM test mode. Result is incorrect playback/capture speed.

The Bluetooth configurations use the 24.576Mhz Cardinal Clock
as clock source for ACE1.5, configured via the new "clock_source"
parameter. Set BT_MCLK correctly for these platforms.

Signed-off-by: Kai Vehmanen <[email protected]>
Add a comment that "clock_source" link configuration must be
compatible with BT_MCLK.

The current generic definition hard codes BT clock source to 1.
This definition is ignored on older platforms, and on newer
platforms it maps to same 24.576Mhz Cardinal Clock. This sets
different constraints on BT_MCLK depending on the target platform.

Signed-off-by: Kai Vehmanen <[email protected]>
Fix stray bad indentation.

Signed-off-by: Kai Vehmanen <[email protected]>
@kv2019i
Copy link
Collaborator Author

kv2019i commented Feb 6, 2025

@udaymb can you check this as well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants