topology2: add sof-ptl-cs42l43-l0 for Lenovo Yoga 9 2-in-1 14IPH11 - #11053
Open
laspinacristian wants to merge 1 commit into
Open
topology2: add sof-ptl-cs42l43-l0 for Lenovo Yoga 9 2-in-1 14IPH11#11053laspinacristian wants to merge 1 commit into
laspinacristian wants to merge 1 commit into
Conversation
The Lenovo Yoga 9 2-in-1 14IPH11 puts its CS42L43 codec and both CS35L57 amplifiers on SoundWire link 0. The existing cs42l43 targets describe machines that spread the same chips over links 2 and 3, so none of them matches; both amplifiers sit on the one link, hence NUM_SDW_AMP_LINKS=1. Add three targets so the kernel can pick one by DMIC count, as the existing cs42l43 and rt722 entries do: sof-ptl-cs42l43-l0 uses the SoundWire microphones behind the codec, the -2ch and -4ch variants the PCH DMICs. All three set EFX_SPK_IIR_PARAMS to highpass_30hz_0db_48khz instead of the cavs-sdw default of 100 Hz. The CS35L57 firmware applies excursion protection tuned for these woofers, so the generic high-pass only removes low end the amplifiers are built to reproduce. The matching kernel entry in soc-acpi-intel-ptl-match.c is sent separately. Tested on Fedora 44: the card comes up and woofers, tweeters, headphone jack and internal microphones all work. Assisted-by: Claude:claude-opus-5 Signed-off-by: Cristian La Spina <cristian.laspina@kernel.srl>
Collaborator
|
Can one of the admins verify this patch?
|
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The Lenovo Yoga 9 2-in-1 14IPH11 puts its CS42L43 codec and both CS35L57 amplifiers on SoundWire link 0. The existing cs42l43 targets describe machines that spread the same chips over links 2 and 3, so none of them matches; both amplifiers sit on the one link, hence NUM_SDW_AMP_LINKS=1.
Add three targets so the kernel can pick one by DMIC count, as the existing cs42l43 and rt722 entries do: sof-ptl-cs42l43-l0 uses the SoundWire microphones behind the codec, the -2ch and -4ch variants the PCH DMICs.
All three set EFX_SPK_IIR_PARAMS to highpass_30hz_0db_48khz instead of the cavs-sdw default of 100 Hz. The CS35L57 firmware applies excursion protection tuned for these woofers, so the generic high-pass only removes low end the amplifiers are built to reproduce.
The matching kernel entry in soc-acpi-intel-ptl-match.c is sent separately.
Tested on Fedora 44: the card comes up and woofers, tweeters, headphone jack and internal microphones all work.
Assisted-by: Claude:claude-opus-5