Add default, enable/disable codec sequence for Headphone and Mic on
WCD937x codec
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/421
Signed-off-by: Mohammad Rafi Shaik <quic_mohs@quicinc.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
--- /dev/null
+DisableSequence [
+ cset "name='HPHL_RDAC Switch' 0"
+ cset "name='HPHR_RDAC Switch' 0"
+ cset "name='HPHL Switch' 0"
+ cset "name='HPHR Switch' 0"
+]
--- /dev/null
+EnableSequence [
+ cset "name='HPHL_RDAC Switch' 1"
+ cset "name='HPHR_RDAC Switch' 1"
+ cset "name='HPHL Switch' 1"
+ cset "name='HPHR Switch' 1"
+]
--- /dev/null
+DisableSequence [
+ cset "name='ADC2_MIXER Switch' 0"
+ cset "name='ADC2 Switch' 0"
+]
--- /dev/null
+EnableSequence [
+ cset "name='ADC2_MIXER Switch' 1"
+ cset "name='ADC2 MUX' INP2"
+ cset "name='ADC2 Switch' 1"
+]
--- /dev/null
+# WCD937X specific volume control settings
+
+LibraryConfig.remap.Config {
+
+ ctl.default.map {
+ # Merge two mono controls into one stereo
+ "name='HP Volume'" {
+ "name='HPHL Volume'".vindex.0 0
+ "name='HPHR Volume'".vindex.1 0
+ }
+ }
+}