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

Enable RT722 EVB with MTL RVP on link0 single lane #4672

Merged
merged 2 commits into from
Nov 1, 2023

Conversation

aiChaoSONG
Copy link
Collaborator

Early enabling of RT722 codec with MTL RVP on link 0 single lane. This patch
is verified with the topology thesofproject/sof#8413.

I need more ramp up on enabling jack detection and codec init/exit, or some one could help to do it, but with this patch, headphone, speaker and DMIC works fine with single lane on link 0.

@bardliao
Copy link
Collaborator

For the init functions, you can refer to sof_sdw_rt712_sdca.c and sof_sdw_rt_sdca_jack_common.c

This patch adds match table for rt722 codec on link 0.

RT722 is a multi-function codec, three endpoints are
created for its headset, amp and dmic functions.

Signed-off-by: Chao Song <[email protected]>
@aiChaoSONG
Copy link
Collaborator Author

Update:

  • Add comments and revise commit message according to reviews
  • add code init/exit implementation (thanks @bardliao for pointing out the rt712 reference code)

@aiChaoSONG aiChaoSONG requested a review from plbossart October 31, 2023 07:03
RT722 is a multi-function codec which supports headset,
amp, and dmic functions. Each function provides a DAI
which can be used in different dailinks.

The RT711 supports up to 3 SoundWire lanes, but that
should not have any impact in the machine driver:
the lanes are allocated and controlled by the manager
and bandwidth allocation algorithm.

Signed-off-by: Chao Song <[email protected]>
@plbossart plbossart merged commit 3ddabe5 into thesofproject:topic/sof-dev Nov 1, 2023
9 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