configs: Add support for SDM845 HDK handset and speaker
SDM845 HDK has a different handdset setup from other platforms.
Add specific handset and speaker paths for it to use the correct
mixer path.
Change-Id: I9c8f32442fe74a1733b15adbddd86340e091e91b
Signed-off-by: Meng Wang <mwang@codeaurora.org>
diff --git a/configs/sdm845/mixer_paths_tavil.xml b/configs/sdm845/mixer_paths_tavil.xml
index 8a6360b..2e31741 100644
--- a/configs/sdm845/mixer_paths_tavil.xml
+++ b/configs/sdm845/mixer_paths_tavil.xml
@@ -1841,6 +1841,10 @@
<path name="speaker-mono-2" />
</path>
+ <path name="speaker-hdk">
+ <path name="speaker-mono" />
+ </path>
+
<path name="speaker-fluid">
<path name="speaker-mono" />
</path>
@@ -2063,6 +2067,14 @@
<path name="handset-qrd" />
</path>
+ <path name="voice-handset-hdk">
+ <path name="handset-qrd" />
+ </path>
+
+ <path name="voice-handset-tmus-hdk">
+ <path name="handset-qrd" />
+ </path>
+
<path name="voice-speaker">
<path name="speaker-mono" />
</path>
@@ -2071,6 +2083,10 @@
<path name="speaker-mono-2" />
</path>
+ <path name="voice-speaker-hdk">
+ <path name="speaker-mono" />
+ </path>
+
<path name="voice-speaker-2">
<path name="speaker-mono-2" />
</path>
@@ -2412,6 +2428,11 @@
<path name="handset-qrd" />
</path>
+ <path name="voice-tty-hco-handset-hdk">
+ <ctl name="TTY Mode" value="HCO" />
+ <path name="handset-qrd" />
+ </path>
+
<path name="voice-tty-full-headset-mic">
<path name="amic2" />
<ctl name="ADC2 Volume" value="0" />