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

SoundWire: programming flow corrections #5065

Merged

Conversation

plbossart
Copy link
Member

The hardware documentation lists a number of steps that aren't followed by the Linux driver, such as a soft reset and disabling wakeups on startup. The interrupt enable is also not symmetrical with the disable.

It's not clear if these patches fix anything, but aligning with documented programming flows is in general never a bad idea.

@plbossart
Copy link
Member Author

plbossart commented Jun 17, 2024

https://sof-ci.01.org/linuxpr/PR5065/build3687/devicetest/index.html?model=LNLM_SDW_AIOC&testcase=multiple-pipeline-playback is broken on ba-lnlm-rvp-sdw-01. I can't reproduce the problem with the same command line.

TPLG=/lib/firmware/intel/sof-ipc4-tplg/sof-lnl-rt711-l0-rt1316-l23-rt714-l1.tplg MODEL=LNLM_SDW_AIOC SOF_TEST_INTERVAL=5 ~/sof-test/test-case/multiple-pipeline.sh -f p 2; done

works fine for me...

@plbossart
Copy link
Member Author

SOFCI TEST

3 similar comments
@plbossart
Copy link
Member Author

SOFCI TEST

@plbossart
Copy link
Member Author

SOFCI TEST

@plbossart
Copy link
Member Author

SOFCI TEST

@plbossart
Copy link
Member Author

@bardliao can you review?

bardliao
bardliao previously approved these changes Jul 24, 2024
Copy link
Collaborator

@bardliao bardliao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Follow the recommended programming flows.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Follow recommended programming flows.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
@plbossart
Copy link
Member Author

updated version without controversial patches.

@bardliao bardliao requested a review from ujfalusi August 9, 2024 14:19
@bardliao bardliao merged commit 9ad53a5 into thesofproject:topic/sof-dev Aug 16, 2024
12 of 14 checks passed
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.

4 participants