Skip to contentSkip to conversation

ucm2: MediaTek: Add SOF UCM for mt8186 mt6366 rt1019 rt5682s

DISCUSSION GitHub pull_request - opened 1 participant 5 messages Jul 19 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): alsa-project/alsa-ucm-conf/pr/[email protected]

#1 lore raw

alsa-project/alsa-ucm-conf pull request #814 was opened from dangowrt:

Add a UCM profile for the SOF variant of the MediaTek MT8186 (Kompanio 520) sound card sof-mt8186_rt1019_rt5682s, as found on Corsola-family Chromebooks (e.g. google,steelix).

The card exposes:
- RT1019 amplifier -> speaker (SOF_DL2 -> I2S3)
- RT5682S codec -> headset jack: headphones (SOF_DL1 -> I2S1) and headset mic (SOF_UL2 -> I2S0)
- MT6366 built-in digital microphone (SOF_UL1)

RT5682S DAC/ADC routing follows the existing mt8195 mt6359-rt1019-rt5682 profile (same codec), with board specifics:
- MT6366 internal DMIC needs one-wire mode (Mt6366 Dmic Mode Switch)
- headset-mic capture (SOF_UL2 -> I2S0) needs the AFE UL2_CH1/CH2 I2S0_CH1/CH2 Switch interconnect
- a moderate analog capture gain for the headset mic

Tested on google,steelix (Debian, PipeWire): speaker, headphones, headset mic and built-in mic all validated end-to-end; jack detection works.

alsa-info.sh output (per CONTRIBUTING, for the UCM validator):

Note: this card is not yet in the alsa-tests validator set, so the CI may not fully emulate it until the alsa-info above is added there.

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

#2 lore raw
In reply to a message not in the archive

alsa-project/alsa-ucm-conf pull request #814 was edited from dangowrt:

Add a UCM profile for the SOF variant of the MediaTek MT8186 (Kompanio 520) sound card sof-mt8186_rt1019_rt5682s, as found on Corsola-family Chromebooks (e.g. google,steelix).

The card exposes:
- RT1019 amplifier -> speaker (SOF_DL2 -> I2S3)
- RT5682S codec -> headset jack: headphones (SOF_DL1 -> I2S1) and headset mic (SOF_UL2 -> I2S0)
- MT6366 built-in digital microphone (SOF_UL1)

RT5682S DAC/ADC routing follows the existing mt8195 mt6359-rt1019-rt5682 profile (same codec), with board specifics:
- MT6366 internal DMIC needs one-wire mode (Mt6366 Dmic Mode Switch)
- headset-mic capture (SOF_UL2 -> I2S0) needs the AFE UL2_CH1/CH2 I2S0_CH1/CH2 Switch interconnect
- a moderate analog capture gain for the headset mic

Tested on google,steelix (Debian, PipeWire): speaker, headphones, headset mic and built-in mic all validated end-to-end; jack detection works.

alsa-info.sh output (per CONTRIBUTING, for the UCM validator) to follow — I will attach it so the card can be added to the alsa-tests validator set. CI may not fully emulate this new card until then.

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

#3 lore raw
In reply to a message not in the archive

alsa-project/alsa-ucm-conf pull request #814 was edited from dangowrt:

Add a UCM profile for the SOF variant of the MediaTek MT8186 (Kompanio 520) sound card sof-mt8186_rt1019_rt5682s, as found on Corsola-family Chromebooks (e.g. google,steelix).

The card exposes:
- RT1019 amplifier -> speaker (SOF_DL2 -> I2S3)
- RT5682S codec -> headset jack: headphones (SOF_DL1 -> I2S1) and headset mic (SOF_UL2 -> I2S0)
- MT6366 built-in digital microphone (SOF_UL1)

RT5682S DAC/ADC routing follows the existing mt8195 mt6359-rt1019-rt5682 profile (same codec), with board specifics:
- MT6366 internal DMIC needs one-wire mode (Mt6366 Dmic Mode Switch)
- headset-mic capture (SOF_UL2 -> I2S0) needs the AFE UL2_CH1/CH2 I2S0_CH1/CH2 Switch interconnect
- a moderate analog capture gain for the headset mic

Tested on google,steelix (Debian, PipeWire): speaker, headphones, headset mic and built-in mic all validated end-to-end; jack detection works.

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

#4 lore raw
In reply to a message not in the archive

alsa-project/alsa-ucm-conf pull request #814 was edited from dangowrt:

Add a UCM profile for the SOF variant of the MediaTek MT8186 (Kompanio 520) sound card sof-mt8186_rt1019_rt5682s, as found on Corsola-family Chromebooks (e.g. google,steelix).

The card exposes:
- RT1019 amplifier -> speaker (SOF_DL2 -> I2S3)
- RT5682S codec -> headset jack: headphones (SOF_DL1 -> I2S1) and headset mic (SOF_UL2 -> I2S0)
- MT6366 built-in digital microphone (SOF_UL1)

RT5682S DAC/ADC routing follows the existing mt8195 mt6359-rt1019-rt5682 profile (same codec), with board specifics:
- MT6366 internal DMIC needs one-wire mode (Mt6366 Dmic Mode Switch)
- headset-mic capture (SOF_UL2 -> I2S0) needs the AFE UL2_CH1/CH2 I2S0_CH1/CH2 Switch interconnect
- a moderate analog capture gain for the headset mic

Tested on google,steelix (Debian, PipeWire): speaker, headphones, headset mic and built-in mic all validated end-to-end; jack detection works.

alsa-info.sh output (per CONTRIBUTING, for the UCM validator):
https://gist.github.com/dangowrt/4d530e8542542a6611a03b1849a7c8bd

Note: this card is not yet in the alsa-tests validator set, so CI may not fully emulate it until the alsa-info above is added there.

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

#5 lore raw
In reply to a message not in the archive

alsa-project/alsa-ucm-conf pull request #814 was edited from dangowrt:

Add a UCM profile for the SOF variant of the MediaTek MT8186 (Kompanio 520) sound card sof-mt8186_rt1019_rt5682s, as found on Corsola-family Chromebooks (e.g. google,steelix).

The card exposes:
- RT1019 amplifier -> speaker (SOF_DL2 -> I2S3)
- RT5682S codec -> headset jack: headphones (SOF_DL1 -> I2S1) and headset mic (SOF_UL2 -> I2S0)
- MT6366 built-in digital microphone (SOF_UL1)

RT5682S DAC/ADC routing follows the existing mt8195 mt6359-rt1019-rt5682 profile (same codec), with board specifics:
- MT6366 internal DMIC needs one-wire mode (Mt6366 Dmic Mode Switch)
- headset-mic capture (SOF_UL2 -> I2S0) needs the AFE
UL2_CH1/CH2 I2S0_CH1/CH2 Switch interconnect
- a moderate analog capture gain for the headset mic

Tested on google,steelix (Debian, PipeWire): speaker, headphones, headset mic and built-in mic all validated end-to-end; jack detection works.

alsa-info.sh output: https://gist.github.com/dangowrt/4d530e8542542a6611a03b1849a7c8bd

Note: this card is not yet in the alsa-tests validator set, so CI may not fully emulate it until the alsa-info above is added there.

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