Home | History | Annotate | Download | only in crosshatch
      1 <?xml version="1.0" encoding="ISO-8859-1"?>
      2 <!--- Copyright (c) 2014-2016, The Linux Foundation. All rights reserved.       -->
      3 <!---                                                                           -->
      4 <!--- Redistribution and use in source and binary forms, with or without        -->
      5 <!--- modification, are permitted provided that the following conditions are    -->
      6 <!--- met:                                                                      -->
      7 <!---     * Redistributions of source code must retain the above copyright      -->
      8 <!---       notice, this list of conditions and the following disclaimer.       -->
      9 <!---     * Redistributions in binary form must reproduce the above             -->
     10 <!---       copyright notice, this list of conditions and the following         -->
     11 <!---       disclaimer in the documentation and/or other materials provided     -->
     12 <!---       with the distribution.                                              -->
     13 <!---     * Neither the name of The Linux Foundation nor the names of its       -->
     14 <!---       contributors may be used to endorse or promote products derived     -->
     15 <!---       from this software without specific prior written permission.       -->
     16 <!---                                                                           -->
     17 <!--- THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED              -->
     18 <!--- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF      -->
     19 <!--- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT    -->
     20 <!--- ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS    -->
     21 <!--- BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR    -->
     22 <!--- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF      -->
     23 <!--- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR           -->
     24 <!--- BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,     -->
     25 <!--- WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE      -->
     26 <!--- OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN    -->
     27 <!--- IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.                             -->
     28 
     29 <mixer>
     30     <!-- These are the initial mixer settings -->
     31     <ctl name="LSM1 Mixer SLIMBUS_5_TX" value="0" />
     32     <ctl name="LSM2 Mixer SLIMBUS_5_TX" value="0" />
     33     <ctl name="LSM3 Mixer SLIMBUS_5_TX" value="0" />
     34     <ctl name="LSM4 Mixer SLIMBUS_5_TX" value="0" />
     35     <ctl name="LSM5 Mixer SLIMBUS_5_TX" value="0" />
     36     <ctl name="LSM6 Mixer SLIMBUS_5_TX" value="0" />
     37     <ctl name="LSM7 Mixer SLIMBUS_5_TX" value="0" />
     38     <ctl name="LSM8 Mixer SLIMBUS_5_TX" value="0" />
     39     <ctl name="LSM1 Mixer SLIMBUS_0_TX" value="0" />
     40     <ctl name="LSM2 Mixer SLIMBUS_0_TX" value="0" />
     41     <ctl name="LSM3 Mixer SLIMBUS_0_TX" value="0" />
     42     <ctl name="LSM4 Mixer SLIMBUS_0_TX" value="0" />
     43     <ctl name="LSM5 Mixer SLIMBUS_0_TX" value="0" />
     44     <ctl name="LSM6 Mixer SLIMBUS_0_TX" value="0" />
     45     <ctl name="LSM7 Mixer SLIMBUS_0_TX" value="0" />
     46     <ctl name="LSM8 Mixer SLIMBUS_0_TX" value="0" />
     47     <ctl name="LSM1 Mixer SLIMBUS_3_TX" value="0" />
     48     <ctl name="LSM2 Mixer SLIMBUS_3_TX" value="0" />
     49     <ctl name="LSM3 Mixer SLIMBUS_3_TX" value="0" />
     50     <ctl name="LSM4 Mixer SLIMBUS_3_TX" value="0" />
     51     <ctl name="LSM5 Mixer SLIMBUS_3_TX" value="0" />
     52     <ctl name="LSM6 Mixer SLIMBUS_3_TX" value="0" />
     53     <ctl name="LSM7 Mixer SLIMBUS_3_TX" value="0" />
     54     <ctl name="LSM8 Mixer SLIMBUS_3_TX" value="0" />
     55     <ctl name="LSM1 Port" value="ADM_LSM_TX" />
     56     <ctl name="LSM2 Port" value="ADM_LSM_TX" />
     57     <ctl name="LSM3 Port" value="ADM_LSM_TX" />
     58     <ctl name="LSM4 Port" value="ADM_LSM_TX" />
     59     <ctl name="LSM5 Port" value="ADM_LSM_TX" />
     60     <ctl name="LSM6 Port" value="ADM_LSM_TX" />
     61     <ctl name="LSM7 Port" value="ADM_LSM_TX" />
     62     <ctl name="LSM8 Port" value="ADM_LSM_TX" />
     63     <ctl name="SLIMBUS_5_TX LSM Function" value="None" />
     64     <ctl name="SLIMBUS_0_TX LSM Function" value="None" />
     65     <ctl name="SLIMBUS_1_TX LSM Function" value="None" />
     66     <ctl name="SLIMBUS_3_TX LSM Function" value="None" />
     67     <ctl name="MADONOFF Switch" value="0" />
     68     <ctl name="MAD Input" value="DMIC1" />
     69     <ctl name="MAD_SEL MUX" value="SPE" />
     70     <ctl name="MAD_INP MUX" value="DEC1" />
     71     <ctl name="MAD_CPE1 Switch" value="0" />
     72     <ctl name="CDC_IF TX13 MUX" value="ZERO" />
     73     <ctl name="MAD_BROADCAST Switch" value="0" />
     74     <ctl name="TX13 INP MUX" value="CDC_DEC_5" />
     75     <ctl name="AIF4_MAD Mixer SLIM TX12" value="0" />
     76     <ctl name="AIF4_MAD Mixer SLIM TX13" value="0" />
     77     <ctl name="CPE AFE MAD Enable" value="0"/>
     78     <ctl name="CLK MODE" value="EXTERNAL" />
     79     <ctl name="EC BUF MUX INP" value="ZERO" />
     80     <ctl name="ADC MUX1" value="DMIC" />
     81     <ctl name="DMIC MUX1" value="ZERO" />
     82     <ctl name="AIF1_CAP Mixer SLIM TX8" value="0"/>
     83     <ctl name="AIF1_CAP Mixer SLIM TX7" value="0" />
     84     <ctl name="CDC_IF TX7 MUX" value="ZERO" />
     85     <ctl name="CDC_IF TX8 MUX" value="ZERO" />
     86     <ctl name="ADC MUX7" value="AMIC" />
     87     <ctl name="ADC MUX8" value="AMIC" />
     88     <ctl name="DMIC MUX7" value="ZERO" />
     89     <ctl name="DMIC MUX8" value="ZERO" />
     90     <ctl name="IIR0 INP0 MUX" value="ZERO" />
     91     <ctl name="ADC MUX0" value="AMIC" />
     92     <ctl name="ADC MUX1" value="AMIC" />
     93     <ctl name="DMIC MUX0" value="ZERO" />
     94     <ctl name="WDMA3 PORT0 MUX" value="RX_MIX_TX0" />
     95     <ctl name="WDMA3 PORT1 MUX" value="RX_MIX_TX1" />
     96     <ctl name="WDMA3 CH0 MUX" value="PORT_0" />
     97     <ctl name="WDMA3 CH1 MUX" value="PORT_0" />
     98     <ctl name="WDMA3_ON_OFF Switch" value="0" />
     99     <ctl name="SLIM_0_TX Channels" value="One" />
    100     <ctl name="SLIM_3_TX Channels" value="One" />
    101     <ctl name="AIF2_CAP Mixer SLIM TX3" value="0" />
    102     <ctl name="AIF2_CAP Mixer SLIM TX4" value="0" />
    103     <ctl name="CDC_IF TX2 MUX" value="ZERO" />
    104     <ctl name="ADC MUX2" value="AMIC" />
    105     <ctl name="DMIC MUX2" value="ZERO" />
    106     <ctl name="CDC_IF TX3 MUX" value="ZERO" />
    107     <ctl name="ADC MUX3" value="AMIC" />
    108     <ctl name="DMIC MUX3" value="ZERO" />
    109     <ctl name="ADC MUX4" value="AMIC" />
    110     <ctl name="DMIC MUX4" value="ZERO" />
    111     <ctl name="EC Reference Channels" value="Zero"/>
    112 
    113     <path name="listen-voice-wakeup-1">
    114         <ctl name="SLIMBUS_5_TX LSM Function" value="AUDIO" />
    115         <ctl name="LSM1 Port" value="SLIMBUS_5_TX" />
    116         <ctl name="LSM1 Mixer SLIMBUS_5_TX" value="1" />
    117     </path>
    118 
    119     <path name="listen-voice-wakeup-2">
    120         <ctl name="SLIMBUS_5_TX LSM Function" value="AUDIO" />
    121         <ctl name="LSM2 Port" value="SLIMBUS_5_TX" />
    122         <ctl name="LSM2 Mixer SLIMBUS_5_TX" value="1" />
    123     </path>
    124 
    125     <path name="listen-voice-wakeup-3">
    126         <ctl name="SLIMBUS_5_TX LSM Function" value="AUDIO" />
    127         <ctl name="LSM3 Port" value="SLIMBUS_5_TX" />
    128         <ctl name="LSM3 Mixer SLIMBUS_5_TX" value="1" />
    129     </path>
    130 
    131     <path name="listen-voice-wakeup-4">
    132         <ctl name="SLIMBUS_5_TX LSM Function" value="AUDIO" />
    133         <ctl name="LSM4 Port" value="SLIMBUS_5_TX" />
    134         <ctl name="LSM4 Mixer SLIMBUS_5_TX" value="1" />
    135     </path>
    136 
    137     <path name="listen-voice-wakeup-5">
    138         <ctl name="SLIMBUS_5_TX LSM Function" value="AUDIO" />
    139         <ctl name="LSM5 Port" value="SLIMBUS_5_TX" />
    140         <ctl name="LSM5 Mixer SLIMBUS_5_TX" value="1" />
    141     </path>
    142 
    143     <path name="listen-voice-wakeup-6">
    144         <ctl name="SLIMBUS_5_TX LSM Function" value="AUDIO" />
    145         <ctl name="LSM6 Port" value="SLIMBUS_5_TX" />
    146         <ctl name="LSM6 Mixer SLIMBUS_5_TX" value="1" />
    147     </path>
    148 
    149     <path name="listen-voice-wakeup-7">
    150         <ctl name="SLIMBUS_5_TX LSM Function" value="AUDIO" />
    151         <ctl name="LSM7 Port" value="SLIMBUS_5_TX" />
    152         <ctl name="LSM7 Mixer SLIMBUS_5_TX" value="1" />
    153     </path>
    154 
    155     <path name="listen-voice-wakeup-8">
    156         <ctl name="SLIMBUS_5_TX LSM Function" value="AUDIO" />
    157         <ctl name="LSM8 Port" value="SLIMBUS_5_TX" />
    158         <ctl name="LSM8 Mixer SLIMBUS_5_TX" value="1" />
    159     </path>
    160 
    161     <path name="listen-voice-wakeup-1 preproc">
    162         <ctl name="SLIMBUS_3_TX LSM Function" value="SWAUDIO" />
    163         <ctl name="LSM1 Mixer SLIMBUS_3_TX" value="1" />
    164     </path>
    165 
    166     <path name="listen-voice-wakeup-2 preproc">
    167         <ctl name="SLIMBUS_3_TX LSM Function" value="SWAUDIO" />
    168         <ctl name="LSM2 Mixer SLIMBUS_3_TX" value="1" />
    169     </path>
    170 
    171     <path name="listen-voice-wakeup-3 preproc">
    172         <ctl name="SLIMBUS_3_TX LSM Function" value="SWAUDIO" />
    173         <ctl name="LSM3 Mixer SLIMBUS_3_TX" value="1" />
    174     </path>
    175 
    176     <path name="listen-voice-wakeup-4 preproc">
    177         <ctl name="SLIMBUS_3_TX LSM Function" value="SWAUDIO" />
    178         <ctl name="LSM4 Mixer SLIMBUS_3_TX" value="1" />
    179     </path>
    180 
    181     <path name="listen-voice-wakeup-5 preproc">
    182         <ctl name="SLIMBUS_3_TX LSM Function" value="SWAUDIO" />
    183         <ctl name="LSM5 Mixer SLIMBUS_3_TX" value="1" />
    184     </path>
    185 
    186     <path name="listen-voice-wakeup-6 preproc">
    187         <ctl name="SLIMBUS_3_TX LSM Function" value="SWAUDIO" />
    188         <ctl name="LSM6 Mixer SLIMBUS_3_TX" value="1" />
    189     </path>
    190 
    191     <path name="listen-voice-wakeup-7 preproc">
    192         <ctl name="SLIMBUS_3_TX LSM Function" value="SWAUDIO" />
    193         <ctl name="LSM7 Mixer SLIMBUS_3_TX" value="1" />
    194     </path>
    195 
    196     <path name="listen-voice-wakeup-8 preproc">
    197         <ctl name="SLIMBUS_3_TX LSM Function" value="SWAUDIO" />
    198         <ctl name="LSM8 Mixer SLIMBUS_3_TX" value="1" />
    199     </path>
    200 
    201     <path name="listen-cpe-handset-mic">
    202         <ctl name="MAD Input" value="DMIC4" />
    203         <ctl name="MAD_SEL MUX" value="SPE" />
    204         <ctl name="MAD_INP MUX" value="MAD" />
    205         <ctl name="MAD_CPE1 Switch" value="1" />
    206     </path>
    207 
    208     <path name="listen-cpe-handset-dmic">
    209         <ctl name="CLK MODE" value="INTERNAL" />
    210         <ctl name="ADC MUX0" value="DMIC" />
    211         <ctl name="DMIC MUX0" value="DMIC4" />
    212         <ctl name="DEC0 Volume" value="84" />
    213         <ctl name="ADC MUX1" value="DMIC" />
    214         <ctl name="DMIC MUX1" value="DMIC0" /> <!-- fix if needed -->
    215         <ctl name="DEC1 Volume" value="84" />
    216         <ctl name="WDMA3 PORT0 MUX" value="DEC0" />
    217         <ctl name="WDMA3 PORT1 MUX" value="DEC1" />
    218         <ctl name="WDMA3 CH0 MUX" value="PORT_0" />
    219         <ctl name="WDMA3 CH1 MUX" value="PORT_1" />
    220         <ctl name="WDMA3_ON_OFF Switch" value="1" />
    221     </path>
    222 
    223     <path name="listen-cpe-headset-mic">
    224         <ctl name="MAD Input" value="ADC2" />
    225         <ctl name="MAD_SEL MUX" value="SPE" />
    226         <ctl name="MAD_INP MUX" value="MAD" />
    227         <ctl name="MAD_CPE1 Switch" value="1" />
    228     </path>
    229 
    230     <path name="listen-ape-handset-mic">
    231         <ctl name="MAD Input" value="DMIC4" />
    232         <ctl name="MAD_SEL MUX" value="MSM" />
    233         <ctl name="MAD_INP MUX" value="MAD" />
    234         <ctl name="MAD_BROADCAST Switch" value="1" />
    235         <ctl name="CDC_IF TX13 MUX" value="MAD_BRDCST" />
    236         <ctl name="AIF4_MAD Mixer SLIM TX13" value="1" />
    237     </path>
    238 
    239     <path name="listen-ape-handset-dmic">
    240         <ctl name="AIF2_CAP Mixer SLIM TX3" value="1" />
    241         <ctl name="AIF2_CAP Mixer SLIM TX4" value="1" />
    242         <ctl name="CDC_IF TX3 MUX" value="DEC3" />
    243         <ctl name="ADC MUX3" value="DMIC" />
    244         <ctl name="DMIC MUX3" value="DMIC4" />
    245         <ctl name="CDC_IF TX4 MUX" value="DEC4" />
    246         <ctl name="ADC MUX4" value="DMIC" />
    247         <ctl name="DMIC MUX4" value="DMIC3" /> <!-- DMIC3 is based off path dmic-endifre in audio-mixer paths -->
    248         <ctl name="SLIM_3_TX Channels" value="Two" />
    249         <ctl name="DEC3 Volume" value="84" />
    250         <ctl name="DEC4 Volume" value="84" />
    251     </path>
    252 
    253     <path name="echo-reference">
    254         <ctl name="AUDIO_REF_EC_UL1 MUX" value="QUAT_TDM_RX_0"/>
    255         <ctl name="EC Reference Channels" value="Two"/>
    256         <ctl name="EC Reference Bit Format" value="S16_LE"/>
    257         <ctl name="EC Reference SampleRate" value="48000"/>
    258     </path>
    259 
    260 </mixer>
    261