s5neolte: add mixer_paths.xml
authorStricted <info@stricted.net>
Mon, 1 Oct 2018 09:18:24 +0000 (11:18 +0200)
committerJan Altensen <info@stricted.net>
Mon, 12 Aug 2019 07:20:12 +0000 (09:20 +0200)
(taken from A3)

Change-Id: I863feed9f218656199f27eaddddd1df7ce90ddcc

configs/audio/mixer_paths.xml [new file with mode: 0644]
device.mk

diff --git a/configs/audio/mixer_paths.xml b/configs/audio/mixer_paths.xml
new file mode 100644 (file)
index 0000000..c866b32
--- /dev/null
@@ -0,0 +1,3642 @@
+<mixer>
+
+       <pcmdai playback_link="5" />
+       <pcmdai playback_deep_link="1" />
+       <pcmdai capture_link="0" />
+       <pcmdai baseband_link="2" />
+       <pcmdai bluetooth_link="3" />
+       <pcmdai fmradio_link="4" />
+       <pcmdai playback_jam_link="6" />
+
+       <!-- Reset configurations -->
+       <ctl name="S2801 Mixer En" value="Off" />
+       <ctl name="S2801 SRC1 En" value="Off" />
+       <ctl name="S2801 SRC2 En" value="Off" />
+       <ctl name="S2801 SRC3 En" value="Off" />
+       <ctl name="S2801 CH1 Mixer En" value="Off" />
+       <ctl name="S2801 CH2 Mixer En" value="Off" />
+       <ctl name="S2801 CH3 Mixer En" value="Off" />
+       <ctl name="S2801 CH4 Mixer En" value="Off" />
+       <ctl name="S2801 RMIX1 En" value="Off" />
+       <ctl name="S2801 RMIX2 En" value="Off" />
+       <ctl name="S2801 CH3 Rec En" value="Off" />
+       <ctl name="S2801 CH1 DOUT Select" value="DMIX_OUT" />
+       <ctl name="S2801 CH2 DOUT Select" value="DMIX_OUT" />
+       <ctl name="S2801 CH3 DOUT Select" value="DMIX_OUT" />
+       <ctl name="MonoMix Mode" value="Disable" />
+       <ctl name="HP HP On" value="0" />
+       <ctl name="EP EP On" value="0" />
+       <ctl name="SPK SPK On" value="0" />
+       <ctl name="Chargepump Mode" value="CLASS-G-A" />
+       <ctl name="DNC Max Gain" value="24" />
+
+       <!-- default routes -->
+
+       <!-- TODO: Need to figure out what to put in default routes. -->
+
+       <!-- Common -->
+
+       <path name="route-ap">
+               <ctl name="S2801 Mixer En" value="On" />
+       </path>
+
+       <path name="route-ap-tx">
+               <path name="route-ap" />
+               <ctl name="S2801 CH1 Mixer En" value="On" />
+               <ctl name="S2801 CH2 Mixer En" value="Off" />
+               <ctl name="S2801 CH3 Mixer En" value="Off" />
+               <ctl name="S2801 CH4 Mixer En" value="Off" />
+               <ctl name="MonoMix Mode" value="Disable" />
+               <ctl name="Chargepump Mode" value="CLASS-G-A" />
+               <ctl name="DNC Max Gain" value="24" />
+       </path>
+
+       <path name="route-ap-rx">
+               <path name="route-ap" />
+               <ctl name="S2801 CH1 DOUT Select" value="AIF4IN" />
+       </path>
+
+       <path name="route-cp">
+               <ctl name="S2801 Mixer En" value="On" />
+               <ctl name="S2801 SRC1 En" value="Off" />
+               <ctl name="S2801 SRC2 En" value="On" />
+               <ctl name="S2801 SRC3 En" value="Off" />
+               <ctl name="S2801 CH1 Mixer En" value="On" />
+               <ctl name="S2801 CH2 Mixer En" value="On" />
+               <ctl name="S2801 CH3 Mixer En" value="Off" />
+               <ctl name="S2801 CH4 Mixer En" value="Off" />
+               <ctl name="S2801 RMIX1 En" value="On" />
+               <ctl name="S2801 RMIX2 En" value="On" />
+               <ctl name="S2801 CH3 Rec En" value="Off" />
+               <ctl name="S2801 CH1 DOUT Select" value="RMIX_OUT" />
+               <ctl name="S2801 CH2 DOUT Select" value="AIF4IN" />
+               <ctl name="MonoMix Mode" value="L" />
+               <ctl name="Chargepump Mode" value="CLASS-G-A" />
+               <ctl name="DNC Max Gain" value="24" />
+       </path>
+
+       <path name="route-ap-bt">
+               <!-- TODO: Needs review -->
+               <ctl name="S2801 Mixer En" value="On" />
+               <ctl name="S2801 SRC1 En" value="Off" />
+               <ctl name="S2801 SRC2 En" value="Off" />
+               <ctl name="S2801 SRC3 En" value="On" />
+               <ctl name="S2801 CH1 Mixer En" value="On" />
+               <ctl name="S2801 CH2 Mixer En" value="Off" />
+               <ctl name="S2801 CH3 Mixer En" value="Off" />
+               <ctl name="S2801 CH4 Mixer En" value="Off" />
+               <ctl name="S2801 RMIX1 En" value="Off" />
+               <ctl name="S2801 RMIX2 En" value="On" />
+               <ctl name="S2801 CH3 Rec En" value="On" />
+               <ctl name="S2801 CH1 DOUT Select" value="RMIX_OUT" />
+               <ctl name="S2801 CH3 DOUT Select" value="DMIX_OUT" />
+       </path>
+
+       <path name="route-cp-bt">
+               <!-- TODO: Needs review -->
+               <ctl name="S2801 Mixer En" value="On" />
+               <ctl name="S2801 SRC1 En" value="Off" />
+               <ctl name="S2801 SRC2 En" value="On" />
+               <ctl name="S2801 SRC3 En" value="On" />
+               <ctl name="S2801 CH1 Mixer En" value="On" />
+               <ctl name="S2801 CH2 Mixer En" value="On" />
+               <ctl name="S2801 CH3 Mixer En" value="Off" />
+               <ctl name="S2801 CH4 Mixer En" value="Off" />
+               <ctl name="S2801 RMIX1 En" value="On" />
+               <ctl name="S2801 RMIX2 En" value="On" />
+               <ctl name="S2801 CH3 Rec En" value="On" />
+               <ctl name="S2801 CH1 DOUT Select" value="RMIX_OUT" />
+               <ctl name="S2801 CH2 DOUT Select" value="AIF3IN" />
+               <ctl name="S2801 CH3 DOUT Select" value="DMIX_OUT" />
+       </path>
+
+       <path name="route-ap-fm">
+               <ctl name="S2801 Mixer En" value="On" />
+               <ctl name="S2801 SRC3 En" value="On" />
+       </path>
+
+       <path name="route-ap-fm-tx">
+               <path name="route-ap-fm" />
+               <ctl name="S2801 CH1 Mixer En" value="On" />
+               <ctl name="S2801 CH2 Mixer En" value="Off" />
+               <ctl name="S2801 CH3 Mixer En" value="On" />
+               <ctl name="S2801 CH4 Mixer En" value="Off" />
+               <ctl name="Chargepump Mode" value="CLASS-G-A" />
+               <ctl name="DNC Max Gain" value="24" />
+               
+       </path>
+
+       <path name="route-ap-fm-rx">
+               <path name="route-ap-fm" />
+               <ctl name="S2801 RMIX1 En" value="Off" />
+               <ctl name="S2801 RMIX2 En" value="On" />
+               <ctl name="S2801 CH3 Rec En" value="On" />
+               <ctl name="S2801 CH1 DOUT Select" value="RMIX_OUT" />
+       </path>
+
+       <path name="dev-codec-disable-analog-bypass">
+               <ctl name="HPL Mixer ADCL Switch" value="0" />
+               <ctl name="HPL Mixer ADCR Switch" value="0" />
+               <ctl name="HPR Mixer ADCL Switch" value="0" />
+               <ctl name="HPR Mixer ADCR Switch" value="0" />
+               <ctl name="EP Mixer ADCL Switch" value="0" />
+               <ctl name="EP Mixer ADCR Switch" value="0" />
+               <ctl name="SPK Mixer ADCL Switch" value="0" />
+               <ctl name="SPK Mixer ADCR Switch" value="0" />
+       </path>
+
+       <path name="dev-speaker">
+               <ctl name="HP HP On" value="0" />
+               <ctl name="EP EP On" value="0" />
+               <ctl name="SPK SPK On" value="1" />
+       </path>
+
+       <path name="dev-handset">
+               <ctl name="HP HP On" value="0" />
+               <ctl name="SPK SPK On" value="0" />
+               <ctl name="EP EP On" value="1" />
+       </path>
+
+       <path name="dev-headset">
+               <ctl name="EP EP On" value="0" />
+               <ctl name="SPK SPK On" value="0" />
+               <ctl name="HP HP On" value="1" />
+       </path>
+
+       <path name="dev-speaker-headset">
+               <ctl name="EP EP On" value="0" />
+               <ctl name="HP HP On" value="1" />
+               <ctl name="SPK SPK On" value="1" />
+       </path>
+
+       <path name="dev-fm-speaker">
+               <path name="dev-speaker" />
+               <ctl name="SPK Mixer ADCL Switch" value="1" />
+               <ctl name="SPK Mixer ADCR Switch" value="1" />
+       </path>
+
+       <path name="dev-fm-headset">
+               <path name="dev-headset"/>
+               <ctl name="HPL Mixer ADCL Switch" value="1" />
+               <ctl name="HPR Mixer ADCR Switch" value="1" />
+       </path>
+
+       <path name="dev-codec-out-disable">
+               <ctl name="HP HP On" value="0" />
+               <ctl name="EP EP On" value="0" />
+               <ctl name="SPK SPK On" value="0" />
+       </path>
+
+       <path name="dev-bt-headset">
+               <path name="dev-codec-out-disable" />
+       </path>
+
+       <path name="dev-bt-headset-speaker">
+               <path name="dev-speaker" />
+       </path>
+
+       <path name="dev-main-mic">
+               <ctl name="ADCL Mixer MIC1L Switch" value="1" />
+               <ctl name="ADCL Mixer MIC2L Switch" value="0" />
+               <ctl name="ADCL Mixer LINELL Switch" value="0" />
+               <ctl name="ADCL Mixer LINERL Switch" value="0" />
+               <ctl name="ADCR Mixer MIC1R Switch" value="1" />
+               <ctl name="ADCR Mixer MIC2R Switch" value="0" />
+               <ctl name="ADCR Mixer LINELR Switch" value="0" />
+               <ctl name="ADCR Mixer LINERR Switch" value="0" />
+               <ctl name="MIC2 MIC2 On" value="0" />
+               <ctl name="LINEIN LINEIN On" value="0" />
+               <ctl name="MIC1 MIC1 On" value="1" />
+       </path>
+
+       <path name="dev-2nd-mic">
+               <ctl name="ADCL Mixer MIC1L Switch" value="0" />
+               <ctl name="ADCL Mixer MIC2L Switch" value="0" />
+               <ctl name="ADCL Mixer LINELL Switch" value="1" />
+               <ctl name="ADCL Mixer LINERL Switch" value="1" />
+               <ctl name="ADCR Mixer MIC1R Switch" value="0" />
+               <ctl name="ADCR Mixer MIC2R Switch" value="0" />
+               <ctl name="ADCR Mixer LINELR Switch" value="1" />
+               <ctl name="ADCR Mixer LINERR Switch" value="1" />
+               <ctl name="MIC2 MIC2 On" value="0" />
+               <ctl name="MIC1 MIC1 On" value="0" />
+               <ctl name="LINEIN LINEIN On" value="1" />
+       </path>
+
+       <path name="dev-dual-main_left-2nd_right-mic">
+               <ctl name="ADCL Mixer MIC1L Switch" value="1" />
+               <ctl name="ADCL Mixer MIC2L Switch" value="0" />
+               <ctl name="ADCL Mixer LINELL Switch" value="0" />
+               <ctl name="ADCL Mixer LINERL Switch" value="0" />
+               <ctl name="ADCR Mixer MIC1R Switch" value="0" />
+               <ctl name="ADCR Mixer MIC2R Switch" value="0" />
+               <ctl name="ADCR Mixer LINELR Switch" value="1" />
+               <ctl name="ADCR Mixer LINERR Switch" value="1" />
+               <ctl name="MIC2 MIC2 On" value="0" />
+               <ctl name="MIC1 MIC1 On" value="1" />
+               <ctl name="LINEIN LINEIN On" value="1" />
+       </path>
+
+       <path name="dev-dual-main_right-2nd_left-mic">
+               <ctl name="ADCL Mixer MIC1L Switch" value="0" />
+               <ctl name="ADCL Mixer MIC2L Switch" value="0" />
+               <ctl name="ADCL Mixer LINELL Switch" value="1" />
+               <ctl name="ADCL Mixer LINERL Switch" value="1" />
+               <ctl name="ADCR Mixer MIC1R Switch" value="1" />
+               <ctl name="ADCR Mixer MIC2R Switch" value="0" />
+               <ctl name="ADCR Mixer LINELR Switch" value="0" />
+               <ctl name="ADCR Mixer LINERR Switch" value="0" />
+               <ctl name="MIC2 MIC2 On" value="0" />
+               <ctl name="MIC1 MIC1 On" value="1" />
+               <ctl name="LINEIN LINEIN On" value="1" />
+       </path>
+
+       <path name="dev-dual-both_mono-mic">
+               <ctl name="ADCL Mixer MIC1L Switch" value="1" />
+               <ctl name="ADCL Mixer MIC2L Switch" value="0" />
+               <ctl name="ADCL Mixer LINELL Switch" value="1" />
+               <ctl name="ADCL Mixer LINERL Switch" value="0" />
+               <ctl name="ADCR Mixer MIC1R Switch" value="0" />
+               <ctl name="ADCR Mixer MIC2R Switch" value="0" />
+               <ctl name="ADCR Mixer LINELR Switch" value="0" />
+               <ctl name="ADCR Mixer LINERR Switch" value="0" />
+               <ctl name="MIC2 MIC2 On" value="0" />
+               <ctl name="MIC1 MIC1 On" value="1" />
+               <ctl name="LINEIN LINEIN On" value="1" />
+       </path>
+
+       <path name="dev-headset-mic">
+               <ctl name="ADCL Mixer MIC1L Switch" value="0" />
+               <ctl name="ADCL Mixer MIC2L Switch" value="1" />
+               <ctl name="ADCL Mixer LINELL Switch" value="0" />
+               <ctl name="ADCL Mixer LINERL Switch" value="0" />
+               <ctl name="ADCR Mixer MIC1R Switch" value="0" />
+               <ctl name="ADCR Mixer MIC2R Switch" value="1" />
+               <ctl name="ADCR Mixer LINELR Switch" value="0" />
+               <ctl name="ADCR Mixer LINERR Switch" value="0" />
+               <ctl name="LINEIN LINEIN On" value="0" />
+               <ctl name="MIC1 MIC1 On" value="0" />
+               <ctl name="MIC2 MIC2 On" value="1" />
+       </path>
+
+       <path name="dev-fm-input">
+               <ctl name="ADCL Mixer MIC1L Switch" value="0" />
+               <ctl name="ADCL Mixer MIC2L Switch" value="0" />
+               <ctl name="ADCL Mixer LINELL Switch" value="1" />
+               <ctl name="ADCL Mixer LINERL Switch" value="0" />
+               <ctl name="ADCR Mixer MIC1R Switch" value="0" />
+               <ctl name="ADCR Mixer MIC2R Switch" value="0" />
+               <ctl name="ADCR Mixer LINELR Switch" value="1" />
+               <ctl name="ADCR Mixer LINERR Switch" value="0" />
+               <ctl name="MIC2 MIC2 On" value="0" />
+               <ctl name="MIC1 MIC1 On" value="0" />
+               <ctl name="LINEIN LINEIN On" value="1" />
+       </path>
+
+       <path name="dev-codec-in-disable">
+               <ctl name="ADCL Mixer MIC1L Switch" value="0" />
+               <ctl name="ADCL Mixer MIC2L Switch" value="0" />
+               <ctl name="ADCL Mixer LINELL Switch" value="0" />
+               <ctl name="ADCL Mixer LINERL Switch" value="0" />
+               <ctl name="ADCR Mixer MIC1R Switch" value="0" />
+               <ctl name="ADCR Mixer MIC2R Switch" value="0" />
+               <ctl name="ADCR Mixer LINELR Switch" value="0" />
+               <ctl name="ADCR Mixer LINERR Switch" value="0" />
+               <ctl name="MIC2 MIC2 On" value="0" />
+               <ctl name="LINEIN LINEIN On" value="0" />
+               <ctl name="MIC1 MIC1 On" value="0" />
+       </path>
+
+       <path name="dev-bt-mic">
+               <path name="dev-codec-in-disable" />
+       </path>
+
+       <!-- call volume index -->
+       <!-- TODO: Currently this is dummy, need to check later -->
+       <path name="call_nb_volume_index">
+       </path>
+
+       <path name="call_wb_volume_index">
+       </path>
+
+       <!-- Output stage -->
+       <!-- media playback -->
+       <path name="media-handset">
+               <path name="route-ap-tx" />
+               <path name="dev-handset" />
+       </path>
+
+       <path name="media-speaker">
+               <path name="route-ap-tx" />
+               <path name="dev-speaker" />
+       </path>
+
+       <path name="media-headset">
+               <path name="route-ap-tx" />
+               <ctl name="Chargepump Mode" value="VDD" />
+               <ctl name="DNC Max Gain" value="6" />
+               <path name="dev-headset" />
+       </path>
+
+       <path name="media-headphone">
+               <path name="media-headset" />
+       </path>
+
+       <path name="media-speaker-headset">
+               <path name="route-ap-tx" />
+               <path name="dev-speaker-headset" />
+       </path>
+
+       <path name="media-bt-sco-headset">
+               <path name="route-ap-bt" />
+               <path name="dev-bt-headset" />
+       </path>
+
+       <path name="media-speaker-bt-sco-headset">
+               <path name="route-ap-bt" />
+               <path name="dev-bt-headset-speaker" />
+       </path>
+
+       <!-- Ringtone playback -->
+       <path name="ringtone-handset">
+               <path name="media-handset" />
+       </path>
+
+       <path name="ringtone-speaker">
+               <path name="media-speaker" />
+       </path>
+
+       <path name="ringtone-headset">
+               <path name="media-headset" />
+       </path>
+
+       <path name="ringtone-speaker-headset">
+               <path name="media-speaker-headset" />
+       </path>
+
+       <path name="ringtone-bt-sco-headset">
+               <path name="media-bt-sco-headset" />
+       </path>
+
+       <path name="ringtone-speaker-bt-sco-headset">
+               <path name="media-speaker-bt-sco-headset" />
+       </path>
+
+       <!-- Communication playback -->
+       <path name="communication-handset">
+               <path name="media-handset" />
+       </path>
+
+       <path name="communication-speaker">
+               <path name="media-speaker" />
+       </path>
+
+       <path name="communication-headset">
+               <path name="media-headset" />
+               <ctl name="Chargepump Mode" value="VDD" />
+               <ctl name="DNC Max Gain" value="9" />
+       </path>
+
+       <path name="communication-headphone">
+               <path name="communication-headset" />
+               <ctl name="Chargepump Mode" value="VDD" />
+               <ctl name="DNC Max Gain" value="9" />
+       </path>
+
+       <path name="communication-bt-sco-headset">
+               <path name="media-bt-sco-headset" />
+       </path>
+
+       <!-- samsung voip playback -->
+       <path name="samsung_voip-handset">
+               <path name="media-handset" />
+       </path>
+
+       <path name="samsung_voip-speaker">
+               <path name="communication-speaker" />
+       </path>
+
+       <path name="samsung_voip-headset">
+               <path name="communication-headset" />
+       </path>
+
+       <path name="samsung_voip-headphone">
+               <path name="communication-headset" />
+       </path>
+
+       <path name="samsung_voip-bt-sco-headset">
+               <path name="media-bt-sco-headset" />
+       </path>
+
+       <!-- voip playback -->
+       <path name="voip-handset">
+               <path name="media-handset" />
+       </path>
+
+       <path name="voip-speaker">
+               <path name="communication-speaker" />
+       </path>
+
+       <path name="voip-headset">
+               <path name="communication-headset" />
+               <ctl name="Chargepump Mode" value="VDD" />
+               <ctl name="DNC Max Gain" value="9" />
+       </path>
+
+       <path name="voip-headphone">
+               <path name="communication-headset" />
+               <ctl name="Chargepump Mode" value="VDD" />
+               <ctl name="DNC Max Gain" value="9" />
+       </path>
+
+       <path name="voip-bt-sco-headset">
+               <path name="media-bt-sco-headset" />
+       </path>
+
+       <!-- Wificall playback -->
+       <path name="wificall_wb-handset">
+               <path name="media-handset" />
+       </path>
+
+       <path name="wificall_wb-speaker">
+               <path name="media-speaker" />
+       </path>
+
+       <path name="wificall_wb-headset">
+               <path name="media-headset" />
+       </path>
+
+       <path name="wificall_wb-headphone">
+               <path name="communication-headset" />
+       </path>
+
+       <path name="wificall_wb-bt-sco-headset">
+               <path name="media-bt-sco-headset" />
+       </path>
+
+       <path name="wificall_nb-handset">
+               <path name="media-handset" />
+       </path>
+
+       <path name="wificall_nb-speaker">
+               <path name="media-speaker" />
+       </path>
+
+       <path name="wificall_nb-headset">
+               <path name="media-headset" />
+       </path>
+
+       <path name="wificall_nb-headphone">
+               <path name="communication-headset" />
+       </path>
+
+       <path name="wificall_nb-bt-sco-headset">
+               <path name="media-bt-sco-headset" />
+       </path>
+
+       <path name="wificall_wb_extra_vol-handset">
+               <path name="media-handset" />
+       </path>
+
+       <path name="wificall_wb_extra_vol-speaker">
+               <path name="media-speaker" />
+       </path>
+
+       <path name="wificall_wb_extra_vol-headset">
+               <path name="media-headset" />
+       </path>
+
+       <path name="wificall_wb_extra_vol-headphone">
+               <path name="communication-headset" />
+       </path>
+
+       <path name="wificall_wb_extra_vol-bt-sco-headset">
+               <path name="media-bt-sco-headset" />
+       </path>
+
+       <path name="wificall_nb_extra_vol-handset">
+               <path name="media-handset" />
+       </path>
+
+       <path name="wificall_nb_extra_vol-speaker">
+               <path name="media-speaker" />
+       </path>
+
+       <path name="wificall_nb_extra_vol-headset">
+               <path name="media-headset" />
+       </path>
+
+       <path name="wificall_nb_extra_vol-headphone">
+               <path name="communication-headset" />
+       </path>
+
+       <path name="wificall_nb_extra_vol-bt-sco-headset">
+               <path name="media-bt-sco-headset" />
+       </path>
+
+       <!-- Video call playback -->
+       <path name="video_call-handset">
+               <path name="media-handset" />
+       </path>
+
+       <path name="video_call-speaker">
+               <path name="communication-speaker" />
+       </path>
+
+       <path name="video_call-headset">
+               <path name="communication-headset" />
+       </path>
+
+       <path name="video_call-headphone">
+               <path name="communication-headset" />
+       </path>
+
+       <path name="video_call-bt-sco-headset">
+               <path name="media-bt-sco-headset" />
+       </path>
+
+       <!-- VoLTE AP playback -->
+       <!-- VoLTE AP NB -->
+       <path name="volte_vt_ap_nb-handset">
+               <path name="media-handset" />
+       </path>
+
+       <path name="volte_vt_ap_nb-speaker">
+               <path name="communication-speaker" />
+       </path>
+
+       <path name="volte_vt_ap_nb-headset">
+               <path name="communication-headset" />
+       </path>
+
+       <path name="volte_vt_ap_nb-headphone">
+               <path name="communication-headset" />
+       </path>
+
+       <path name="volte_vt_ap_nb-bt-sco-headset">
+               <path name="media-bt-sco-headset" />
+       </path>
+
+       <!-- VoLTE AP WB -->
+       <path name="volte_vt_ap_wb-handset">
+               <path name="media-handset" />
+       </path>
+
+       <path name="volte_vt_ap_wb-speaker">
+               <path name="communication-speaker" />
+       </path>
+
+       <path name="volte_vt_ap_wb-headset">
+               <path name="communication-headset" />
+       </path>
+
+       <path name="volte_vt_ap_wb-headphone">
+               <path name="communication-headset" />
+       </path>
+
+       <path name="volte_vt_ap_wb-bt-sco-headset">
+               <path name="media-bt-sco-headset" />
+       </path>
+
+       <!-- CP Call Output -->
+       <!-- NB -->
+       <path name="incall_nb-handset">
+               <path name="route-cp" />
+               <path name="dev-handset" />
+       </path>
+
+       <path name="incall_nb-speaker">
+               <path name="route-cp" />
+               <path name="dev-speaker" />
+       </path>
+
+       <path name="incall_nb-headset">
+               <path name="route-cp" />
+               <path name="dev-headset" />
+               <ctl name="Chargepump Mode" value="VDD" />
+               <ctl name="DNC Max Gain" value="9" />
+       </path>
+
+       <path name="incall_nb-headphone">
+               <path name="incall_nb-headset" />
+               <ctl name="Chargepump Mode" value="VDD" />
+               <ctl name="DNC Max Gain" value="9" />
+       </path>
+
+       <path name="incall_nb-bt-sco-headset">
+               <path name="route-cp-bt" />
+               <path name="dev-bt-headset" />
+       </path>
+
+       <!-- NB/HANDOVER -->
+       <path name="incall_nb_handover-handset">
+               <path name="incall_nb-handset" />
+       </path>
+
+       <path name="incall_nb_handover-speaker">
+               <path name="incall_nb-speaker" />
+       </path>
+
+       <!-- NB/EXTRA_VOL -->
+       <path name="incall_nb_extra_vol-handset">
+               <path name="incall_nb-handset" />
+       </path>
+
+       <path name="incall_nb_extra_vol-speaker">
+               <path name="incall_nb-speaker" />
+       </path>
+
+       <!-- NB/EXTRA_VOL/HANDOVER -->
+       <path name="incall_nb_extra_vol_handover-handset">
+               <path name="incall_nb-handset" />
+       </path>
+
+       <path name="incall_nb_extra_vol_handover-speaker">
+               <path name="incall_nb-speaker" />
+       </path>
+
+       <!-- WB -->
+       <path name="incall_wb-handset">
+               <path name="incall_nb-handset" />
+       </path>
+
+       <path name="incall_wb-speaker">
+               <path name="incall_nb-speaker" />
+       </path>
+
+       <path name="incall_wb-headset">
+               <path name="incall_nb-headset" />
+               <ctl name="Chargepump Mode" value="VDD" />
+               <ctl name="DNC Max Gain" value="9" />
+       </path>
+
+       <path name="incall_wb-headphone">
+               <path name="incall_nb-headphone" />
+               <ctl name="Chargepump Mode" value="VDD" />
+               <ctl name="DNC Max Gain" value="9" />
+       </path>
+
+       <path name="incall_wb-bt-sco-headset">
+               <path name="incall_nb-bt-sco-headset" />
+       </path>
+
+       <!-- WB/EXTRA_VOL -->
+       <path name="incall_wb_extra_vol-handset">
+               <path name="incall_wb-handset" />
+       </path>
+
+       <path name="incall_wb_extra_vol-speaker">
+               <path name="incall_wb-speaker" />
+       </path>
+
+       <!-- VoLTE CP playback -->
+       <!-- VoLTE CP NB -->
+       <path name="volte_cp_nb-handset">
+               <path name="incall_nb-handset" />
+       </path>
+
+       <path name="volte_cp_nb-speaker">
+               <path name="incall_nb-speaker" />
+       </path>
+
+       <path name="volte_cp_nb-headset">
+               <path name="incall_nb-headset" />
+       </path>
+
+       <path name="volte_cp_nb-headphone">
+               <path name="incall_nb-headphone" />
+       </path>
+
+       <path name="volte_cp_nb-bt-sco-headset">
+               <path name="incall_nb-bt-sco-headset" />
+       </path>
+
+       <!-- VoLTE CP NB/HANDOVER -->
+       <path name="volte_cp_nb_handover-handset">
+               <path name="incall_nb-handset" />
+       </path>
+
+       <path name="volte_cp_nb_handover-speaker">
+               <path name="incall_nb-speaker" />
+       </path>
+
+       <!-- VoLTE CP NB/EXTRA_VOL -->
+       <path name="volte_cp_nb_extra_vol-handset">
+               <path name="incall_nb-handset" />
+       </path>
+
+       <path name="volte_cp_nb_extra_vol-speaker">
+               <path name="incall_nb-speaker" />
+       </path>
+
+       <!-- VoLTE CP NB/EXTRA_VOL/HANDOVER -->
+       <path name="volte_cp_nb_extra_vol_handover-handset">
+               <path name="incall_nb-handset" />
+       </path>
+
+       <path name="volte_cp_nb_extra_vol_handover-speaker">
+               <path name="incall_nb-speaker" />
+       </path>
+
+       <!-- VoLTE VT CP NB -->
+       <path name="volte_vt_cp_nb-handset">
+               <path name="incall_nb-handset" />
+       </path>
+
+       <path name="volte_vt_cp_nb-speaker">
+               <path name="incall_nb-speaker" />
+       </path>
+
+       <path name="volte_vt_cp_nb-headset">
+               <path name="incall_nb-headset" />
+       </path>
+
+       <path name="volte_vt_cp_nb-headphone">
+               <path name="incall_nb-headphone" />
+       </path>
+
+       <path name="volte_vt_cp_nb-bt-sco-headset">
+               <path name="incall_nb-bt-sco-headset" />
+       </path>
+
+       <!-- VoLTE CP WB -->
+       <path name="volte_cp_wb-handset">
+               <path name="incall_wb-handset" />
+       </path>
+
+       <path name="volte_cp_wb-speaker">
+               <path name="incall_wb-speaker" />
+       </path>
+
+       <path name="volte_cp_wb-headset">
+               <path name="incall_wb-headset" />
+       </path>
+
+       <path name="volte_cp_wb-headphone">
+               <path name="incall_wb-headphone" />
+       </path>
+
+       <path name="volte_cp_wb-bt-sco-headset">
+               <path name="incall_wb-bt-sco-headset" />
+       </path>
+
+       <!-- VoLTE CP WB/EXTRA_VOL -->
+       <path name="volte_cp_wb_extra_vol-handset">
+               <path name="incall_wb-handset" />
+       </path>
+
+       <path name="volte_cp_wb_extra_vol-speaker">
+               <path name="incall_wb-speaker" />
+       </path>
+
+       <!-- VoLTE VT CP WB -->
+       <path name="volte_vt_cp_wb-handset">
+               <path name="incall_wb-handset" />
+       </path>
+
+       <path name="volte_vt_cp_wb-speaker">
+               <path name="incall_wb-speaker" />
+       </path>
+
+       <path name="volte_vt_cp_wb-headset">
+               <path name="incall_wb-headset" />
+       </path>
+
+       <path name="volte_vt_cp_wb-headphone">
+               <path name="incall_wb-headphone" />
+       </path>
+
+       <path name="volte_vt_cp_wb-bt-sco-headset">
+               <path name="incall_wb-bt-sco-headset" />
+       </path>
+
+       <!-- Loopback (no delay) -->
+       <path name="loopback-headset">
+               <path name="route-cp" />
+               <path name="dev-headset" />
+       </path>
+
+       <!-- Packet Loopback -->
+       <path name="loopback_packet-handset">
+               <path name="route-cp" />
+               <path name="dev-handset" />
+       </path>
+
+       <path name="loopback_packet-speaker">
+               <path name="route-cp" />
+               <path name="dev-speaker" />
+       </path>
+
+       <path name="loopback_packet-headset">
+               <path name="route-cp" />
+               <path name="dev-headset" />
+       </path>
+
+       <!-- TTY Mode -->
+       <path name="tty_mode-handset">
+               <path name="media-handset" />
+       </path>
+
+       <path name="tty_mode-headset">
+               <path name="media-headset" />
+       </path>
+
+       <!-- call forwarding output -->
+       <path name="call_forwarding_master">
+               <ctl name="S2801 Mixer En" value="On" />
+               <ctl name="S2801 SRC2 En" value="On" />
+               <ctl name="S2801 CH1 Mixer En" value="On" />
+               <ctl name="S2801 CH2 DOUT Select" value="DMIX_OUT" />
+       </path>
+
+       <path name="call_forwarding_slave-handset">
+               <path name="communication-handset" />
+       </path>
+
+       <path name="call_forwarding_slave-speaker">
+               <path name="communication-speaker" />
+       </path>
+
+       <path name="call_forwarding_slave-headset">
+               <path name="communication-headset" />
+       </path>
+
+       <path name="call_forwarding_slave-headphone">
+               <path name="communication-headphone" />
+       </path>
+
+       <path name="call_forwarding_slave-bt-sco-headset">
+               <path name="communication-bt-sco-headset" />
+       </path>
+
+       <!-- Input stage -->
+       <!-- media input -->
+       <path name="main-mic">
+               <path name="route-ap-rx" />
+               <path name="dev-main-mic" />
+       </path>
+
+       <path name="media-mic">
+               <path name="route-ap-rx" />
+               <path name="dev-main-mic" />
+       </path>
+
+       <path name="media-second-mic">
+               <path name="main-mic" />
+       </path>
+
+       <path name="media-headset-mic">
+               <path name="route-ap-rx" />
+               <path name="dev-headset-mic" />
+       </path>
+
+       <path name="media-headphone-mic">
+               <path name="media-mic" />
+       </path>
+
+       <path name="media-bt-sco-headset-in">
+               <path name="route-ap-bt" />
+               <path name="dev-bt-mic" />
+       </path>
+
+       <!-- camcorder input -->
+       <path name="camcorder-mic-oe">
+               <path name="route-ap-rx" />
+               <path name="dev-dual-main_right-2nd_left-mic" />
+       </path>
+
+       <path name="camcorder-headset-mic">
+               <path name="media-headset-mic" />
+       </path>
+
+       <path name="camcorder-headphone-mic">
+               <path name="camcorder-mic-oe" />
+       </path>
+
+       <!-- voice input -->
+       <path name="recording-mic">
+               <path name="media-mic" />
+       </path>
+
+       <path name="recording-headset-mic">
+               <path name="media-headset-mic" />
+       </path>
+
+       <path name="recording-headphone-mic">
+               <path name="media-mic" />
+       </path>
+
+       <path name="recording-bt-sco-headset-in">
+               <path name="media-bt-sco-headset-in" />
+       </path>
+
+       <!-- jam voice input -->
+       <path name="recording-jam-mic">
+               <path name="media-mic" />
+       </path>
+
+       <path name="recording-jam-headset-mic">
+               <path name="media-headset-mic" />
+       </path>
+
+       <!-- interview input -->
+       <path name="interview-mic">
+               <path name="route-ap-rx" />
+               <path name="dev-dual-main_left-2nd_right-mic" />
+       </path>
+
+       <!-- meeting input -->
+       <path name="meeting-mic">
+               <path name="route-ap-rx" />
+               <path name="dev-dual-main_left-2nd_right-mic" />
+       </path>
+
+       <!-- lpsd control input -->
+       <path name="lpsd_control-mic">
+               <path name="media-mic" />
+       </path>
+
+       <!-- voice control input -->
+       <path name="voice_control-mic">
+               <path name="route-ap-rx" />
+               <path name="dev-dual-main_left-2nd_right-mic" />
+       </path>
+
+       <!-- recognition input -->
+       <path name="recognition-mic">
+               <path name="media-mic" />
+       </path>
+
+       <path name="recognition-headset-mic">
+               <path name="media-headset-mic" />
+       </path>
+
+       <path name="recognition-headphone-mic">
+               <path name="media-mic" />
+       </path>
+
+       <path name="recognition-bt-sco-headset-in">
+               <path name="media-bt-sco-headset-in" />
+       </path>
+
+       <!-- bargein samsung input -->
+       <path name="bargein_samsung_engine-mic">
+               <path name="media-mic" />
+       </path>
+
+       <path name="bargein_samsung_engine-headset-mic">
+               <path name="media-headset-mic" />
+       </path>
+
+       <path name="bargein_samsung_engine-bt-sco-headset-in">
+               <path name="media-bt-sco-headset-in" />
+       </path>
+
+       <!-- bargein external input -->
+       <path name="bargein_external_engine-mic">
+               <path name="media-mic" />
+       </path>
+
+       <path name="bargein_external_engine-headset-mic">
+               <path name="media-headset-mic" />
+       </path>
+
+       <path name="bargein_external_engine-bt-sco-headset-in">
+               <path name="media-bt-sco-headset-in" />
+       </path>
+
+       <!-- svoice/carmode samsung input -->
+       <path name="dualmic_samsung_engine-mic">
+               <path name="route-ap-rx" />
+               <path name="dev-dual-main_left-2nd_right-mic" />
+       </path>
+
+       <path name="dualmic_samsung_engine-headset-mic">
+               <path name="media-headset-mic" />
+       </path>
+
+       <path name="dualmic_samsung_engine-bt-sco-headset-in">
+               <path name="media-bt-sco-headset-in" />
+       </path>
+
+       <!-- svoice/carmode external input -->
+       <path name="dualmic_external_engine-mic">
+               <path name="dualmic_samsung_engine-mic" />
+       </path>
+
+       <path name="dualmic_external_engine-headset-mic">
+               <path name="dualmic_samsung_engine-headset-mic" />
+       </path>
+
+       <path name="dualmic_external_engine-bt-sco-headset-in">
+               <path name="dualmic_samsung_engine-bt-sco-headset-in" />
+       </path>
+
+       <!-- communication input -->
+       <!-- TODO: Need clarificatoin regarding whether AP or CP is active
+               during "communication" scenario -->
+       <path name="communication-handset-mic">
+               <path name="media-mic" />
+       </path>
+
+       <path name="communication-speaker-mic">
+               <path name="route-ap-rx" />
+               <path name="dev-dual-main_right-2nd_left-mic" />
+       </path>
+
+       <path name="communication-headset-mic">
+               <path name="media-headset-mic" />
+       </path>
+
+       <path name="communication-headphone-mic">
+               <path name="media-mic" />
+       </path>
+
+       <path name="communication-bt-sco-headset-in">
+               <path name="media-bt-sco-headset-in" />
+       </path>
+
+       <path name="samsung_voip-handset-mic">
+               <path name="route-ap-rx" />
+               <path name="dev-dual-main_left-2nd_right-mic" />
+       </path>
+
+       <path name="samsung_voip-speaker-mic">
+               <path name="communication-speaker-mic" />
+       </path>
+
+       <path name="samsung_voip-headset-mic">
+               <path name="communication-headset-mic" />
+       </path>
+
+       <path name="samsung_voip-headphone-mic">
+               <path name="communication-headphone-mic" />
+       </path>
+
+       <path name="samsung_voip-bt-sco-headset-in">
+               <path name="communication-bt-sco-headset-in" />
+       </path>
+
+       <!-- voip input -->
+       <path name="voip-handset-mic">
+               <path name="communication-handset-mic" />
+       </path>
+
+       <path name="voip-speaker-mic">
+               <path name="communication-speaker-mic" />
+       </path>
+
+       <path name="voip-headset-mic">
+               <path name="communication-headset-mic" />
+       </path>
+
+       <path name="voip-headphone-mic">
+               <path name="communication-headphone-mic" />
+       </path>
+
+       <path name="voip-bt-sco-headset-in">
+               <path name="communication-bt-sco-headset-in" />
+       </path>
+
+       <!-- WifiCall input -->
+       <path name="wificall_wb-handset-mic">
+               <path name="media-mic" />
+       </path>
+
+       <path name="wificall_wb-speaker-mic">
+               <path name="route-ap-rx" />
+               <path name="dev-dual-main_right-2nd_left-mic" />
+       </path>
+
+       <path name="wificall_wb-headset-mic">
+               <path name="media-headset-mic" />
+       </path>
+
+       <path name="wificall_wb-headphone-mic">
+               <path name="media-mic" />
+       </path>
+
+       <path name="wificall_wb-bt-sco-headset-in">
+               <path name="media-bt-sco-headset-in" />
+       </path>
+
+       <path name="wificall_nb-handset-mic">
+               <path name="media-mic" />
+       </path>
+
+       <path name="wificall_nb-speaker-mic">
+               <path name="route-ap-rx" />
+               <path name="dev-dual-main_right-2nd_left-mic" />
+       </path>
+
+       <path name="wificall_nb-headset-mic">
+               <path name="media-headset-mic" />
+       </path>
+
+       <path name="wificall_nb-headphone-mic">
+               <path name="media-mic" />
+       </path>
+
+       <path name="wificall_nb-bt-sco-headset-in">
+               <path name="media-bt-sco-headset-in" />
+       </path>
+
+       <path name="wificall_wb_extra_vol-handset-mic">
+               <path name="media-mic" />
+       </path>
+
+       <path name="wificall_wb_extra_vol-speaker-mic">
+               <path name="route-ap-rx" />
+               <path name="dev-dual-main_right-2nd_left-mic" />
+       </path>
+
+       <path name="wificall_wb_extra_vol-headset-mic">
+               <path name="media-headset-mic" />
+       </path>
+
+       <path name="wificall_wb_extra_vol-headphone-mic">
+               <path name="media-mic" />
+       </path>
+
+       <path name="wificall_wb_extra_vol-bt-sco-headset-in">
+               <path name="media-bt-sco-headset-in" />
+       </path>
+
+       <path name="wificall_nb_extra_vol-handset-mic">
+               <path name="media-mic" />
+       </path>
+
+       <path name="wificall_nb_extra_vol-speaker-mic">
+               <path name="route-ap-rx" />
+               <path name="dev-dual-main_right-2nd_left-mic" />
+       </path>
+
+       <path name="wificall_nb_extra_vol-headset-mic">
+               <path name="media-headset-mic" />
+       </path>
+
+       <path name="wificall_nb_extra_vol-headphone-mic">
+               <path name="media-mic" />
+       </path>
+
+       <path name="wificall_nb_extra_vol-bt-sco-headset-in">
+               <path name="media-bt-sco-headset-in" />
+       </path>
+
+       <!-- Video call input -->
+       <path name="video_call-handset-mic">
+               <path name="media-mic" />
+       </path>
+
+       <path name="video_call-speaker-mic">
+               <path name="communication-speaker-mic" />
+       </path>
+
+       <path name="video_call-headset-mic">
+               <path name="media-headset-mic" />
+       </path>
+
+       <path name="video_call-headphone-mic">
+               <path name="media-mic" />
+       </path>
+
+       <path name="video_call-bt-sco-headset-in">
+               <path name="media-bt-sco-headset-in" />
+       </path>
+
+       <!-- VoLTE AP input -->
+       <!-- VoLTE AP NB -->
+       <path name="volte_vt_ap_nb-handset-mic">
+               <path name="media-mic" />
+       </path>
+
+       <path name="volte_vt_ap_nb-speaker-mic">
+               <path name="communication-speaker-mic" />
+       </path>
+
+       <path name="volte_vt_ap_nb-headset-mic">
+               <path name="media-headset-mic" />
+       </path>
+
+       <path name="volte_vt_ap_nb-headphone-mic">
+               <path name="media-mic" />
+       </path>
+
+       <path name="volte_vt_ap_nb-bt-sco-headset-in">
+               <path name="media-bt-sco-headset-in" />
+       </path>
+
+       <!-- VoLTE AP WB -->
+       <path name="volte_vt_ap_wb-handset-mic">
+               <path name="media-mic" />
+       </path>
+
+       <path name="volte_vt_ap_wb-speaker-mic">
+               <path name="communication-speaker-mic" />
+       </path>
+
+       <path name="volte_vt_ap_wb-headset-mic">
+               <path name="media-headset-mic" />
+       </path>
+
+       <path name="volte_vt_ap_wb-headphone-mic">
+               <path name="media-mic" />
+       </path>
+
+       <path name="volte_vt_ap_wb-bt-sco-headset-in">
+               <path name="media-bt-sco-headset-in" />
+       </path>
+
+       <!-- CP Call input -->
+       <!-- NB -->
+       <path name="incall_nb-handset-mic">
+               <path name="route-cp" />
+               <path name="dev-dual-main_left-2nd_right-mic" />
+       </path>
+
+       <path name="incall_nb-speaker-mic">
+               <path name="route-cp" />
+               <path name="dev-dual-main_right-2nd_left-mic" />
+       </path>
+
+       <path name="incall_nb-headset-mic">
+               <path name="route-cp" />
+               <path name="dev-headset-mic" />
+       </path>
+
+       <path name="incall_nb-headphone-mic">
+               <path name="route-cp" />
+               <path name="dev-main-mic" />
+       </path>
+
+       <path name="incall_nb-bt-sco-headset-in">
+               <path name="route-cp-bt" />
+               <path name="dev-bt-mic" />
+       </path>
+
+       <!-- NB/HANDOVER -->
+       <path name="incall_nb_handover-handset-mic">
+               <path name="incall_nb-handset-mic" />
+       </path>
+
+       <path name="incall_nb_handover-speaker-mic">
+               <path name="incall_nb-speaker-mic" />
+       </path>
+
+       <!-- NB/EXTRA_VOL -->
+       <path name="incall_nb_extra_vol-handset-mic">
+               <path name="incall_nb-handset-mic" />
+       </path>
+
+       <path name="incall_nb_extra_vol-speaker-mic">
+               <path name="incall_nb-speaker-mic" />
+       </path>
+
+       <!-- NB/EXTRA_VOL/HANDOVER -->
+       <path name="incall_nb_extra_vol_handover-handset-mic">
+               <path name="incall_nb-handset-mic" />
+       </path>
+
+       <path name="incall_nb_extra_vol_handover-speaker-mic">
+               <path name="incall_nb-speaker-mic" />
+       </path>
+
+       <!-- WB -->
+       <path name="incall_wb-handset-mic">
+               <path name="incall_nb-handset-mic" />
+       </path>
+
+       <path name="incall_wb-speaker-mic">
+               <path name="incall_nb-speaker-mic" />
+       </path>
+
+       <path name="incall_wb-headset-mic">
+               <path name="incall_nb-headset-mic" />
+       </path>
+
+       <path name="incall_wb-headphone-mic">
+               <path name="incall_nb-headphone-mic" />
+       </path>
+
+       <path name="incall_wb-bt-sco-headset-in">
+               <path name="incall_nb-bt-sco-headset-in" />
+       </path>
+
+       <!-- WB/EXTRA_VOL -->
+       <path name="incall_wb_extra_vol-handset-mic">
+               <path name="incall_wb-handset-mic" />
+       </path>
+
+       <path name="incall_wb_extra_vol-speaker-mic">
+               <path name="incall_wb-speaker-mic" />
+       </path>
+
+       <!-- VoLTE CP input -->
+       <!-- VoLTE CP NB -->
+       <path name="volte_cp_nb-handset-mic">
+               <path name="incall_nb-handset-mic" />
+       </path>
+
+       <path name="volte_cp_nb-speaker-mic">
+               <path name="incall_nb-speaker-mic" />
+       </path>
+
+       <path name="volte_cp_nb-headset-mic">
+               <path name="incall_nb-headset-mic" />
+       </path>
+
+       <path name="volte_cp_nb-headphone-mic">
+               <path name="incall_nb-headphone-mic" />
+       </path>
+
+       <path name="volte_cp_nb-bt-sco-headset-in">
+               <path name="incall_nb-bt-sco-headset-in" />
+       </path>
+
+       <!-- VoLTE CP NB/HANDOVER -->
+       <path name="volte_cp_nb_handover-handset-mic">
+               <path name="incall_nb-handset-mic" />
+       </path>
+
+       <path name="volte_cp_nb_handover-speaker-mic">
+               <path name="incall_nb-speaker-mic" />
+       </path>
+
+       <!-- VoLTE CP NB/EXTRA_VOL-->
+       <path name="volte_cp_nb_extra_vol-handset-mic">
+               <path name="incall_nb-handset-mic" />
+       </path>
+
+       <path name="volte_cp_nb_extra_vol-speaker-mic">
+               <path name="incall_nb-speaker-mic" />
+       </path>
+
+       <!-- VoLTE CP NB/EXTRA_VOL/HANDOVER -->
+       <path name="volte_cp_nb_extra_vol_handover-handset-mic">
+               <path name="incall_nb-handset-mic" />
+       </path>
+
+       <path name="volte_cp_nb_extra_vol_handover-speaker-mic">
+               <path name="incall_nb-speaker-mic" />
+       </path>
+
+       <!-- VoLTE VT CP NB-->
+       <path name="volte_vt_cp_nb-handset-mic">
+               <path name="incall_nb-handset-mic" />
+       </path>
+
+       <path name="volte_vt_cp_nb-speaker-mic">
+               <path name="incall_nb-speaker-mic" />
+       </path>
+
+       <path name="volte_vt_cp_nb-headset-mic">
+               <path name="incall_nb-headset-mic" />
+       </path>
+
+       <path name="volte_vt_cp_nb-headphone-mic">
+               <path name="incall_nb-headphone-mic" />
+       </path>
+
+       <path name="volte_vt_cp_nb-bt-sco-headset-in">
+               <path name="incall_nb-bt-sco-headset-in" />
+       </path>
+
+       <!-- VoLTE CP WB -->
+       <path name="volte_cp_wb-handset-mic">
+               <path name="incall_wb-handset-mic" />
+       </path>
+
+       <path name="volte_cp_wb-speaker-mic">
+               <path name="incall_wb-speaker-mic" />
+       </path>
+
+       <path name="volte_cp_wb-headset-mic">
+               <path name="incall_wb-headset-mic" />
+       </path>
+
+       <path name="volte_cp_wb-headphone-mic">
+               <path name="incall_wb-headphone-mic" />
+       </path>
+
+       <path name="volte_cp_wb-bt-sco-headset-in">
+               <path name="incall_wb-bt-sco-headset-in" />
+       </path>
+
+       <!-- VoLTE CP WB/EXTRA_VOL -->
+       <path name="volte_cp_wb_extra_vol-handset-mic">
+               <path name="incall_wb-handset-mic" />
+       </path>
+
+       <path name="volte_cp_wb_extra_vol-speaker-mic">
+               <path name="incall_wb-speaker-mic" />
+       </path>
+
+       <!-- VoLTE VT CP WB -->
+       <path name="volte_vt_cp_wb-handset-mic">
+               <path name="incall_wb-handset-mic" />
+       </path>
+
+       <path name="volte_vt_cp_wb-speaker-mic">
+               <path name="incall_wb-speaker-mic" />
+       </path>
+
+       <path name="volte_vt_cp_wb-headset-mic">
+               <path name="incall_wb-headset-mic" />
+       </path>
+
+       <path name="volte_vt_cp_wb-headphone-mic">
+               <path name="incall_wb-headphone-mic" />
+       </path>
+
+       <path name="volte_vt_cp_wb-bt-sco-headset-in">
+               <path name="incall_wb-bt-sco-headset-in" />
+       </path>
+
+       <!-- Loopback Input (no delay) -->
+       <path name="loopback-mic">
+               <path name="route-cp" />
+               <path name="dev-main-mic" />
+       </path>
+
+       <path name="loopback-2nd-mic">
+               <path name="route-cp" />
+               <path name="dev-2nd-mic" />
+       </path>
+
+       <!-- Packet Loopback Input -->
+       <path name="loopback_packet-mic">
+               <path name="route-cp" />
+               <path name="dev-main-mic" />
+       </path>
+
+       <path name="loopback_packet-2nd-mic">
+               <path name="route-cp" />
+               <path name="dev-2nd-mic" />
+       </path>
+
+       <path name="loopback_packet-3rd-mic">
+       </path>
+
+       <path name="loopback_packet-headset-mic">
+               <path name="route-cp" />
+               <path name="dev-headset-mic" />
+       </path>
+
+       <path name="loopback_packet-handset-dualmic">
+               <path name="route-cp" />
+               <path name="dev-dual-main_left-2nd_right-mic" />
+       </path>
+
+       <path name="loopback_packet-speaker-dualmic">
+               <path name="route-cp" />
+               <path name="dev-dual-main_right-2nd_left-mic" />
+       </path>
+
+       <!-- TTY Mode Input -->
+       <path name="tty_mode-hco-mic">
+               <path name="route-ap-rx" />
+               <path name="dev-main-mic" />
+       </path>
+
+       <path name="tty_mode-full-mic">
+               <path name="route-ap-rx" />
+               <path name="dev-headset-mic" />
+       </path>
+
+       <path name="tty_mode-vco-mic">
+               <path name="route-ap-rx" />
+               <path name="dev-headset-mic" />
+       </path>
+
+       <!-- echo(rms) test input -->
+       <path name="echo_test-mic">
+               <path name="media-mic" />
+       </path>
+
+       <path name="echo_test-2nd-mic">
+               <path name="route-ap-rx" />
+               <path name="dev-2nd-mic" />
+       </path>
+
+       <path name="echo_test-3rd-mic">
+       </path>
+
+       <path name="echo_test-dualmic">
+               <path name="route-ap-rx" />
+               <path name="dev-dual-main_left-2nd_right-mic" />
+       </path>
+
+       <!-- call forwarding input -->
+       <path name="call_forwarding_master-mic">
+               <ctl name="S2801 Mixer En" value="On" />
+               <ctl name="S2801 SRC2 En" value="On" />
+               <ctl name="S2801 RMIX1 En" value="On" />
+               <ctl name="S2801 RMIX2 En" value="Off" />
+               <ctl name="S2801 CH1 DOUT Select" value="RMIX_OUT" />
+       </path>
+
+       <path name="call_forwarding_slave-handset-mic">
+               <path name="communication-handset-mic" />
+       </path>
+
+       <path name="call_forwarding_slave-speaker-mic">
+               <path name="communication-speaker-mic" />
+       </path>
+
+       <path name="call_forwarding_slave-headset-mic">
+               <path name="communication-headset-mic" />
+       </path>
+
+       <path name="call_forwarding_slave-headphone-mic">
+               <path name="communication-headphone-mic" />
+       </path>
+
+       <path name="call_forwarding_slave-bt-sco-headset-in">
+               <path name="communication-bt-sco-headset-in" />
+       </path>
+
+       <!-- One byte control -->
+       <path name="seamless_buf_offset">
+       </path>
+
+       <!-- FM Playback/Recording -->
+       <path name="fm_radio-speaker" >
+               <path name="route-ap-fm-tx" />
+               <path name="dev-speaker" />
+       </path>
+
+       <path name="fm_radio-speaker-headset" >
+               <path name="route-ap-fm-tx" />
+               <path name="dev-speaker" />
+               <path name="dev-headset" />
+       </path>
+
+       <path name="fm_radio-headset" >
+               <path name="route-ap-fm-tx" />
+               <path name="dev-headset" />
+       </path>
+
+       <path name="fm_radio-fm-recording" >
+               <path name="route-ap-fm-rx" />
+               <ctl name="S2801 CH3 Rec En" value="On" />
+       </path>
+
+       <!-- Output volume stage -->
+       <!-- media playback volume -->
+       <path name="gain-media-handset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="128" />
+               <ctl name="Earphone Volume" value="0" />
+       </path>
+
+       <path name="gain-media-speaker">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="132" />
+               <ctl name="Speaker Volume" value="0" />
+       </path>
+
+       <path name="gain-media-headset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="122" />
+       </path>
+
+       <path name="gain-media-speaker-headset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="132" />
+               <ctl name="Speaker Volume" value="0" />
+               <ctl name="Headphone Volume" value="23" />
+       </path>
+
+       <path name="gain-media-bt-sco-headset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+       </path>
+
+       <path name="gain-media-speaker-bt-sco-headset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+               <ctl name="Speaker Volume" value="3" />
+       </path>
+
+       <!-- Ringtone playback volume -->
+       <path name="gain-ringtone-handset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+               <ctl name="Earphone Volume" value="0" />
+       </path>
+
+       <path name="gain-ringtone-speaker">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+               <ctl name="Speaker Volume" value="3" />
+       </path>
+
+       <path name="gain-ringtone-headset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+       </path>
+
+       <path name="gain-ringtone-speaker-headset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+               <ctl name="Speaker Volume" value="0" />
+               <ctl name="Headphone Volume" value="21" />
+       </path>
+
+       <path name="gain-ringtone-bt-sco-headset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+       </path>
+
+       <path name="gain-ringtone-speaker-bt-sco-headset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+               <ctl name="Speaker Volume" value="3" />
+       </path>
+
+       <!-- Communication playback volume -->
+       <path name="gain-communication-handset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+               <ctl name="Earphone Volume" value="0" />
+       </path>
+
+       <path name="gain-communication-speaker">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+               <ctl name="Speaker Volume" value="4" />
+       </path>
+
+       <path name="gain-communication-headset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="117" />
+       </path>
+
+       <path name="gain-communication-headphone">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+       </path>
+
+       <path name="gain-communication-bt-sco-headset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+       </path>
+
+       <!-- samsung voip playback volume -->
+       <path name="gain-samsung_voip-handset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+               <ctl name="Earphone Volume" value="0" />
+       </path>
+
+       <path name="gain-samsung_voip-speaker">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+               <ctl name="Speaker Volume" value="3" />
+       </path>
+
+       <path name="gain-samsung_voip-headset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+       </path>
+
+       <path name="gain-samsung_voip-headphone">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+       </path>
+
+       <path name="gain-samsung_voip-bt-sco-headset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+       </path>
+
+       <!-- voip playback volume -->
+       <path name="gain-voip-handset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+               <ctl name="Earphone Volume" value="0" />
+       </path>
+
+       <path name="gain-voip-speaker">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+               <ctl name="Speaker Volume" value="4" />
+       </path>
+
+       <path name="gain-voip-headset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="117" />
+       </path>
+
+       <path name="gain-voip-headphone">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+       </path>
+
+       <path name="gain-voip-bt-sco-headset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+       </path>
+
+       <!-- Wificall wb playback volume -->
+       <path name="gain-wificall_wb-handset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+               <ctl name="Earphone Volume" value="2" />
+       </path>
+
+       <path name="gain-wificall_wb-speaker">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="118" />
+               <ctl name="Speaker Volume" value="6" />
+       </path>
+
+       <path name="gain-wificall_wb-headset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+       </path>
+
+       <path name="gain-wificall_wb-headphone">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+       </path>
+
+       <path name="gain-wificall_wb-bt-sco-headset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+       </path>
+
+       <!-- Wificall nb playback volume -->
+       <path name="gain-wificall_nb-handset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+               <ctl name="Earphone Volume" value="2" />
+       </path>
+
+       <path name="gain-wificall_nb-speaker">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="118" />
+               <ctl name="Speaker Volume" value="6" />
+       </path>
+
+       <path name="gain-wificall_nb-headset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+       </path>
+
+       <path name="gain-wificall_nb-headphone">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+       </path>
+
+       <path name="gain-wificall_nb-bt-sco-headset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+       </path>
+
+       <!-- Wificall wb extra vol playback volume -->
+       <path name="gain-wificall_wb_extra_vol-handset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+               <ctl name="Earphone Volume" value="2" />
+       </path>
+
+       <path name="gain-wificall_wb_extra_vol-speaker">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="121" />
+               <ctl name="Speaker Volume" value="6" />
+       </path>
+
+       <path name="gain-wificall_wb_extra_vol-headset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+       </path>
+
+       <path name="gain-wificall_wb_extra_vol-headphone">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+       </path>
+
+       <path name="gain-wificall_wb_extra_vol-bt-sco-headset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+       </path>
+
+       <!-- Wificall nb extra playback volume -->
+       <path name="gain-wificall_nb_extra_vol-handset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+               <ctl name="Earphone Volume" value="2" />
+       </path>
+
+       <path name="gain-wificall_nb_extra_vol-speaker">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="120" />
+               <ctl name="Speaker Volume" value="6" />
+       </path>
+
+       <path name="gain-wificall_nb_extra_vol-headset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+       </path>
+
+       <path name="gain-wificall_nb_extra_vol-headphone">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+       </path>
+
+       <path name="gain-wificall_nb_extra_vol-bt-sco-headset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+       </path>
+
+       <!-- Video call playback volume -->
+       <path name="gain-video_call-handset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+               <ctl name="Earphone Volume" value="2" />
+       </path>
+
+       <path name="gain-video_call-speaker">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="118" />
+               <ctl name="Speaker Volume" value="6" />
+       </path>
+
+       <path name="gain-video_call-headset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+       </path>
+
+       <path name="gain-video_call-headphone">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+       </path>
+
+       <path name="gain-video_call-bt-sco-headset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+       </path>
+
+       <!-- VoLTE AP NB playback volume -->
+       <path name="gain-volte_vt_ap_nb-handset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+               <ctl name="Earphone Volume" value="2" />
+       </path>
+
+       <path name="gain-volte_vt_ap_nb-speaker">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="118" />
+               <ctl name="Speaker Volume" value="6" />
+       </path>
+
+       <path name="gain-volte_vt_ap_nb-headset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+       </path>
+
+       <path name="gain-volte_vt_ap_nb-headphone">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+       </path>
+
+       <path name="gain-volte_vt_ap_nb-bt-sco-headset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+       </path>
+
+       <!-- VoLTE AP WB playback volume -->
+       <path name="gain-volte_vt_ap_wb-handset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+               <ctl name="Earphone Volume" value="2" />
+       </path>
+
+       <path name="gain-volte_vt_ap_wb-speaker">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="118" />
+               <ctl name="Speaker Volume" value="6" />
+       </path>
+
+       <path name="gain-volte_vt_ap_wb-headset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+       </path>
+
+       <path name="gain-volte_vt_ap_wb-headphone">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+       </path>
+
+       <path name="gain-volte_vt_ap_wb-bt-sco-headset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+       </path>
+
+       <!-- VoLTE CP NB playback volume -->
+       <path name="gain-volte_cp_nb-handset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="S2801 MIX2_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+               <ctl name="Earphone Volume" value="2" />
+       </path>
+
+       <path name="gain-volte_cp_nb-speaker">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="S2801 MIX2_LVL" value="0" />
+               <ctl name="DAC Gain" value="118" />
+               <ctl name="Speaker Volume" value="6" />
+       </path>
+
+       <path name="gain-volte_cp_nb-headset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="S2801 MIX2_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+       </path>
+
+       <path name="gain-volte_cp_nb-headphone">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="S2801 MIX2_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+       </path>
+
+       <path name="gain-volte_cp_nb-bt-sco-headset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="S2801 MIX2_LVL" value="0" />
+       </path>
+
+       <!-- VoLTE CP NB/HANDOVER playback volume -->
+       <path name="gain-volte_cp_nb_handover-handset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="S2801 MIX2_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+               <ctl name="Earphone Volume" value="2" />
+       </path>
+
+       <path name="gain-volte_cp_nb_handover-speaker">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="S2801 MIX2_LVL" value="0" />
+               <ctl name="DAC Gain" value="118" />
+               <ctl name="Speaker Volume" value="6" />
+       </path>
+
+       <!-- VoLTE CP NB/EXTRA_VOL playback volume -->
+       <path name="gain-volte_cp_nb_extra_vol-handset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="S2801 MIX2_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+               <ctl name="Earphone Volume" value="2" />
+       </path>
+
+       <path name="gain-volte_cp_nb_extra_vol-speaker">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="S2801 MIX2_LVL" value="0" />
+               <ctl name="DAC Gain" value="120" />
+               <ctl name="Speaker Volume" value="6" />
+       </path>
+
+       <!-- VoLTE CP NB/EXTRA_VOL/HANDOVER playback volume -->
+       <path name="gain-volte_cp_nb_extra_vol_handover-handset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="S2801 MIX2_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+               <ctl name="Earphone Volume" value="2" />
+       </path>
+
+       <path name="gain-volte_cp_nb_extra_vol_handover-speaker">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="S2801 MIX2_LVL" value="0" />
+               <ctl name="DAC Gain" value="120" />
+               <ctl name="Speaker Volume" value="6" />
+       </path>
+
+       <!-- VoLTE VT CP NB playback volume -->
+       <path name="gain-volte_vt_cp_nb-handset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="S2801 MIX2_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+               <ctl name="Earphone Volume" value="2" />
+       </path>
+
+       <path name="gain-volte_vt_cp_nb-speaker">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="S2801 MIX2_LVL" value="0" />
+               <ctl name="DAC Gain" value="118" />
+               <ctl name="Speaker Volume" value="6" />
+       </path>
+
+       <path name="gain-volte_vt_cp_nb-headset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="S2801 MIX2_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+       </path>
+
+       <path name="gain-volte_vt_cp_nb-headphone">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="S2801 MIX2_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+       </path>
+
+       <path name="gain-volte_vt_cp_nb-bt-sco-headset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="S2801 MIX2_LVL" value="0" />
+       </path>
+
+       <!-- VoLTE CP WB playback volume -->
+       <path name="gain-volte_cp_wb-handset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="S2801 MIX2_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+               <ctl name="Earphone Volume" value="2" />
+       </path>
+
+       <path name="gain-volte_cp_wb-speaker">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="S2801 MIX2_LVL" value="0" />
+               <ctl name="DAC Gain" value="118" />
+               <ctl name="Speaker Volume" value="6" />
+       </path>
+
+       <path name="gain-volte_cp_wb-headset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="S2801 MIX2_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+       </path>
+
+       <path name="gain-volte_cp_wb-headphone">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="S2801 MIX2_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+       </path>
+
+       <path name="gain-volte_cp_wb-bt-sco-headset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="S2801 MIX2_LVL" value="0" />
+       </path>
+
+       <!-- VoLTE CP WB/EXTRA_VOL playback volume -->
+       <path name="gain-volte_cp_wb_extra_vol-handset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="S2801 MIX2_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+               <ctl name="Earphone Volume" value="2" />
+       </path>
+
+       <path name="gain-volte_cp_wb_extra_vol-speaker">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="S2801 MIX2_LVL" value="0" />
+               <ctl name="DAC Gain" value="121" />
+               <ctl name="Speaker Volume" value="6" />
+       </path>
+
+       <!-- VoLTE VT CP WB playback volume -->
+       <path name="gain-volte_vt_cp_wb-handset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="S2801 MIX2_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+               <ctl name="Earphone Volume" value="2" />
+       </path>
+
+       <path name="gain-volte_vt_cp_wb-speaker">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="S2801 MIX2_LVL" value="0" />
+               <ctl name="DAC Gain" value="118" />
+               <ctl name="Speaker Volume" value="6" />
+       </path>
+
+       <path name="gain-volte_vt_cp_wb-headset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="S2801 MIX2_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+       </path>
+
+       <path name="gain-volte_vt_cp_wb-headphone">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="S2801 MIX2_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+       </path>
+
+       <path name="gain-volte_vt_cp_wb-bt-sco-headset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="S2801 MIX2_LVL" value="0" />
+       </path>
+
+       <!-- CP Call Output volume -->
+       <!-- NB volume -->
+       <path name="gain-incall_nb-handset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="S2801 MIX2_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+               <ctl name="Earphone Volume" value="2" />
+       </path>
+
+       <path name="gain-incall_nb-speaker">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="S2801 MIX2_LVL" value="0" />
+               <ctl name="DAC Gain" value="132" />
+               <ctl name="Speaker Volume" value="6" />
+       </path>
+
+       <path name="gain-incall_nb-headset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="S2801 MIX2_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+       </path>
+
+       <path name="gain-incall_nb-headphone">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="S2801 MIX2_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+       </path>
+
+       <path name="gain-incall_nb-bt-sco-headset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="S2801 MIX2_LVL" value="0" />
+       </path>
+
+       <!-- NB/HANDOVER volume -->
+       <path name="gain-incall_nb_handover-handset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="S2801 MIX2_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+               <ctl name="Earphone Volume" value="2" />
+       </path>
+
+       <path name="gain-incall_nb_handover-speaker">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="S2801 MIX2_LVL" value="0" />
+               <ctl name="DAC Gain" value="118" />
+               <ctl name="Speaker Volume" value="6" />
+       </path>
+
+       <!-- NB/EXTRA_VOL Volume-->
+       <path name="gain-incall_nb_extra_vol-handset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="S2801 MIX2_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+               <ctl name="Earphone Volume" value="2" />
+       </path>
+
+       <path name="gain-incall_nb_extra_vol-speaker">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="S2801 MIX2_LVL" value="0" />
+               <ctl name="DAC Gain" value="120" />
+               <ctl name="Speaker Volume" value="6" />
+       </path>
+
+       <!-- NB/EXTRA_VOL/HANDOVER Volume-->
+       <path name="gain-incall_nb_extra_vol_handover-handset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="S2801 MIX2_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+               <ctl name="Earphone Volume" value="2" />
+       </path>
+
+       <path name="gain-incall_nb_extra_vol_handover-speaker">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="S2801 MIX2_LVL" value="0" />
+               <ctl name="DAC Gain" value="120" />
+               <ctl name="Speaker Volume" value="6" />
+       </path>
+
+       <!-- WB volume -->
+       <path name="gain-incall_wb-handset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="S2801 MIX2_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+               <ctl name="Earphone Volume" value="2" />
+       </path>
+
+       <path name="gain-incall_wb-speaker">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="S2801 MIX2_LVL" value="0" />
+               <ctl name="DAC Gain" value="132" />
+               <ctl name="Speaker Volume" value="6" />
+       </path>
+
+       <path name="gain-incall_wb-headset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="S2801 MIX2_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+       </path>
+
+       <path name="gain-incall_wb-headphone">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="S2801 MIX2_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+       </path>
+
+       <path name="gain-incall_wb-bt-sco-headset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="S2801 MIX2_LVL" value="0" />
+       </path>
+
+       <!-- WB/EXTRA_VOL Volume-->
+       <path name="gain-incall_wb_extra_vol-handset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="S2801 MIX2_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+               <ctl name="Earphone Volume" value="2" />
+       </path>
+
+       <path name="gain-incall_wb_extra_vol-speaker">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="S2801 MIX2_LVL" value="0" />
+               <ctl name="DAC Gain" value="121" />
+               <ctl name="Speaker Volume" value="6" />
+       </path>
+
+       <!-- Loopback (no delay) volume -->
+       <path name="gain-loopback-headset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="S2801 MIX2_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+       </path>
+
+       <!-- Packet Loopback output volume-->
+       <path name="gain-loopback_packet-handset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="S2801 MIX2_LVL" value="0" />
+               <ctl name="DAC Gain" value="130" />
+               <ctl name="Earphone Volume" value="0" />
+       </path>
+
+       <path name="gain-loopback_packet-speaker">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="S2801 MIX2_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+               <ctl name="Speaker Volume" value="3" />
+       </path>
+
+       <path name="gain-loopback_packet-headset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="S2801 MIX2_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+       </path>
+
+       <!-- TTY Mode volume-->
+       <path name="gain-tty_mode-handset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+               <ctl name="Earphone Volume" value="0" />
+       </path>
+
+       <path name="gain-tty_mode-headset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+       </path>
+
+       <!-- call forwarding output volume -->
+       <path name="gain-call_forwarding_master">
+               <!-- we use default volume -->
+       </path>
+
+       <path name="gain-call_forwarding_slave-handset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+               <ctl name="Earphone Volume" value="0" />
+       </path>
+
+       <path name="gain-call_forwarding_slave-speaker">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+               <ctl name="Speaker Volume" value="3" />
+       </path>
+
+       <path name="gain-call_forwarding_slave-headset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+       </path>
+
+       <path name="gain-call_forwarding_slave-headphone">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+               <ctl name="DAC Gain" value="127" />
+       </path>
+
+       <path name="gain-call_forwarding_slave-bt-sco-headset">
+               <ctl name="S2801 MIX1_LVL" value="0" />
+       </path>
+
+       <!-- Input stage volume -->
+       <!-- media input volume -->
+       <path name="gain-media-mic">
+               <ctl name="MIC1 Volume" value="11" />
+               <ctl name="MIC1 Boost Volume" value="2" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-media-headset-mic">
+               <ctl name="MIC2 Volume" value="4" />
+               <ctl name="MIC2 Boost Volume" value="2" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-media-headphone-mic">
+               <ctl name="MIC1 Volume" value="11" />
+               <ctl name="MIC1 Boost Volume" value="2" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-media-bt-sco-headset-in">
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+       </path>
+
+       <!-- camcorder input volume -->
+       <path name="gain-camcorder-mic-oe">
+               <ctl name="MIC1 Volume" value="12" />
+               <ctl name="MIC1 Boost Volume" value="1" />
+               <ctl name="Line-in Volume" value="4" />
+               <ctl name="ADC Left Gain" value="137" />
+               <ctl name="ADC Right Gain" value="137" />
+       </path>
+
+       <path name="gain-camcorder-headset-mic">
+               <ctl name="MIC2 Volume" value="7" />
+               <ctl name="MIC2 Boost Volume" value="2" />
+               <ctl name="ADC Left Gain" value="136" />
+               <ctl name="ADC Right Gain" value="136" />
+       </path>
+
+       <path name="gain-camcorder-headphone-mic">
+               <ctl name="MIC1 Volume" value="10" />
+               <ctl name="MIC1 Boost Volume" value="1" />
+               <ctl name="Line-in Volume" value="4" />
+               <ctl name="ADC Left Gain" value="136" />
+               <ctl name="ADC Right Gain" value="136" />
+       </path>
+
+       <!-- voice recording input volume -->
+
+       <path name="gain-recording-mic">
+               <ctl name="MIC1 Volume" value="10" />
+               <ctl name="MIC1 Boost Volume" value="1" />
+               <ctl name="ADC Left Gain" value="138" />
+               <ctl name="ADC Right Gain" value="138" />
+
+       </path>
+
+       <path name="gain-recording-headset-mic">
+               <ctl name="MIC2 Volume" value="7" />
+               <ctl name="MIC2 Boost Volume" value="2" />
+               <ctl name="ADC Left Gain" value="136" />
+               <ctl name="ADC Right Gain" value="136" />
+       </path>
+
+       <path name="gain-recording-headphone-mic">
+               <ctl name="MIC1 Volume" value="10" />
+               <ctl name="MIC1 Boost Volume" value="1" />
+               <ctl name="ADC Left Gain" value="138" />
+               <ctl name="ADC Right Gain" value="138" />
+       </path>
+
+       <path name="gain-recording-bt-sco-headset-in">
+       </path>
+
+       <!-- jam voice input volume-->
+       <path name="gain-recording-jam-mic">
+               <ctl name="MIC1 Volume" value="10" />
+               <ctl name="MIC1 Boost Volume" value="1" />
+               <ctl name="ADC Left Gain" value="138" />
+               <ctl name="ADC Right Gain" value="138" />
+       </path>
+
+       <path name="gain-recording-jam-headset-mic">
+               <ctl name="MIC2 Volume" value="7" />
+               <ctl name="MIC2 Boost Volume" value="2" />
+               <ctl name="ADC Left Gain" value="136" />
+               <ctl name="ADC Right Gain" value="136" />
+       </path>
+
+       <!-- interview input volume -->
+       <path name="gain-interview-mic">
+               <ctl name="MIC1 Volume" value="11" />
+               <ctl name="MIC1 Boost Volume" value="2" />
+               <ctl name="Line-in Volume" value="4" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <!-- meeting input volume -->
+       <path name="gain-meeting-mic">
+               <ctl name="MIC1 Volume" value="11" />
+               <ctl name="MIC1 Boost Volume" value="2" />
+               <ctl name="Line-in Volume" value="4" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <!-- lpsd control input volume -->
+       <path name="gain-lpsd_control-mic">
+               <ctl name="MIC1 Volume" value="11" />
+               <ctl name="MIC1 Boost Volume" value="2" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <!-- voice control input volume -->
+       <path name="gain-voice_control-mic">
+               <ctl name="MIC1 Volume" value="11" />
+               <ctl name="MIC1 Boost Volume" value="2" />
+               <ctl name="Line-in Volume" value="4" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <!-- recognition input volume -->
+       <path name="gain-recognition-mic">
+               <ctl name="MIC1 Volume" value="11" />
+               <ctl name="MIC1 Boost Volume" value="2" />
+               <ctl name="ADC Left Gain" value="145" />
+               <ctl name="ADC Right Gain" value="145" />
+       </path>
+
+       <path name="gain-recognition-headset-mic">
+               <ctl name="MIC2 Volume" value="11" />
+               <ctl name="MIC2 Boost Volume" value="2" />
+               <ctl name="ADC Left Gain" value="149" />
+               <ctl name="ADC Right Gain" value="149" />
+       </path>
+
+       <path name="gain-recognition-headphone-mic">
+               <ctl name="MIC1 Volume" value="11" />
+               <ctl name="MIC1 Boost Volume" value="2" />
+               <ctl name="ADC Left Gain" value="145" />
+               <ctl name="ADC Right Gain" value="145" />
+       </path>
+
+       <path name="gain-recognition-bt-sco-headset-in">
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+       </path>
+
+       <!-- bargein samsung input volume -->
+       <path name="gain-bargein_samsung_engine-mic">
+               <ctl name="MIC1 Volume" value="11" />
+               <ctl name="MIC1 Boost Volume" value="2" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-bargein_samsung_engine-headset-mic">
+               <ctl name="MIC2 Volume" value="11" />
+               <ctl name="MIC2 Boost Volume" value="2" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-bargein_samsung_engine-bt-sco-headset-in">
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+       </path>
+
+       <!-- bargein external input volume-->
+       <path name="gain-bargein_external_engine-mic">
+               <ctl name="MIC1 Volume" value="11" />
+               <ctl name="MIC1 Boost Volume" value="2" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-bargein_external_engine-headset-mic">
+               <ctl name="MIC2 Volume" value="11" />
+               <ctl name="MIC2 Boost Volume" value="2" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-bargein_external_engine-bt-sco-headset-in">
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+       </path>
+
+       <!-- svoice/carmode samsung input volume -->
+       <path name="gain-dualmic_samsung_engine-mic">
+               <ctl name="MIC1 Volume" value="11" />
+               <ctl name="MIC1 Boost Volume" value="2" />
+               <ctl name="MIC2 Volume" value="11" />
+               <ctl name="MIC2 Boost Volume" value="2" />
+               <ctl name="ADC Left Gain" value="145" />
+               <ctl name="ADC Right Gain" value="145" />
+       </path>
+
+       <path name="gain-dualmic_samsung_engine-headset-mic">
+               <ctl name="MIC2 Volume" value="11" />
+               <ctl name="MIC2 Boost Volume" value="2" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-dualmic_samsung_engine-bt-sco-headset-in">
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+       </path>
+
+       <!-- svoice/carmode external input volume -->
+       <path name="gain-dualmic_external_engine-mic">
+               <ctl name="MIC1 Volume" value="11" />
+               <ctl name="MIC1 Boost Volume" value="2" />
+               <ctl name="Line-in Volume" value="4" />
+               <ctl name="ADC Left Gain" value="145" />
+               <ctl name="ADC Right Gain" value="145" />
+       </path>
+
+       <path name="gain-dualmic_external_engine-headset-mic">
+               <ctl name="MIC2 Volume" value="11" />
+               <ctl name="MIC2 Boost Volume" value="2" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-dualmic_external_engine-bt-sco-headset-in">
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+       </path>
+
+       <!-- communication input volume -->
+       <path name="gain-communication-handset-mic">
+               <ctl name="MIC1 Volume" value="11" />
+               <ctl name="MIC1 Boost Volume" value="2" />
+               <ctl name="ADC Left Gain" value="132" />
+               <ctl name="ADC Right Gain" value="132" />
+       </path>
+
+       <path name="gain-communication-speaker-mic">
+               <ctl name="MIC1 Volume" value="11" />
+               <ctl name="MIC1 Boost Volume" value="2" />
+               <ctl name="Line-in Volume" value="5" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-communication-headset-mic">
+               <ctl name="MIC2 Volume" value="11" />
+               <ctl name="MIC2 Boost Volume" value="2" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-communication-headphone-mic">
+               <ctl name="MIC1 Volume" value="11" />
+               <ctl name="MIC1 Boost Volume" value="2" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-communication-bt-sco-headset-in">
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+       </path>
+
+       <!-- samsung voip input volume -->
+       <path name="gain-samsung_voip-handset-mic">
+               <ctl name="MIC1 Volume" value="11" />
+               <ctl name="MIC1 Boost Volume" value="2" />
+               <ctl name="Line-in Volume" value="4" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-samsung_voip-speaker-mic">
+               <ctl name="MIC1 Volume" value="11" />
+               <ctl name="MIC1 Boost Volume" value="2" />
+               <ctl name="Line-in Volume" value="4" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-samsung_voip-headset-mic">
+               <ctl name="MIC2 Volume" value="11" />
+               <ctl name="MIC2 Boost Volume" value="2" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-samsung_voip-headphone-mic">
+               <ctl name="MIC1 Volume" value="11" />
+               <ctl name="MIC1 Boost Volume" value="2" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-samsung_voip-bt-sco-headset-in">
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+       </path>
+
+       <!-- Wificall wb input volume -->
+       <path name="gain-wificall_wb-handset-mic">
+               <ctl name="MIC1 Volume" value="17" />
+               <ctl name="MIC1 Boost Volume" value="1" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-wificall_wb-speaker-mic">
+               <ctl name="MIC1 Volume" value="13" />
+               <ctl name="MIC1 Boost Volume" value="0" />
+               <ctl name="Line-in Volume" value="6" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-wificall_wb-headset-mic">
+               <ctl name="MIC2 Volume" value="11" />
+               <ctl name="MIC2 Boost Volume" value="2" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-wificall_wb-headphone-mic">
+               <ctl name="MIC1 Volume" value="17" />
+               <ctl name="MIC1 Boost Volume" value="1" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-wificall_wb-bt-sco-headset-in">
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+       </path>
+
+       <!-- Wificall nb input volume -->
+       <path name="gain-wificall_nb-handset-mic">
+               <ctl name="MIC1 Volume" value="17" />
+               <ctl name="MIC1 Boost Volume" value="1" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-wificall_nb-speaker-mic">
+               <ctl name="MIC1 Volume" value="13" />
+               <ctl name="MIC1 Boost Volume" value="0" />
+               <ctl name="Line-in Volume" value="6" />
+               <ctl name="ADC Left Gain" value="129" />
+               <ctl name="ADC Right Gain" value="129" />
+       </path>
+
+       <path name="gain-wificall_nb-headset-mic">
+               <ctl name="MIC2 Volume" value="11" />
+               <ctl name="MIC2 Boost Volume" value="2" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-wificall_nb-headphone-mic">
+               <ctl name="MIC1 Volume" value="17" />
+               <ctl name="MIC1 Boost Volume" value="1" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-wificall_nb-bt-sco-headset-in">
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+       </path>
+
+       <!-- Wificall wb extra input volume -->
+       <path name="gain-wificall_wb_extra_vol-handset-mic">
+               <ctl name="MIC1 Volume" value="17" />
+               <ctl name="MIC1 Boost Volume" value="1" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-wificall_wb_extra_vol-speaker-mic">
+               <ctl name="MIC1 Volume" value="13" />
+               <ctl name="MIC1 Boost Volume" value="0" />
+               <ctl name="Line-in Volume" value="6" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-wificall_wb_extra_vol-headset-mic">
+               <ctl name="MIC2 Volume" value="11" />
+               <ctl name="MIC2 Boost Volume" value="2" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-wificall_wb_extra_vol-headphone-mic">
+               <ctl name="MIC1 Volume" value="17" />
+               <ctl name="MIC1 Boost Volume" value="1" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-wificall_wb_extra_vol-bt-sco-headset-in">
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+       </path>
+
+       <!-- Wificall nb extra input volume -->
+       <path name="gain-wificall_nb_extra_vol-handset-mic">
+               <ctl name="MIC1 Volume" value="17" />
+               <ctl name="MIC1 Boost Volume" value="1" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-wificall_nb_extra_vol-speaker-mic">
+               <ctl name="MIC1 Volume" value="13" />
+               <ctl name="MIC1 Boost Volume" value="0" />
+               <ctl name="Line-in Volume" value="6" />
+               <ctl name="ADC Left Gain" value="129" />
+               <ctl name="ADC Right Gain" value="129" />
+       </path>
+
+       <path name="gain-wificall_nb_extra_vol-headset-mic">
+               <ctl name="MIC2 Volume" value="11" />
+               <ctl name="MIC2 Boost Volume" value="2" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-wificall_nb_extra_vol-headphone-mic">
+               <ctl name="MIC1 Volume" value="17" />
+               <ctl name="MIC1 Boost Volume" value="1" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-wificall_nb_extra_vol-bt-sco-headset-in">
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+       </path>
+
+       <!-- voip input volume -->
+       <path name="gain-voip-handset-mic">
+               <ctl name="MIC1 Volume" value="11" />
+               <ctl name="MIC1 Boost Volume" value="2" />
+               <ctl name="ADC Left Gain" value="132" />
+               <ctl name="ADC Right Gain" value="132" />
+       </path>
+
+       <path name="gain-voip-speaker-mic">
+               <ctl name="MIC1 Volume" value="11" />
+               <ctl name="MIC1 Boost Volume" value="2" />
+               <ctl name="Line-in Volume" value="5" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-voip-headset-mic">
+               <ctl name="MIC2 Volume" value="11" />
+               <ctl name="MIC2 Boost Volume" value="2" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-voip-headphone-mic">
+               <ctl name="MIC1 Volume" value="11" />
+               <ctl name="MIC1 Boost Volume" value="2" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-voip-bt-sco-headset-in">
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+       </path>
+
+       <!-- Video call input volume -->
+       <path name="gain-video_call-handset-mic">
+               <ctl name="MIC1 Volume" value="17" />
+               <ctl name="MIC1 Boost Volume" value="1" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-video_call-speaker-mic">
+               <ctl name="MIC1 Volume" value="13" />
+               <ctl name="MIC1 Boost Volume" value="0" />
+               <ctl name="Line-in Volume" value="6" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-video_call-headset-mic">
+               <ctl name="MIC2 Volume" value="11" />
+               <ctl name="MIC2 Boost Volume" value="2" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-video_call-headphone-mic">
+               <ctl name="MIC1 Volume" value="17" />
+               <ctl name="MIC1 Boost Volume" value="1" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-video_call-bt-sco-headset-in">
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+       </path>
+
+       <!-- VoLTE AP NB input volume -->
+       <path name="gain-volte_vt_ap_nb-handset-mic">
+               <ctl name="MIC1 Volume" value="17" />
+               <ctl name="MIC1 Boost Volume" value="1" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-volte_vt_ap_nb-speaker-mic">
+               <ctl name="MIC1 Volume" value="13" />
+               <ctl name="MIC1 Boost Volume" value="0" />
+               <ctl name="Line-in Volume" value="6" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-volte_vt_ap_nb-headset-mic">
+               <ctl name="MIC2 Volume" value="11" />
+               <ctl name="MIC2 Boost Volume" value="2" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-volte_vt_ap_nb-headphone-mic">
+               <ctl name="MIC1 Volume" value="17" />
+               <ctl name="MIC1 Boost Volume" value="1" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-volte_vt_ap_nb-bt-sco-headset-in">
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+       </path>
+
+       <!-- VoLTE AP WB input volume -->
+       <path name="gain-volte_vt_ap_wb-handset-mic">
+               <ctl name="MIC1 Volume" value="17" />
+               <ctl name="MIC1 Boost Volume" value="1" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-volte_vt_ap_wb-speaker-mic">
+               <ctl name="MIC1 Volume" value="13" />
+               <ctl name="MIC1 Boost Volume" value="0" />
+               <ctl name="Line-in Volume" value="6" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-volte_vt_ap_wb-headset-mic">
+               <ctl name="MIC2 Volume" value="11" />
+               <ctl name="MIC2 Boost Volume" value="2" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-volte_vt_ap_wb-headphone-mic">
+               <ctl name="MIC1 Volume" value="17" />
+               <ctl name="MIC1 Boost Volume" value="1" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-volte_vt_ap_wb-bt-sco-headset-in">
+       </path>
+
+       <!-- VoLTE VT CP NB input volume -->
+       <path name="gain-volte_vt_cp_nb-handset-mic">
+               <ctl name="S2801 RMIX1_LVL" value="0" />
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+               <ctl name="MIC1 Volume" value="17" />
+               <ctl name="MIC1 Boost Volume" value="1" />
+               <ctl name="Line-in Volume" value="6" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-volte_vt_cp_nb-speaker-mic">
+               <ctl name="S2801 RMIX1_LVL" value="0" />
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+               <ctl name="MIC1 Volume" value="13" />
+               <ctl name="MIC1 Boost Volume" value="0" />
+               <ctl name="Line-in Volume" value="6" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-volte_vt_cp_nb-headset-mic">
+               <ctl name="S2801 RMIX1_LVL" value="0" />
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+               <ctl name="MIC2 Volume" value="11" />
+               <ctl name="MIC2 Boost Volume" value="2" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-volte_vt_cp_nb-headphone-mic">
+               <ctl name="S2801 RMIX1_LVL" value="0" />
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+               <ctl name="MIC1 Volume" value="17" />
+               <ctl name="MIC1 Boost Volume" value="1" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-volte_vt_cp_nb-bt-sco-headset-in">
+               <ctl name="S2801 RMIX1_LVL" value="0" />
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+       </path>
+
+       <!-- VoLTE CP NB input volume -->
+       <path name="gain-volte_cp_nb-handset-mic">
+               <ctl name="S2801 RMIX1_LVL" value="0" />
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+               <ctl name="MIC1 Volume" value="17" />
+               <ctl name="MIC1 Boost Volume" value="1" />
+               <ctl name="Line-in Volume" value="6" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-volte_cp_nb-speaker-mic">
+               <ctl name="S2801 RMIX1_LVL" value="0" />
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+               <ctl name="MIC1 Volume" value="13" />
+               <ctl name="MIC1 Boost Volume" value="0" />
+               <ctl name="Line-in Volume" value="6" />
+               <ctl name="ADC Left Gain" value="129" />
+               <ctl name="ADC Right Gain" value="129" />
+       </path>
+
+       <path name="gain-volte_cp_nb-headset-mic">
+               <ctl name="S2801 RMIX1_LVL" value="0" />
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+               <ctl name="MIC2 Volume" value="11" />
+               <ctl name="MIC2 Boost Volume" value="1" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-volte_cp_nb-headphone-mic">
+               <ctl name="S2801 RMIX1_LVL" value="0" />
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+               <ctl name="MIC1 Volume" value="17" />
+               <ctl name="MIC1 Boost Volume" value="1" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-volte_cp_nb-bt-sco-headset-in">
+               <ctl name="S2801 RMIX1_LVL" value="0" />
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+       </path>
+
+       <!-- VoLTE CP NB/HANDOVER input volume -->
+       <path name="gain-volte_cp_nb_handover-handset-mic">
+               <ctl name="S2801 RMIX1_LVL" value="0" />
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+               <ctl name="MIC1 Volume" value="17" />
+               <ctl name="MIC1 Boost Volume" value="1" />
+               <ctl name="Line-in Volume" value="6" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-volte_cp_nb_handover-speaker-mic">
+               <ctl name="S2801 RMIX1_LVL" value="0" />
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+               <ctl name="MIC1 Volume" value="13" />
+               <ctl name="MIC1 Boost Volume" value="0" />
+               <ctl name="Line-in Volume" value="6" />
+               <ctl name="ADC Left Gain" value="129" />
+               <ctl name="ADC Right Gain" value="129" />
+       </path>
+
+       <!-- VoLTE VT CP NB/EXTRA_VOL input volume -->
+       <path name="gain-volte_cp_nb_extra_vol-handset-mic">
+               <ctl name="S2801 RMIX1_LVL" value="0" />
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+               <ctl name="MIC1 Volume" value="17" />
+               <ctl name="MIC1 Boost Volume" value="1" />
+               <ctl name="Line-in Volume" value="6" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-volte_cp_nb_extra_vol-speaker-mic">
+               <ctl name="S2801 RMIX1_LVL" value="0" />
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+               <ctl name="MIC1 Volume" value="13" />
+               <ctl name="MIC1 Boost Volume" value="0" />
+               <ctl name="Line-in Volume" value="6" />
+               <ctl name="ADC Left Gain" value="129" />
+               <ctl name="ADC Right Gain" value="129" />
+       </path>
+
+       <!-- VoLTE VT CP NB/EXTRA_VOL/HANDOVER input volume -->
+       <path name="gain-volte_cp_nb_extra_vol_handover-handset-mic">
+               <ctl name="S2801 RMIX1_LVL" value="0" />
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+               <ctl name="MIC1 Volume" value="17" />
+               <ctl name="MIC1 Boost Volume" value="1" />
+               <ctl name="Line-in Volume" value="6" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-volte_cp_nb_extra_vol_handover-speaker-mic">
+               <ctl name="S2801 RMIX1_LVL" value="0" />
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+               <ctl name="MIC1 Volume" value="13" />
+               <ctl name="MIC1 Boost Volume" value="0" />
+               <ctl name="Line-in Volume" value="6" />
+               <ctl name="ADC Left Gain" value="129" />
+               <ctl name="ADC Right Gain" value="129" />
+       </path>
+
+       <!-- VoLTE CP WB input volume -->
+       <path name="gain-volte_cp_wb-handset-mic">
+               <ctl name="S2801 RMIX1_LVL" value="0" />
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+               <ctl name="MIC1 Volume" value="17" />
+               <ctl name="MIC1 Boost Volume" value="1" />
+               <ctl name="Line-in Volume" value="6" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-volte_cp_wb-speaker-mic">
+               <ctl name="S2801 RMIX1_LVL" value="0" />
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+               <ctl name="MIC1 Volume" value="13" />
+               <ctl name="MIC1 Boost Volume" value="0" />
+               <ctl name="Line-in Volume" value="6" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-volte_cp_wb-headset-mic">
+               <ctl name="S2801 RMIX1_LVL" value="0" />
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+               <ctl name="MIC2 Volume" value="11" />
+               <ctl name="MIC2 Boost Volume" value="2" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-volte_cp_wb-headphone-mic">
+               <ctl name="S2801 RMIX1_LVL" value="0" />
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+               <ctl name="MIC1 Volume" value="17" />
+               <ctl name="MIC1 Boost Volume" value="1" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-volte_cp_wb-bt-sco-headset-in">
+               <ctl name="S2801 RMIX1_LVL" value="0" />
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+       </path>
+
+       <!-- VoLTE CP WB/EXTRA_VOL input volume -->
+       <path name="gain-volte_cp_wb_extra_vol-handset-mic">
+               <ctl name="S2801 RMIX1_LVL" value="0" />
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+               <ctl name="MIC1 Volume" value="17" />
+               <ctl name="MIC1 Boost Volume" value="1" />
+               <ctl name="Line-in Volume" value="6" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-volte_cp_wb_extra_vol-speaker-mic">
+               <ctl name="S2801 RMIX1_LVL" value="0" />
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+               <ctl name="MIC1 Volume" value="13" />
+               <ctl name="MIC1 Boost Volume" value="0" />
+               <ctl name="Line-in Volume" value="6" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <!-- VoLTE VT CP WB input volume -->
+       <path name="gain-volte_vt_cp_wb-handset-mic">
+               <ctl name="S2801 RMIX1_LVL" value="0" />
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+               <ctl name="MIC1 Volume" value="17" />
+               <ctl name="MIC1 Boost Volume" value="1" />
+               <ctl name="Line-in Volume" value="6" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-volte_vt_cp_wb-speaker-mic">
+               <ctl name="S2801 RMIX1_LVL" value="0" />
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+               <ctl name="MIC1 Volume" value="13" />
+               <ctl name="MIC1 Boost Volume" value="0" />
+               <ctl name="Line-in Volume" value="6" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-volte_vt_cp_wb-headset-mic">
+               <ctl name="S2801 RMIX1_LVL" value="0" />
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+               <ctl name="MIC2 Volume" value="11" />
+               <ctl name="MIC2 Boost Volume" value="2" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-volte_vt_cp_wb-headphone-mic">
+               <ctl name="S2801 RMIX1_LVL" value="0" />
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+               <ctl name="MIC1 Volume" value="17" />
+               <ctl name="MIC1 Boost Volume" value="1" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-volte_vt_cp_wb-bt-sco-headset-in">
+               <ctl name="S2801 RMIX1_LVL" value="0" />
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+       </path>
+
+       <!-- CP Call Input volume -->
+       <!-- NB volume -->
+       <path name="gain-incall_nb-handset-mic">
+               <ctl name="S2801 RMIX1_LVL" value="0" />
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+               <ctl name="MIC1 Volume" value="17" />
+               <ctl name="MIC1 Boost Volume" value="1" />
+               <ctl name="Line-in Volume" value="6" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-incall_nb-speaker-mic">
+               <ctl name="S2801 RMIX1_LVL" value="0" />
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+               <ctl name="MIC1 Volume" value="13" />
+               <ctl name="MIC1 Boost Volume" value="0" />
+               <ctl name="Line-in Volume" value="6" />
+               <ctl name="ADC Left Gain" value="129" />
+               <ctl name="ADC Right Gain" value="129" />
+       </path>
+
+       <path name="gain-incall_nb-headset-mic">
+               <ctl name="S2801 RMIX1_LVL" value="0" />
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+               <ctl name="MIC2 Volume" value="11" />
+               <ctl name="MIC2 Boost Volume" value="1" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-incall_nb-headphone-mic">
+               <ctl name="S2801 RMIX1_LVL" value="0" />
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+               <ctl name="MIC1 Volume" value="17" />
+               <ctl name="MIC1 Boost Volume" value="1" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-incall_nb-bt-sco-headset-in">
+               <ctl name="S2801 RMIX1_LVL" value="0" />
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+       </path>
+
+       <!-- NB/HANDOVER volume -->
+       <path name="gain-incall_nb_handover-handset-mic">
+               <ctl name="S2801 RMIX1_LVL" value="0" />
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+               <ctl name="MIC1 Volume" value="17" />
+               <ctl name="MIC1 Boost Volume" value="1" />
+               <ctl name="Line-in Volume" value="6" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-incall_nb_handover-speaker-mic">
+               <ctl name="S2801 RMIX1_LVL" value="0" />
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+               <ctl name="MIC1 Volume" value="13" />
+               <ctl name="MIC1 Boost Volume" value="0" />
+               <ctl name="Line-in Volume" value="6" />
+               <ctl name="ADC Left Gain" value="129" />
+               <ctl name="ADC Right Gain" value="129" />
+       </path>
+
+       <!-- NB/EXTRA_VOL volume -->
+       <path name="gain-incall_nb_extra_vol-handset-mic">
+               <ctl name="S2801 RMIX1_LVL" value="0" />
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+               <ctl name="MIC1 Volume" value="17" />
+               <ctl name="MIC1 Boost Volume" value="1" />
+               <ctl name="Line-in Volume" value="6" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-incall_nb_extra_vol-speaker-mic">
+               <ctl name="S2801 RMIX1_LVL" value="0" />
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+               <ctl name="MIC1 Volume" value="13" />
+               <ctl name="MIC1 Boost Volume" value="0" />
+               <ctl name="Line-in Volume" value="6" />
+               <ctl name="ADC Left Gain" value="129" />
+               <ctl name="ADC Right Gain" value="129" />
+       </path>
+
+       <!-- NB/EXTRA_VOL/HANDOVER volume -->
+       <path name="gain-incall_nb_extra_vol_handover-handset-mic">
+               <ctl name="S2801 RMIX1_LVL" value="0" />
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+               <ctl name="MIC1 Volume" value="17" />
+               <ctl name="MIC1 Boost Volume" value="1" />
+               <ctl name="Line-in Volume" value="6" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-incall_nb_extra_vol_handover-speaker-mic">
+               <ctl name="S2801 RMIX1_LVL" value="0" />
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+               <ctl name="MIC1 Volume" value="13" />
+               <ctl name="MIC1 Boost Volume" value="0" />
+               <ctl name="Line-in Volume" value="6" />
+               <ctl name="ADC Left Gain" value="129" />
+               <ctl name="ADC Right Gain" value="129" />
+       </path>
+
+       <!-- WB volume -->
+       <path name="gain-incall_wb-handset-mic">
+               <ctl name="S2801 RMIX1_LVL" value="0" />
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+               <ctl name="MIC1 Volume" value="17" />
+               <ctl name="MIC1 Boost Volume" value="1" />
+               <ctl name="Line-in Volume" value="6" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-incall_wb-speaker-mic">
+               <ctl name="S2801 RMIX1_LVL" value="0" />
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+               <ctl name="MIC1 Volume" value="13" />
+               <ctl name="MIC1 Boost Volume" value="0" />
+               <ctl name="Line-in Volume" value="6" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-incall_wb-headset-mic">
+               <ctl name="S2801 RMIX1_LVL" value="0" />
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+               <ctl name="MIC2 Volume" value="11" />
+               <ctl name="MIC2 Boost Volume" value="2" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-incall_wb-headphone-mic">
+               <ctl name="S2801 RMIX1_LVL" value="0" />
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+               <ctl name="MIC1 Volume" value="17" />
+               <ctl name="MIC1 Boost Volume" value="1" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-incall_wb-bt-sco-headset-in">
+               <ctl name="S2801 RMIX1_LVL" value="0" />
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+       </path>
+
+       <!-- WB/EXTRA_VOL volume -->
+       <path name="gain-incall_wb_extra_vol-handset-mic">
+               <ctl name="S2801 RMIX1_LVL" value="0" />
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+               <ctl name="MIC1 Volume" value="17" />
+               <ctl name="MIC1 Boost Volume" value="1" />
+               <ctl name="Line-in Volume" value="6" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-incall_wb_extra_vol-speaker-mic">
+               <ctl name="S2801 RMIX1_LVL" value="0" />
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+               <ctl name="MIC1 Volume" value="13" />
+               <ctl name="MIC1 Boost Volume" value="0" />
+               <ctl name="Line-in Volume" value="6" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <!-- Loopback Input (no delay) -->
+       <path name="gain-loopback-mic">
+               <ctl name="S2801 RMIX1_LVL" value="0" />
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+               <ctl name="MIC1 Volume" value="11" />
+               <ctl name="MIC1 Boost Volume" value="2" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-loopback-2nd-mic">
+               <ctl name="S2801 RMIX1_LVL" value="0" />
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+               <ctl name="Line-in Volume" value="4" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <!-- Packet Loopback Input -->
+       <path name="gain-loopback_packet-mic">
+               <ctl name="S2801 RMIX1_LVL" value="0" />
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+               <ctl name="MIC1 Volume" value="9" />
+               <ctl name="MIC1 Boost Volume" value="1" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-loopback_packet-2nd-mic">
+               <ctl name="S2801 RMIX1_LVL" value="0" />
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+               <ctl name="Line-in Volume" value="4" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-loopback_packet-3rd-mic">
+       </path>
+
+       <path name="gain-loopback_packet-headset-mic">
+               <ctl name="S2801 RMIX1_LVL" value="0" />
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+               <ctl name="MIC2 Volume" value="11" />
+               <ctl name="MIC2 Boost Volume" value="2" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-loopback_packet-handset-dualmic">
+               <ctl name="S2801 RMIX1_LVL" value="0" />
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+               <ctl name="MIC1 Volume" value="11" />
+               <ctl name="MIC1 Boost Volume" value="2" />
+               <ctl name="Line-in Volume" value="4" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-loopback_packet-speaker-dualmic">
+               <ctl name="S2801 RMIX1_LVL" value="0" />
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+               <ctl name="MIC1 Volume" value="11" />
+               <ctl name="MIC1 Boost Volume" value="2" />
+               <ctl name="Line-in Volume" value="4" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <!-- TTY Mode Input volume -->
+       <path name="gain-tty_mode-hco-mic">
+               <ctl name="MIC1 Volume" value="11" />
+               <ctl name="MIC1 Boost Volume" value="2" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-tty_mode-full-mic">
+               <ctl name="MIC2 Volume" value="11" />
+               <ctl name="MIC2 Boost Volume" value="2" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-tty_mode-vco-mic">
+               <ctl name="MIC2 Volume" value="11" />
+               <ctl name="MIC2 Boost Volume" value="2" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <!-- call forwarding input volume -->
+       <path name="gain-call_forwarding_master-mic">
+               <!-- we use default volume -->
+       </path>
+
+       <path name="gain-call_forwarding_slave-handset-mic">
+               <ctl name="MIC1 Volume" value="11" />
+               <ctl name="MIC1 Boost Volume" value="2" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-call_forwarding_slave-speaker-mic">
+               <ctl name="MIC1 Volume" value="11" />
+               <ctl name="MIC1 Boost Volume" value="2" />
+               <ctl name="Line-in Volume" value="4" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-call_forwarding_slave-headset-mic">
+               <ctl name="MIC2 Volume" value="11" />
+               <ctl name="MIC2 Boost Volume" value="2" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-call_forwarding_slave-headphone-mic">
+               <ctl name="MIC1 Volume" value="11" />
+               <ctl name="MIC1 Boost Volume" value="2" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-call_forwarding_slave-bt-sco-headset-in">
+               <ctl name="S2801 RMIX2_LVL" value="0" />
+       </path>
+
+       <!-- echo(rms) test input volume -->
+       <path name="gain-echo_test-mic">
+               <ctl name="MIC1 Volume" value="11" />
+               <ctl name="MIC1 Boost Volume" value="2" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-echo_test-2nd-mic">
+               <ctl name="Line-in Volume" value="4" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="127" />
+       </path>
+
+       <path name="gain-echo_test-3rd-mic">
+       </path>
+
+       <path name="gain-echo_test-dualmic">
+               <ctl name="MIC1 Volume" value="10" />
+               <ctl name="MIC1 Boost Volume" value="2" />
+               <ctl name="Line-in Volume" value="4" />
+               <ctl name="ADC Left Gain" value="127" />
+               <ctl name="ADC Right Gain" value="128" />
+       </path>
+
+       <!-- FM Playback/Recording -->
+       <path name="gain-fm_radio-speaker" >
+               <ctl name="Speaker Volume" value="6" />
+               <ctl name="DAC Gain" value="109" />
+       </path>
+
+       <path name="gain-fm_radio-headset" >
+               <ctl name="DAC Gain" value="115" />
+       </path>
+
+       <path name="gain-fm_radio-fm-recording" >
+               <ctl name="DAC Gain" value="127" />
+       </path>
+
+       <!-- Samsung OSS audio HAL custom paths -->
+
+       <path name="none">
+               <!-- Empty path -->
+       </path>
+
+       <!-- Output -->
+       <path name="earpiece">
+               <path name="media-handset"/>
+               <path name="gain-media-handset"/>
+       </path>
+
+       <path name="speaker">
+               <path name="media-speaker"/>
+               <path name="gain-media-speaker"/>
+       </path>
+
+       <path name="headphones">
+               <path name="media-headset"/>
+               <path name="gain-media-headset"/>
+       </path>
+
+       <path name="speaker-and-headphones">
+               <path name="media-speaker-headset"/>
+               <path name="gain-media-speaker-headset"/>
+       </path>
+
+       <path name="voice-earpiece">
+               <path name="incall_nb-handset"/>
+               <path name="gain-incall_nb-handset"/>
+       </path>
+
+       <path name="voice-earpiece-wb">
+               <path name="incall_wb-handset"/>
+               <path name="gain-incall_wb-handset"/>
+       </path>
+
+       <path name="voice-speaker">
+               <path name="incall_nb-speaker"/>
+               <path name="gain-incall_nb-speaker"/>
+       </path>
+
+       <path name="voice-speaker-wb">
+               <path name="incall_wb-speaker"/>
+               <path name="gain-incall_wb-speaker"/>
+       </path>
+
+       <path name="voice-headphones">
+               <path name="incall_nb-headset"/>
+               <path name="gain-incall_nb-headset"/>
+       </path>
+
+       <path name="voice-headphones-wb">
+               <path name="incall_wb-headset"/>
+               <path name="gain-incall_wb-headset"/>
+       </path>
+
+       <path name="voice-bt-sco-headset">
+               <path name="incall_nb-bt-sco-headset"/>
+               <path name="gain-incall_nb-bt-sco-headset"/>
+       </path>
+
+       <path name="voice-bt-sco-headset-wb">
+               <path name="incall_wb-bt-sco-headset"/>
+               <path name="gain-incall_wb-bt-sco-headset"/>
+       </path>
+
+       <path name="bt-sco-headset">
+               <path name="media-bt-sco-headset"/>
+               <path name="gain-media-bt-sco-headset"/>
+       </path>
+
+       <path name="hdmi">
+               <!-- TODO -->
+       </path>
+
+       <path name="speaker-and-hdmi">
+               <!-- TODO -->
+       </path>
+
+       <!-- Input -->
+       <path name="earpiece-mic">
+               <path name="media-mic"/>
+               <path name="gain-media-mic"/>
+       </path>
+
+       <path name="speaker-mic">
+               <path name="media-mic"/>
+               <path name="gain-media-mic"/>
+       </path>
+
+       <path name="headset-mic">
+               <path name="media-headset-mic"/>
+               <path name="gain-media-headset-mic"/>
+       </path>
+
+       <path name="voice-mic">
+               <path name="incall_nb-speaker-mic"/>
+               <path name="gain-incall_nb-speaker-mic"/>
+       </path>
+
+       <path name="voice-earpiece-mic">
+               <path name="incall_nb-handset-mic"/>
+               <path name="gain-incall_nb-handset-mic"/>
+       </path>
+
+       <path name="voice-earpiece-mic-wb">
+               <path name="incall_wb-handset-mic"/>
+               <path name="gain-incall_wb-handset-mic"/>
+       </path>
+
+       <path name="voice-speaker-mic">
+               <path name="incall_nb-speaker-mic"/>
+               <path name="gain-incall_nb-speaker-mic"/>
+       </path>
+
+       <path name="voice-speaker-mic-wb">
+               <path name="incall_wb-speaker-mic"/>
+               <path name="gain-incall_wb-speaker-mic"/>
+       </path>
+
+       <path name="voice-headset-mic">
+               <path name="incall_nb-headset-mic"/>
+               <path name="gain-incall_nb-headset-mic"/>
+       </path>
+
+       <path name="voice-headset-mic-wb">
+               <path name="incall_wb-headset-mic"/>
+               <path name="gain-incall_wb-headset-mic"/>
+       </path>
+
+       <path name="voice-bt-sco-mic">
+               <path name="incall_nb-bt-sco-headset-in"/>
+               <path name="gain-incall_nb-bt-sco-headset-in"/>
+       </path>
+
+       <path name="voice-bt-sco-mic-wb">
+               <path name="incall_wb-bt-sco-headset-in"/>
+               <path name="gain-incall_wb-bt-sco-headset-in"/>
+       </path>
+
+       <path name="bt-sco-mic">
+               <path name="media-bt-sco-headset-in"/>
+               <path name="gain-media-bt-sco-headset-in"/>
+       </path>
+
+       <path name="camcorder-mic">
+               <path name="camcorder-mic-oe"/>
+               <path name="gain-camcorder-mic-oe"/>
+       </path>
+
+       <path name="voice-rec-mic">
+               <path name="recording-mic"/>
+               <path name="gain-recording-mic"/>
+       </path>
+
+       <path name="voice-rec-headset-mic">
+               <path name="recording-headset-mic"/>
+               <path name="gain-recording-headset-mic"/>
+       </path>
+</mixer>
\ No newline at end of file
index 4c6e265097759855a5fa74440d9011a2a01fb29d..627077cecd4bea3db6da90629d04c848597160e2 100644 (file)
--- a/device.mk
+++ b/device.mk
@@ -18,6 +18,10 @@ LOCAL_PATH := device/samsung/s5neolte
 
 $(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk)
 
+# Audio
+PRODUCT_COPY_FILES += \
+    $(LOCAL_PATH)/configs/audio/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_0.xml
+
 # Boot animation
 TARGET_BOOTANIMATION_PRELOAD := true
 TARGET_BOOTANIMATION_TEXTURE_CACHE := true