summaryrefslogtreecommitdiff
path: root/sound/soc/omap/omap-abe.h
blob: bc33ad188182557a7d4a39c4d642770cf86f7232 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/*
 * omap-abe.h
 *
 * Copyright (C) 2010 Texas Instruments
 *
 * Contact: Liam Girdwood <lrg@slimlogic.co.uk>
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * version 2 as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
 * 02110-1301 USA
 *
 */

#ifndef __OMAP_ABE_H__
#define __OMAP_ABE_H__

#define ABE_FRONTEND_DAI_MEDIA		0
#define ABE_FRONTEND_DAI_MEDIA_CAPTURE	1
#define ABE_FRONTEND_DAI_VOICE		2
#define ABE_FRONTEND_DAI_TONES		3
#define ABE_FRONTEND_DAI_VIBRA		4
#define ABE_FRONTEND_DAI_MODEM		5
#define ABE_FRONTEND_DAI_LP_MEDIA		6

/* This must currently match the BE order in DSP */
#define OMAP_ABE_DAI_PDM_UL			0
#define OMAP_ABE_DAI_PDM_DL1			1
#define OMAP_ABE_DAI_PDM_DL2			2
#define OMAP_ABE_DAI_PDM_VIB			3
#define OMAP_ABE_DAI_BT_VX			4
#define OMAP_ABE_DAI_MM_FM			5
#define OMAP_ABE_DAI_MODEM			6
#define OMAP_ABE_DAI_DMIC0			7
#define OMAP_ABE_DAI_DMIC1			8
#define OMAP_ABE_DAI_DMIC2			9

#define OMAP_ABE_BE_PDM_DL1		"(Backend) PDM-DL1"
#define OMAP_ABE_BE_PDM_UL1		"(Backend) PDM-UL1"
#define OMAP_ABE_BE_PDM_DL2		"(Backend) PDM-DL2"
#define OMAP_ABE_BE_PDM_VIB		"(Backend) PDM-VIB"
#define OMAP_ABE_BE_BT_VX			"(Backend) BT-VX"
#define OMAP_ABE_BE_MM_EXT0		"(Backend) FM-EXT"
#define OMAP_ABE_BE_MM_EXT1		"(Backend) MODEM-EXT"
#define OMAP_ABE_BE_DMIC0		"(Backend) DMIC0"
#define OMAP_ABE_BE_DMIC1		"(Backend) DMIC1"
#define OMAP_ABE_BE_DMIC2		"(Backend) DMIC2"


#endif	/* End of __OMAP_MCPDM_H__ */