Skip to contentSkip to conversation

sof-soundwire: cleanups for rt712, rt713 and rt722 multi codec

DISCUSSION GitHub pull_request - opened 1 participant 5 messages Jun 4 – Jun 9 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

alsa-project/alsa-ucm-conf pull request #775 was opened from perexg:

RT712 - move rt712-dmic to rt712 config (included in If.multi_init and from HiFi.conf)

RT713 - move rt713-dmic to rt713 config (included in If.multi_init and from HiFi.conf)

RT713,RT712,RT722 - do not include files for individual devices when multi codec is detected.

Declare 'MultiHeadsetShadow' variable to be consistent with other shadow variables (Speaker, Mic). Use it for RT712 and RT713 (Headphones/Headset devices).

Request URL : https://github.com/alsa-project/alsa-ucm-conf/pull/775
Patch URL : https://github.com/alsa-project/alsa-ucm-conf/pull/775.patch
Repository URL: https://github.com/alsa-project/alsa-ucm-conf

#2 lore raw

sof-soundwire: cleanups for codecs with multiple functions

In reply to a message not in the archive

alsa-project/alsa-ucm-conf pull request #775 was edited from perexg:

RT712 - move rt712-dmic to rt712 config (included in If.multi_init and from HiFi.conf)

RT713 - move rt713-dmic to rt713 config (included in If.multi_init and from HiFi.conf)

RT713,RT712,RT722 - do not include files for individual devices when multi codec is detected.

Declare 'MultiHeadsetShadow' variable to be consistent with other shadow variables (Speaker, Mic). Use it for RT712 and RT713 (Headphones/Headset devices).

Request URL : https://github.com/alsa-project/alsa-ucm-conf/pull/775
Patch URL : https://github.com/alsa-project/alsa-ucm-conf/pull/775.patch
Repository URL: https://github.com/alsa-project/alsa-ucm-conf

#3 lore raw

sof-soundwire: cleanups for codecs with multiple functions

In reply to a message not in the archive

alsa-project/alsa-ucm-conf pull request #775 was edited from perexg:

The load mechanism assumed only one multi-codec in the system, but
we saw in #774 multiple instances of those codecs (rt1320 and rt713).

Make the load mechanism straight:

- introduce file variables
- remove shadow variables
- probe multi-codecs separately and modify the file variables
- test for duplicate file inclusion (in both sof-soundwire / HiFi configs)
- merge dmic configs for rt712,rt713 to one file

This change also removes filters for speaker/headset/mic init includes. The file variables + multi-codec probe replaces this functionality and if the driver reports an "unknown" codec, UCM config should be updated anyway.

Request URL : https://github.com/alsa-project/alsa-ucm-conf/pull/775
Patch URL : https://github.com/alsa-project/alsa-ucm-conf/pull/775.patch
Repository URL: https://github.com/alsa-project/alsa-ucm-conf

#4 lore raw

sof-soundwire: cleanups for codecs with multiple functions

In reply to a message not in the archive

alsa-project/alsa-ucm-conf pull request #775 was edited from perexg:

The load mechanism assumed only one multi-codec in the system, but we saw in #774 multiple instances of those codecs (rt1320 and rt713).

Make the load mechanism straight:

- introduce file variables
- remove shadow variables
- probe multi-codecs separately and modify the file variables
- test for duplicate file inclusion (in both sof-soundwire / HiFi configs)
- merge dmic configs for rt712,rt713 to one file

This change also removes filters for speaker/headset/mic init includes. The file variables + multi-codec probe replaces this functionality and if the driver reports an "unknown" codec, UCM config should be updated anyway.

Request URL : https://github.com/alsa-project/alsa-ucm-conf/pull/775
Patch URL : https://github.com/alsa-project/alsa-ucm-conf/pull/775.patch
Repository URL: https://github.com/alsa-project/alsa-ucm-conf

#5 lore raw

sof-soundwire: cleanups for codecs with multiple functions

In reply to a message not in the archive

alsa-project/alsa-ucm-conf pull request #775 was edited from perexg:

The load mechanism assumed only one multi-codec in the system, but we saw in #774 multiple instances of those codecs (rt1320 and rt713).

Make the load mechanism straight:

- introduce file variables
- remove shadow variables
- probe multi-codecs separately and modify the file variables
- test for duplicate file inclusion (in both sof-soundwire / HiFi configs)
- merge dmic configs for rt712,rt713 to one file

This change also improves filters for speaker/headset/mic init includes.

Request URL : https://github.com/alsa-project/alsa-ucm-conf/pull/775
Patch URL : https://github.com/alsa-project/alsa-ucm-conf/pull/775.patch
Repository URL: https://github.com/alsa-project/alsa-ucm-conf