1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!-- Copyright (c) 2014, 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<!-- OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN -->
26<!-- IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.                          -->
27<audio_platform_info>
28    <acdb_ids>
29        <device name="SND_DEVICE_OUT_SPEAKER_PROTECTED" acdb_id="124"/>
30        <device name="SND_DEVICE_OUT_SPEAKER_AND_HEADPHONES" acdb_id="15"/>
31        <device name="SND_DEVICE_OUT_VOICE_HANDSET_TMUS" acdb_id="7"/>
32        <device name="SND_DEVICE_IN_VOICE_DMIC_TMUS" acdb_id="41"/>
33        <device name="SND_DEVICE_IN_BT_SCO_MIC_NREC" acdb_id="122"/>
34        <device name="SND_DEVICE_IN_BT_SCO_MIC_WB_NREC" acdb_id="123"/>
35        <device name="SND_DEVICE_IN_VOICE_REC_HEADSET_MIC" acdb_id="64"/>
36        <device name="SND_DEVICE_OUT_VOICE_SPEAKER" acdb_id="14"/>
37        <device name="SND_DEVICE_OUT_VOICE_HAC_HANDSET" acdb_id="238"/>
38        <device name="SND_DEVICE_OUT_SPEAKER_REVERSE" acdb_id="63"/>
39        <device name="SND_DEVICE_IN_UNPROCESSED_HEADSET_MIC" acdb_id="65"/>
40        <device name="SND_DEVICE_IN_UNPROCESSED_MIC" acdb_id="143"/>
41        <device name="SND_DEVICE_IN_UNPROCESSED_STEREO_MIC" acdb_id="144"/>
42        <device name="SND_DEVICE_IN_UNPROCESSED_THREE_MIC" acdb_id="145"/>
43        <device name="SND_DEVICE_IN_UNPROCESSED_QUAD_MIC" acdb_id="146"/>
44    </acdb_ids>
45
46    <backend_names>
47        <device name="SND_DEVICE_OUT_SPEAKER" backend="speaker" interface="QUAT_MI2S_RX"/>
48        <device name="SND_DEVICE_OUT_SPEAKER_REVERSE" backend="speaker" interface="QUAT_MI2S_RX"/>
49        <device name="SND_DEVICE_OUT_SPEAKER_SAFE" backend="speaker" interface="QUAT_MI2S_RX"/>
50        <device name="SND_DEVICE_OUT_HANDSET" backend="speaker" interface="QUAT_MI2S_RX"/>
51        <device name="SND_DEVICE_OUT_VOICE_SPEAKER" backend="speaker" interface="QUAT_MI2S_RX"/>
52        <device name="SND_DEVICE_OUT_VOICE_HANDSET" backend="speaker" interface="QUAT_MI2S_RX"/>
53        <device name="SND_DEVICE_OUT_VOICE_HANDSET_TMUS" backend="speaker" interface="QUAT_MI2S_RX"/>
54        <device name="SND_DEVICE_OUT_VOICE_HAC_HANDSET" backend="speaker" interface="QUAT_MI2S_RX"/>
55        <device name="SND_DEVICE_OUT_SPEAKER_AND_LINE" backend="speaker-and-headphones" interface="QUAT_MI2S_RX-and-SLIMBUS_0_RX"/>
56        <device name="SND_DEVICE_OUT_SPEAKER_SAFE_AND_LINE" backend="speaker-and-headphones" interface="QUAT_MI2S_RX-and-SLIMBUS_0_RX"/>
57        <device name="SND_DEVICE_OUT_SPEAKER_AND_HEADPHONES" backend="speaker-and-headphones" interface="QUAT_MI2S_RX-and-SLIMBUS_0_RX"/>
58        <device name="SND_DEVICE_OUT_SPEAKER_SAFE_AND_HEADPHONES" backend="speaker-and-headphones" interface="QUAT_MI2S_RX-and-SLIMBUS_0_RX"/>
59        <device name="SND_DEVICE_OUT_SPEAKER_AND_BT_SCO" backend="speaker-and-bt-sco" interface="QUAT_MI2S_RX-and-SEC_AUX_PCM_RX"/>
60        <device name="SND_DEVICE_OUT_SPEAKER_AND_BT_SCO_WB" backend="speaker-and-bt-sco-wb" interface="QUAT_MI2S_RX-and-SEC_AUX_PCM_RX"/>
61        <device name="SND_DEVICE_OUT_VOICE_TTY_HCO_HANDSET" backend="speaker" interface="QUAT_MI2S_RX"/>
62    </backend_names>
63
64    <config_params>
65        <!-- If sound card name is not known, remove this entry -->
66        <param key="snd_card_name" value="msm8994-tomtom-mtp-snd-card"/>
67        <param key="input_mic_max_count" value="3"/>
68    </config_params>
69
70</audio_platform_info>
71
72