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: add sof-lnl-cs42l43-l2-cs35l56x6-l13.tplg support #9839

Conversation

bardliao
Copy link
Collaborator

The audio config is cs42l43 codec on SoundWire link 2, 3cs35l56 amps on SoundWire link 1 and 3cs35l56 amps on SoundWire link 3.

Copy link
Contributor

@simontrimmer simontrimmer left a comment

Choose a reason for hiding this comment

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

The array entry contents look good to me, though I'd have been tempted to locate it after l0 entries so they are sorted

@bardliao bardliao force-pushed the topology2-sof-lnl-cs42l43-l2-cs35l56x6-l13 branch from 40ab55a to 5ae5af4 Compare February 18, 2025 14:15
@bardliao
Copy link
Collaborator Author

The array entry contents look good to me, though I'd have been tempted to locate it after l0 entries so they are sorted

Updated. Let's keep them sorted.

The audio config is cs42l43 codec on SoundWire link 2, 3*cs35l56 amps on
SoundWire link 1 and 3*cs35l56 amps on SoundWire link 3.

Signed-off-by: Bard Liao <[email protected]>
The audio config is cs42l43 codec on SoundWire link 2, 3*cs35l56 amps on
SoundWire link 1 and 3*cs35l56 amps on SoundWire link 3.

Signed-off-by: Bard Liao <[email protected]>
@bardliao bardliao force-pushed the topology2-sof-lnl-cs42l43-l2-cs35l56x6-l13 branch from 5ae5af4 to 1dc16ee Compare February 19, 2025 06:37
@bardliao bardliao marked this pull request as ready for review February 19, 2025 12:07
@lgirdwood
Copy link
Member

lgirdwood commented Feb 19, 2025

@bardliao @ujfalusi @simontrimmer I think unrelated, but this SDW error came up in pause/resume test
https://sof-ci.01.org/sofpr/PR9839/build10909/devicetest/index.html?model=LNLM_SDW_AIOC&testcase=multiple-pause-resume-50
Not a Cirrus SDW code though so not impacting this PR, just FYI.

t=19186 ms: cmd5 aplay Deepbuffer Jack Out: SUCCESS: /home/ubuntu/sof-test/case-lib/apause.exp aplay -D hw:0,31 -r 48000 -c 2 -f S16_LE -vv -i /dev/zero
t=19382 ms: cmd4 arecord Jack In: (50/50) Found volume ### | __%, active for 31 ms
t=19383 ms: cmd4 arecord Jack In: Pressing SPACE
t=19507 ms: cmd4 arecord Jack In: (50/50) Found   === PAUSE ===  ,  pausing for 35 ms
t=19507 ms: cmd4 arecord Jack In: WARNING: volume was always 00%!
t=19507 ms: cmd4 arecord Jack In: SUCCESS: /home/ubuntu/sof-test/case-lib/apause.exp arecord -D hw:0,1 -r 48000 -c 2 -f S16_LE -vv -i /dev/null

2025-02-19 07:20:45 UTC [REMOTE_INFO] pipeline: Jack In with arecord
2025-02-19 07:20:45 UTC [REMOTE_INFO] pipeline: Deepbuffer Jack Out with aplay
2025-02-19 07:20:45 UTC [REMOTE_INFO] Check expect exit status
declare -- cmd="journalctl_cmd --since=@1739949320"
journalctl_cmd is a function
journalctl_cmd () 
{ 
    sudo journalctl -k -q --no-pager --utc --output=short-monotonic --no-hostname "$@"
}
2025-02-19 07:20:45 UTC [ERROR] Caught kernel log error
===========================>>
[ 1248.226256] kernel: soundwire_intel soundwire_intel.link.1: Bus clash for control word
[ 1248.226773] kernel: soundwire_intel soundwire_intel.link.1: Msg NACK received, cmd 0
[ 1248.226881] kernel: soundwire_intel soundwire_intel.link.1: Msg NACKed for Slave 0
[ 1248.226942] kernel: soundwire sdw-master-0-1: trf on Slave 0 failed:-5 read addr 50 count 6
[ 1248.227010] kernel: soundwire sdw-master-0-1: DEVID read fail:-5
<<===========================
2025-02-19 07:20:45 UTC [REMOTE_ERROR] Caught error in kernel log
2025-02-19 07:20:45 UTC [REMOTE_INFO] Starting func_exit_handler(1)
2025-02-19 07:20:45 UTC [REMOTE_ERROR] Starting func_exit_handler(), exit status=1, FUNCNAME stack:
2025-02-19 07:20:45 UTC [REMOTE_ERROR]  die()  @  /home/ubuntu/sof-test/case-lib/lib.sh
2025-02-19 07:20:45 UTC [REMOTE_ERROR]  main()  @  /home/ubuntu/sof-test/test-case/multiple-pause-resume.sh:204
2025-02-19 07:20:45 UTC [REMOTE_INFO] pkill -TERM -f mtrace-reader.py
2025-02-19 07:20:45 UTC [REMOTE_INFO] nlines=24571 /home/ubuntu/sof-test/logs/multiple-pause-resume/2025-02-19-07:15:27-5701/mtrace.txt
+ grep -B 2 -A 1 -i --word-regexp -e ERR -e ERROR -e '' -e OSError /home/ubuntu/sof-test/logs/multiple-pause-resume/2025-02-19-07:15:27-5701/mtrace.txt
2025-02-19 07:20:45 UTC [REMOTE_INFO] ktime=1364 sof-test PID=9757: ending
2025-02-19 07:20:46 UTC [REMOTE_INFO] Test Result: FAIL!

@lgirdwood lgirdwood merged commit 5b98a5c into thesofproject:main Feb 19, 2025
45 of 49 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.

3 participants