From: Hans de Goede Date: Mon, 24 Dec 2018 15:05:04 +0000 (+0100) Subject: conf/ucm: bytcr-rt5651: Add bytcr-rt5651-stereo-spk-dmic-mic config X-Git-Tag: v1.2.1~60 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=a7438bfa35dcae72392a5ace4b3df6bed145de19;p=alsa-ucm-conf.git conf/ucm: bytcr-rt5651: Add bytcr-rt5651-stereo-spk-dmic-mic config Add a config for boards which use a digital mic as internal mic, combined with having the headset mic on in2. An example of such a board is the Point of View TAB-P1006W-232 (v1.0) tablet. Signed-off-by: Hans de Goede Signed-off-by: Takashi Iwai --- diff --git a/ucm/bytcr-rt5651-stereo-spk-dmic-mic/HiFi.conf b/ucm/bytcr-rt5651-stereo-spk-dmic-mic/HiFi.conf new file mode 100644 index 0000000..abf5fc7 --- /dev/null +++ b/ucm/bytcr-rt5651-stereo-spk-dmic-mic/HiFi.conf @@ -0,0 +1,26 @@ +# Adapted from https://github.com/plbossart/UCM/tree/master/bytcr-rt5651 + + +SectionVerb { + EnableSequence [ + cdev "hw:bytcrrt5651" + + + ] + + DisableSequence [ + cdev "hw:bytcrrt5651" + + ] + + Value { + PlaybackPCM "hw:bytcrrt5651" + CapturePCM "hw:bytcrrt5651" + } +} + + + + + + diff --git a/ucm/bytcr-rt5651-stereo-spk-dmic-mic/bytcr-rt5651-stereo-spk-dmic-mic.conf b/ucm/bytcr-rt5651-stereo-spk-dmic-mic/bytcr-rt5651-stereo-spk-dmic-mic.conf new file mode 100644 index 0000000..de8d954 --- /dev/null +++ b/ucm/bytcr-rt5651-stereo-spk-dmic-mic/bytcr-rt5651-stereo-spk-dmic-mic.conf @@ -0,0 +1,10 @@ +# Adapted from https://github.com/plbossart/UCM/tree/master/bytcr-rt5651 + +SectionUseCase."HiFi" { + File "../bytcr-rt5651-stereo-spk-dmic-mic/HiFi.conf" + Comment "Play HiFi quality Music" +} + +SectionDefaults [ + cdev "hw:bytcrrt5651" +]